X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuimessageprocessor.h;h=3073c7bfbb325ab285e25d04ea251afad52086a1;hp=57ed9bcc5ea1b1537ebaaf8ae50b5ee8a1aa5c58;hb=7a413a4808e9357e7d2c69840efe913b4c4ab0a3;hpb=c06d3ebf3abc0f098d6262e9bd9dd98d90edc136 diff --git a/src/qtui/qtuimessageprocessor.h b/src/qtui/qtuimessageprocessor.h index 57ed9bcc..3073c7bf 100644 --- a/src/qtui/qtuimessageprocessor.h +++ b/src/qtui/qtuimessageprocessor.h @@ -1,5 +1,5 @@ /*************************************************************************** -* Copyright (C) 2005-08 by the Quassel Project * +* Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -48,32 +48,33 @@ public slots: private slots: void processNextMessage(); + void nicksCaseSensitiveChanged(const QVariant &variant); void highlightListChanged(const QVariant &variant); void highlightNickChanged(const QVariant &variant); 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; NotificationSettings::HighlightNickType _highlightNick; + bool _nicksCaseSensitive; }; #endif