qtui: Hide "fallback" and "Override" if no system theme is configured
[quassel.git] / src / qtui / mainwin.h
index aa8aa94..e5b6ba2 100644 (file)
@@ -50,8 +50,9 @@ class NickListWidget;
 class SystemTray;
 class TopicWidget;
 
-class QMenu;
 class QLabel;
+class QMenu;
+class QMessageBox;
 class QToolBar;
 
 class KHelpMenu;
@@ -97,6 +98,8 @@ public slots:
     void nextBuffer();
     void previousBuffer();
 
+    void showMigrationWarning(bool show);
+
     //! Quit application
     void quit();
 
@@ -132,6 +135,8 @@ private slots:
     void showNewTransferDlg(const QUuid &transferId);
     void onFullScreenToggled();
 
+    void doAutoConnect();
+
     void handleCoreConnectionError(const QString &errorMsg);
     void userAuthenticationRequired(CoreAccount *, bool *valid, const QString &errorMessage);
     void handleNoSslInClient(bool *accepted);
@@ -261,6 +266,8 @@ private:
 
     QWidget *_awayLog;
 
+    QMessageBox* _migrationWarning{nullptr};
+
     bool _layoutLoaded;
 
     QSize _normalSize; //!< Size of the non-maximized window