X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuimessageprocessor.h;h=553d580098979a9aaf3c235b7b0b9c93ada1705b;hp=53d4f0216db090f38a67a817187d68b2d6b25a6f;hb=0d3d7a861472313710b51c8d19e81af56e2208a1;hpb=31253a98ef87edb8f87ff53270529ed4f7659612 diff --git a/src/qtui/qtuimessageprocessor.h b/src/qtui/qtuimessageprocessor.h index 53d4f021..553d5800 100644 --- a/src/qtui/qtuimessageprocessor.h +++ b/src/qtui/qtuimessageprocessor.h @@ -21,6 +21,7 @@ #ifndef QTUIMESSAGEPROCESSOR_H_ #define QTUIMESSAGEPROCESSOR_H_ +#include #include #include "abstractmessageprocessor.h" @@ -51,12 +52,15 @@ class QtUiMessageProcessor : public AbstractMessageProcessor { 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; }; #endif