diff ui/mainwindow.h @ 1252:9a482182f80f

(issue54) Monitor update installation and restart afterwards on Linux
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 25 Sep 2014 15:57:25 +0200
parents dc1941e04373
children 2a1aa9df8f11
line wrap: on
line diff
--- a/ui/mainwindow.h	Thu Sep 25 15:56:37 2014 +0200
+++ b/ui/mainwindow.h	Thu Sep 25 15:57:25 2014 +0200
@@ -22,6 +22,7 @@
 #include <QLabel>
 #include <QCheckBox>
 #include <QScrollArea>
+#include <QProcess>
 
 #include "downloader.h"
 #include "certificatelist.h"
@@ -119,6 +120,8 @@
     void toggleInManual(bool state, const Certificate &cert);
     /** @brief Remove a certificate from the manual list. */
     void removeFromManual(bool state, const Certificate &cert);
+    /** @brief Restart the application */
+    void updaterFinished(int exitCode, QProcess::ExitStatus status);
 
     void togglePages(int button);
     void toggleUpdatesNew();

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