Mercurial > trustbridge
diff ui/certificatelistwidget.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 | c1b35edb097f |
line wrap: on
line diff
--- a/ui/certificatelistwidget.h Tue May 27 16:25:33 2014 +0200 +++ b/ui/certificatelistwidget.h Mon Jun 23 12:46:53 2014 +0200 @@ -30,7 +30,9 @@ void addCertificate(const Certificate &certificate); void addCertificates(const QList<Certificate> &list); void removeCertificate(int ndx); - QList<Certificate> getCertificates(); + void clear(); + QStringList certificates(); + int selectedCertCount(); private: void setupGUI(); @@ -46,6 +48,10 @@ private slots: void updateDetails(QListWidgetItem *item); + void certStateChanged(bool state, const Certificate &cert); + +signals: + void certListChanged(int selected); }; #endif // CERTIFICATELISTWIDGET_H