- QList<QList<Message> > _processQueue;
- QList<Message> _currentBatch;
- QTimer _processTimer;
- bool _processing;
- Mode _processMode;
- int _msgsProcessed, _msgCount;
- QTime _progressTimer;
+ QList<QList<Message> > _processQueue;
+ QList<Message> _currentBatch;
+ QTimer _processTimer;
+ bool _processing;
+ Mode _processMode;
+ int _msgsProcessed, _msgCount;
+ QTime _progressTimer;
+
+ struct HighlightRule {
+ QString name;
+ bool isEnabled;
+ Qt::CaseSensitivity caseSensitive;
+ bool isRegExp;
+ inline HighlightRule(const QString &name, bool enabled, Qt::CaseSensitivity cs, bool regExp) : name(name), isEnabled(enabled), caseSensitive(cs), isRegExp(regExp) {}
+ };
+
+ QList<HighlightRule> _highlightRules;
+ NotificationSettings::HighlightNickType _highlightNick;