comparison 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
comparison
equal deleted inserted replaced
1100:77afafd23a1b 1101:2b3526ef2d69
33 void addCertificate(const Certificate &certificate, bool state, 33 void addCertificate(const Certificate &certificate, bool state,
34 bool editable = true, 34 bool editable = true,
35 const QString& installLabel = QString(), 35 const QString& installLabel = QString(),
36 const QString& removeLabel = QString()); 36 const QString& removeLabel = QString());
37 void removeCertificate(const Certificate &cert); 37 void removeCertificate(const Certificate &cert);
38 void activateCertificate(const Certificate &cert);
39 void deactivateCertificate(const Certificate &cert);
38 void setCertState(bool state, const Certificate &cert); 40 void setCertState(bool state, const Certificate &cert);
39 void clear(); 41 void clear();
40 QStringList certificates(); 42 QStringList certificates();
41 QStringList selectedCertificates(); 43 QStringList selectedCertificates();
42 QStringList unselectedCertificates(); 44 QStringList unselectedCertificates();
43 QList<Certificate> certificateList(); 45 QList<Certificate> certificateList();
44 int selectedCertCount(); 46 int selectedCertCount();
47 int activeCertificates();
45 bool contains(const Certificate &cert); 48 bool contains(const Certificate &cert);
46 49
47 private: 50 private:
48 51
49 QList <CertificateItemWidget*> mCertificateWidgets; 52 QList <CertificateItemWidget*> mCertificateWidgets;

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