Prevent the core from restoring its state if it is unconfigured.
[quassel.git] / src / qtui / mainwin.h
index 12c639f..0e915cf 100644 (file)
@@ -52,6 +52,7 @@ class MainWin : public QMainWindow {
 
   protected:
     void closeEvent(QCloseEvent *event);
+    virtual void changeEvent(QEvent *event);
     virtual void keyPressEvent(QKeyEvent *event);
 
   protected slots:
@@ -60,9 +61,9 @@ class MainWin : public QMainWindow {
     void systrayActivated( QSystemTrayIcon::ActivationReason );
 
   private slots:
-
     void showSettingsDlg();
     void showNetworkDlg();
+    void showAboutDlg();
     void showDebugConsole();
 
     void showCoreConnectionDlg(bool autoConnect = false);
@@ -94,6 +95,8 @@ class MainWin : public QMainWindow {
 
     void setupSettingsDlg();
 
+    void toggleVisibility();
+
     void enableMenus();
 
     void bindKey(int key);