diff options
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r-- | verifynotification.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp index 6943391..25b3f0a 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -29,14 +29,14 @@ VerifyNotification::VerifyNotification(QWidget *parent, GpgME::GpgContext *ctx, mTextpage = edit; verifyLabel = new QLabel(this); - connect(mCtx, SIGNAL(keyDBChanged()), this, SLOT(refresh())); + connect(mCtx, SIGNAL(keyDBChanged()), this, SLOT(slotRefresh())); connect(edit, SIGNAL(textChanged()), this, SLOT(close())); importFromKeyserverAct = new QAction(tr("Import missing key from Keyserver"), this); - connect(importFromKeyserverAct, SIGNAL(triggered()), this, SLOT(importFromKeyserver())); + connect(importFromKeyserverAct, SIGNAL(triggered()), this, SLOT(slotImportFromKeyserver())); showVerifyDetailsAct = new QAction(tr("Show detailed verify information"), this); - connect(showVerifyDetailsAct, SIGNAL(triggered()), this, SLOT(showVerifyDetails())); + connect(showVerifyDetailsAct, SIGNAL(triggered()), this, SLOT(slotShowVerifyDetails())); detailMenu = new QMenu(this); detailMenu->addAction(showVerifyDetailsAct); @@ -53,7 +53,7 @@ VerifyNotification::VerifyNotification(QWidget *parent, GpgME::GpgContext *ctx, this->setLayout(notificationWidgetLayout); } -void VerifyNotification::importFromKeyserver() +void VerifyNotification::slotImportFromKeyserver() { KeyServerImportDialog *importDialog =new KeyServerImportDialog(mCtx,mKeyList, this); importDialog->slotImport(*keysNotInList); @@ -85,14 +85,14 @@ void VerifyNotification::showImportAction(bool visible) importFromKeyserverAct->setVisible(visible); } -void VerifyNotification::showVerifyDetails() +void VerifyNotification::slotShowVerifyDetails() { //QByteArray text = mTextpage->toPlainText().toUtf8(); //mCtx->preventNoDataErr(&text); new VerifyDetailsDialog(this, mCtx, mKeyList, mTextpage->toPlainText()); } -bool VerifyNotification::refresh() +bool VerifyNotification::slotRefresh() { verify_label_status verifyStatus=VERIFY_ERROR_OK; |