Add MessageProcessor progress widget to MainWin's status bar
[quassel.git] / src / qtui / mainwin.h
index 1eae4bc..8cffe8b 100644 (file)
@@ -34,6 +34,7 @@ class ChannelListDlg;
 class CoreConnectDlg;
 class Buffer;
 class BufferViewConfig;
+class MsgProcessorStatusWidget;
 class SettingsDlg;
 class QtUi;
 class Message;
@@ -82,7 +83,7 @@ class MainWin : public QMainWindow {
   private slots:
     void addBufferView(int bufferViewConfigId);
     void removeBufferView(int bufferViewConfigId);
-    void receiveMessage(const Message &msg);
+    void messagesInserted(const QModelIndex &parent, int start, int end);
     void showChannelList(NetworkId netId = NetworkId());
     void showCoreInfoDlg();
     void showSettingsDlg();
@@ -91,6 +92,7 @@ class MainWin : public QMainWindow {
     void on_actionLockDockPositions_toggled(bool lock);
     void showAboutDlg();
     void showDebugConsole();
+    void on_actionDebugNetworkModel_triggered(bool);
 
     void showCoreConnectionDlg(bool autoConnect = false);
     void coreConnectionDlgFinished(int result);
@@ -124,6 +126,7 @@ class MainWin : public QMainWindow {
     QMenu *systrayMenu;
     QLabel *coreLagLabel;
     QLabel *sslLabel;
+    MsgProcessorStatusWidget *msgProcessorStatusWidget;
 
     TitleSetter _titleSetter;