Mercurial > trustbridge
comparison ui/certificateitemwidget.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 | 31c3d2bc9880 |
children | 78798d3af8f0 |
comparison
equal
deleted
inserted
replaced
1009:c1f32c87716a | 1011:9c4543128666 |
---|---|
36 CertificateItemWidget( | 36 CertificateItemWidget( |
37 QWidget *parent = 0, | 37 QWidget *parent = 0, |
38 const Certificate &cert = Certificate(), | 38 const Certificate &cert = Certificate(), |
39 bool state = false, | 39 bool state = false, |
40 bool editable = true, | 40 bool editable = true, |
41 const QString& installLabel = tr("install"), | 41 const QString& installLabel = QString(), |
42 const QString& removeLabel = tr("remove")); | 42 const QString& removeLabel = QString()); |
43 | 43 |
44 bool state(); | 44 bool state(); |
45 void setState(bool state); | 45 void setState(bool state); |
46 Certificate certificate(); | 46 Certificate certificate(); |
47 | 47 |