Mercurial > trustbridge
comparison ui/certificatelistwidget.h @ 687:973a7ce19658
(issue24) Let the string for install / remove be set for each item individually
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 01 Jul 2014 12:49:19 +0200 |
parents | 39f03316f675 |
children | 3d669400104a |
comparison
equal
deleted
inserted
replaced
686:a2e94e88d304 | 687:973a7ce19658 |
---|---|
25 { | 25 { |
26 Q_OBJECT | 26 Q_OBJECT |
27 public: | 27 public: |
28 CertificateListWidget(QWidget *parent, Qt::WindowFlags flags = 0); | 28 CertificateListWidget(QWidget *parent, Qt::WindowFlags flags = 0); |
29 | 29 |
30 void addCertificate(const Certificate &certificate, bool state, bool editable = true); | 30 void addCertificate(const Certificate &certificate, bool state, |
31 bool editable = true, | |
32 const QString& installLabel = tr("install"), | |
33 const QString& removeLabel = tr("remove")); | |
31 void addCertificates(const QList<Certificate> &list); | 34 void addCertificates(const QList<Certificate> &list); |
32 void removeCertificate(const Certificate &cert); | 35 void removeCertificate(const Certificate &cert); |
33 void setCertState(bool state, const Certificate &cert); | 36 void setCertState(bool state, const Certificate &cert); |
34 void clear(); | 37 void clear(); |
35 QStringList certificates(); | 38 QStringList certificates(); |