X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.h;h=bc4ba1ee29e8deb6fc47674e3ddcf6c48ec4618f;hp=966ee0ca70828d7e11fa73a1053f3a92d7f5f430;hb=f8c55c528ed7e5e1fd0090b4bbd6ef30d9c0f251;hpb=cba75e911d78fd3250b25c94e4ad1aa1c4207ecf diff --git a/src/qtui/mainwin.h b/src/qtui/mainwin.h index 966ee0ca..bc4ba1ee 100644 --- a/src/qtui/mainwin.h +++ b/src/qtui/mainwin.h @@ -42,6 +42,7 @@ class BufferHotListFilter; class BufferView; class BufferViewConfig; class ClientBufferViewConfig; +class CoreAccount; class CoreConnectionStatusWidget; class BufferViewDock; class BufferWidget; @@ -106,7 +107,6 @@ class MainWin protected slots: void connectedToCore(); void setConnectedState(); - void updateLagIndicator(int lag = -1); void disconnectedFromCore(); void setDisconnectedState(); @@ -118,7 +118,8 @@ class MainWin void messagesInserted(const QModelIndex &parent, int start, int end); void showAboutDlg(); void showChannelList(NetworkId netId = NetworkId()); - void startInternalCore(); + void showCoreConnectionDlg(); + void showCoreConfigWizard(const QVariantList &); void showCoreInfoDlg(); void showAwayLog(); void showSettingsDlg(); @@ -127,6 +128,14 @@ class MainWin #ifdef HAVE_KDE void showShortcutsDlg(); #endif + void handleCoreConnectionError(const QString &errorMsg); + void userAuthenticationRequired(CoreAccount *, bool *valid, const QString &errorMessage); + void handleNoSslInClient(bool *accepted); + void handleNoSslInCore(bool *accepted); +#ifdef HAVE_SSL + void handleSslErrors(const QSslSocket *socket, bool *accepted, bool *permanently); +#endif + void on_actionConfigureNetworks_triggered(); void on_actionConfigureViews_triggered(); void on_actionLockLayout_toggled(bool lock); @@ -159,8 +168,6 @@ class MainWin KHelpMenu *_kHelpMenu; #endif - QLabel *coreLagLabel; - QLabel *sslLabel; MsgProcessorStatusWidget *_msgProcessorStatusWidget; CoreConnectionStatusWidget *_coreConnectionStatusWidget;