X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtuimessageprocessor.h;h=3073c7bfbb325ab285e25d04ea251afad52086a1;hb=7a413a4808e9357e7d2c69840efe913b4c4ab0a3;hp=64ae5a0583809660d3b321c48b169de6c9fbea5a;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c;p=quassel.git diff --git a/src/qtui/qtuimessageprocessor.h b/src/qtui/qtuimessageprocessor.h index 64ae5a05..3073c7bf 100644 --- a/src/qtui/qtuimessageprocessor.h +++ b/src/qtui/qtuimessageprocessor.h @@ -55,23 +55,21 @@ private slots: private: void checkForHighlight(Message &msg); void startProcessing(); - void updateProgress(bool start = false); QList > _processQueue; QList _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) {} + QString chanName; + inline HighlightRule(const QString &name, bool enabled, Qt::CaseSensitivity cs, bool regExp, const QString &chanName) + : name(name), isEnabled(enabled), caseSensitive(cs), isRegExp(regExp), chanName(chanName) {} }; QList _highlightRules;