comparison ui/certificatelistwidget.h @ 1011:9c4543128666

(issue94) Move install / remove labels into ctor and translate them.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 02 Sep 2014 14:43:48 +0200
parents a467204a35f5
children 2b3526ef2d69
comparison
equal deleted inserted replaced
1009:c1f32c87716a 1011:9c4543128666
30 public: 30 public:
31 CertificateListWidget(QWidget *parent, Qt::WindowFlags flags = 0); 31 CertificateListWidget(QWidget *parent, Qt::WindowFlags flags = 0);
32 32
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 = tr("install"), 35 const QString& installLabel = QString(),
36 const QString& removeLabel = tr("remove")); 36 const QString& removeLabel = QString());
37 void removeCertificate(const Certificate &cert); 37 void removeCertificate(const Certificate &cert);
38 void setCertState(bool state, const Certificate &cert); 38 void setCertState(bool state, const Certificate &cert);
39 void clear(); 39 void clear();
40 QStringList certificates(); 40 QStringList certificates();
41 QStringList selectedCertificates(); 41 QStringList selectedCertificates();

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