diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-07-26 01:41:06 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-07-26 01:41:06 +0000 |
commit | 9bcd46bc010b64f2bff14463db3c4c0e82ff693b (patch) | |
tree | 358bde0b5402723d16cdc43d162bef462ce1586e /verifynotification.cpp | |
parent | added isCompletelySigned function (diff) | |
download | gpg4usb-9bcd46bc010b64f2bff14463db3c4c0e82ff693b.tar.gz gpg4usb-9bcd46bc010b64f2bff14463db3c4c0e82ff693b.zip |
changed bool iscompletlysigned to int issigned and added setverifylabel to verifynotification-class
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@505 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r-- | verifynotification.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp index 0c42fdf..2de1a2a 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -3,7 +3,7 @@ VerifyNotification::VerifyNotification(QWidget *parent) : QWidget(parent) { - QLabel *verifyLabel = new QLabel("Verified"); + verifyLabel = new QLabel("Verified"); QHBoxLayout *notificationWidgetLayout = new QHBoxLayout(); notificationWidgetLayout->setContentsMargins(0,0,0,0); @@ -25,6 +25,10 @@ VerifyNotification::VerifyNotification(QWidget *parent) : verifyButton->setMenu(verifyMenu); notificationWidgetLayout->addStretch(1); notificationWidgetLayout->addWidget(verifyButton); +} - +void VerifyNotification::setVerifyLabel(QString text) +{ + verifyLabel->setText(text); + return; } |