diff ui/mainwindow.h @ 640:626507197360 trustbridge-refactor

Updated mainwindow and handle certificate lists.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 24 Jun 2014 17:07:49 +0200
parents 3a9c0f38bbad
children a7c3ab273d41
line wrap: on
line diff
--- a/ui/mainwindow.h	Tue Jun 24 17:03:59 2014 +0200
+++ b/ui/mainwindow.h	Tue Jun 24 17:07:49 2014 +0200
@@ -78,6 +78,8 @@
     void installerError(const QString& errMsg);
     void installerSuccess();
     void installCerts();
+    void toggleInManual(bool state, const Certificate &cert);
+    void removeFromManual(bool state, const Certificate &cert);
 
     void saveAutoUpdate(int state);
     void saveAutoStart(int state);
@@ -117,7 +119,7 @@
      *
      * Returns false on error.
      */
-    bool saveUnselectedCertificates();
+    bool saveUnselectedCertificates(QStringList unselected);
 
     /** @brief loads previously unselected certificates from settings
      *
@@ -243,6 +245,9 @@
     CertificateListWidget *mUpdatesManual;
     CertificateListWidget *mInstallList;
     CertificateListWidget *mRemoveList;
+    int mUpdatesNewSize;
+    int mUpdatesRemoveSize;
+    int mUpdatesManualSize;
 };
 
 #endif // MAINWINDOW_H

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