X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.h;h=d14a7c633d0a210628830f2371ea63097201909f;hb=e472996a053e11d21ffef4a30f7d37461239cdab;hp=63c0ca06134982f47d5275ec186deffe81691137;hpb=b856748999df4fdf3092afca52bc584fa07a2cc1;p=quassel.git diff --git a/src/qtui/mainwin.h b/src/qtui/mainwin.h index 63c0ca06..d14a7c63 100644 --- a/src/qtui/mainwin.h +++ b/src/qtui/mainwin.h @@ -42,6 +42,8 @@ class BufferHotListFilter; class BufferView; class BufferViewConfig; class ClientBufferViewConfig; +class CoreAccount; +class CoreConnectionStatusWidget; class BufferViewDock; class BufferWidget; class InputWidget; @@ -73,6 +75,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 +115,18 @@ 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 userAuthenticationRequired(CoreAccount *, bool *valid, const QString &errorMessage); + void showCoreConnectionDlg(); void showCoreInfoDlg(); void showAwayLog(); void showSettingsDlg(); void showNotificationsDlg(); + void showIgnoreList(QString newRule = QString()); #ifdef HAVE_KDE void showShortcutsDlg(); #endif @@ -157,7 +164,8 @@ class MainWin QLabel *coreLagLabel; QLabel *sslLabel; - MsgProcessorStatusWidget *msgProcessorStatusWidget; + MsgProcessorStatusWidget *_msgProcessorStatusWidget; + CoreConnectionStatusWidget *_coreConnectionStatusWidget; TitleSetter _titleSetter; @@ -192,6 +200,8 @@ class MainWin QWidget *_awayLog; + bool _layoutLoaded; + QSize _normalSize; //!< Size of the non-maximized window QPoint _normalPos; //!< Position of the non-maximized window