diff ui/certificateitemwidget.h @ 627:566ee111e331 trustbridge-refactor

Added state to certificate list item and updated certificate list widget.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 23 Jun 2014 12:46:53 +0200
parents 88c9bdc74175
children 9d806f140bd5
line wrap: on
line diff
--- a/ui/certificateitemwidget.h	Tue May 27 16:25:33 2014 +0200
+++ b/ui/certificateitemwidget.h	Mon Jun 23 12:46:53 2014 +0200
@@ -20,15 +20,24 @@
 
 class CertificateItemWidget : public QWidget
 {
-
+Q_OBJECT
 public:
     CertificateItemWidget(QWidget *parent = 0, const Certificate &cert = Certificate());
 
+    bool state();
+    Certificate certificate();
+
 private:
     void setupGUI();
 
     Certificate mCertificate;
     QLabel *mLabel;
     QComboBox *mComboBox;
+
+private slots:
+    void currentStateChanged(int ndx);
+
+signals:
+    void stateChanged(bool state, const Certificate &cert);
 };
 #endif

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