diff ui/mainwindow.h @ 461:1ce835c40eb7

Ask the user if software updates should be installed.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Apr 2014 16:37:17 +0200
parents 37a97621b466
children 9be337ea1e3c
line wrap: on
line diff
--- a/ui/mainwindow.h	Wed Apr 23 16:34:41 2014 +0200
+++ b/ui/mainwindow.h	Wed Apr 23 16:37:17 2014 +0200
@@ -63,7 +63,7 @@
 private slots:
     void showMessage();
     void iconActivated(QSystemTrayIcon::ActivationReason reason);
-    void checkUpdates();
+    void checkUpdates(bool downloadSW = false);
     void handleNewList(const QString& fileName, const QDateTime& modDate);
     void handleNewSW(const QString& fileName, const QDateTime& modDate);
     void downloaderError(const QString &message, SSLConnection::ErrorCode error);
@@ -78,6 +78,7 @@
     void installerError(const QString& errMsg);
     void installerSuccess();
     void installCerts();
+    void newSWAvailable(const QString& fileName, const QDateTime& modDate);
 
     /** @brief saves the currently unselected certificates
      *

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