diff ui/certificatelistwidget.h @ 1101:2b3526ef2d69

(issue111) Keep manually changed certificates in the manually changed list. This invents the new property "active certificate" an inactive certificate is a certificate that is displayed but has no impact on the store.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 15 Sep 2014 13:55:47 +0200
parents 9c4543128666
children 6f7b7d88f048
line wrap: on
line diff
--- a/ui/certificatelistwidget.h	Mon Sep 15 12:50:26 2014 +0200
+++ b/ui/certificatelistwidget.h	Mon Sep 15 13:55:47 2014 +0200
@@ -35,6 +35,8 @@
                         const QString& installLabel = QString(),
                         const QString& removeLabel = QString());
     void removeCertificate(const Certificate &cert);
+    void activateCertificate(const Certificate &cert);
+    void deactivateCertificate(const Certificate &cert);
     void setCertState(bool state, const Certificate &cert);
     void clear();
     QStringList certificates();
@@ -42,6 +44,7 @@
     QStringList unselectedCertificates();
     QList<Certificate> certificateList();
     int selectedCertCount();
+    int activeCertificates();
     bool contains(const Certificate &cert);
 
 private:

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