diff ui/mainwindow.h @ 559:dd8a295d5b4d

Add framework for mainwindow testing
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 22 May 2014 10:20:45 +0000
parents 15121735805e
children aee3eb10bbba
line wrap: on
line diff
--- a/ui/mainwindow.h	Thu May 22 10:19:54 2014 +0000
+++ b/ui/mainwindow.h	Thu May 22 10:20:45 2014 +0000
@@ -78,12 +78,6 @@
     void installerSuccess();
     void installCerts();
 
-    /* @brief Execute the file fileName to install the softwareupdate.
-     *
-     * Once the installer process is started this function terminates
-     * the application. */
-    void installNewSW(const QString& fileName, const QDateTime& modDate);
-
     void saveAutoUpdate(int state);
     void saveAutoStart(int state);
 
@@ -126,8 +120,19 @@
      */
     void loadUnselectedCertificates();
 
+protected slots:
+    /** @brief cleanup and close the main window
+     *
+     * Perform a clean exit (saving state etc.) and close
+     * the application */
     void closeApp();
 
+    /* @brief Execute the file fileName to install the softwareupdate.
+     *
+     * Once the installer process is started this function terminates
+     * the application. */
+    void installNewSW(const QString& fileName, const QDateTime& modDate);
+
 private:
     /** @brief check the integrity of available files.
      *

http://wald.intevation.org/projects/trustbridge/