X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.h;h=7379f964c2b5f328007a7fca4f3ac6d26d985f51;hp=dd0459c56ef90b5c80b43aec48adb8cd9a1eaab2;hb=6bcfaf51a90b3ec38cf8602cefd8aa8971d01586;hpb=8c16bc6817aac177791686ac1a5ad8ee2d93410c diff --git a/src/qtui/mainwin.h b/src/qtui/mainwin.h index dd0459c5..7379f964 100644 --- a/src/qtui/mainwin.h +++ b/src/qtui/mainwin.h @@ -73,6 +73,8 @@ class MainWin void addBufferView(ClientBufferViewConfig *config); BufferView *allBuffersView() const; + BufferWidget *bufferWidget() const { return _bufferWidget; } + inline SystemTray *systemTray() const; bool event(QEvent *event); @@ -111,15 +113,16 @@ class MainWin void addBufferView(int bufferViewConfigId); void awayLogDestroyed(); void removeBufferView(int bufferViewConfigId); + void currentBufferChanged(BufferId); void messagesInserted(const QModelIndex &parent, int start, int end); void showAboutDlg(); void showChannelList(NetworkId netId = NetworkId()); void startInternalCore(); - void showCoreConnectionDlg(bool autoConnect = false); void showCoreInfoDlg(); void showAwayLog(); void showSettingsDlg(); void showNotificationsDlg(); + void showIgnoreList(QString newRule = QString()); #ifdef HAVE_KDE void showShortcutsDlg(); #endif @@ -138,6 +141,7 @@ class MainWin void clientNetworkUpdated(); void connectOrDisconnectFromNet(); + void saveMenuBarStatus(bool enabled); void saveStatusBarStatus(bool enabled); void loadLayout(); @@ -191,6 +195,8 @@ class MainWin QWidget *_awayLog; + bool _layoutLoaded; + QSize _normalSize; //!< Size of the non-maximized window QPoint _normalPos; //!< Position of the non-maximized window