Mercurial > trustbridge
diff 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 |
line wrap: on
line diff
--- a/ui/certificatelistwidget.h Tue Jul 01 12:14:10 2014 +0200 +++ b/ui/certificatelistwidget.h Tue Jul 01 12:49:19 2014 +0200 @@ -27,7 +27,10 @@ public: CertificateListWidget(QWidget *parent, Qt::WindowFlags flags = 0); - void addCertificate(const Certificate &certificate, bool state, bool editable = true); + void addCertificate(const Certificate &certificate, bool state, + bool editable = true, + const QString& installLabel = tr("install"), + const QString& removeLabel = tr("remove")); void addCertificates(const QList<Certificate> &list); void removeCertificate(const Certificate &cert); void setCertState(bool state, const Certificate &cert);