diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-03 20:41:20 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-03 20:41:20 +0000 |
commit | 1ea5614e3b20a40b8764a98c10a7a0c7538035d5 (patch) | |
tree | b8553bdaa92a94a068430f4b3173425ca1eb753d /mainwindow.cpp | |
parent | fix crash on decrypt with no data (diff) | |
download | gpg4usb-1ea5614e3b20a40b8764a98c10a7a0c7538035d5.tar.gz gpg4usb-1ea5614e3b20a40b8764a98c10a7a0c7538035d5.zip |
show message in statusbar of mainwindow when key is exported to file in keymanagement
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@722 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index d8f78c4..97cab33 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -41,9 +41,8 @@ MainWindow::MainWindow() /* List of binary Attachments */ attachmentDockCreated = false; - keyMgmt = new KeyMgmt(mCtx, iconPath); + keyMgmt = new KeyMgmt(mCtx, iconPath, this); keyMgmt->hide(); - /* test attachmentdir for files alll 15s */ QTimer *timer = new QTimer(this); connect(timer, SIGNAL(timeout()), this, SLOT(checkAttachmentFolder())); @@ -617,18 +616,25 @@ void MainWindow::about() dialog->exec(); } -void MainWindow::openTranslate() { +void MainWindow::openTranslate() +{ QDesktopServices::openUrl(QUrl("http://gpg4usb.cpunk.de/docu_translate.html")); } -void MainWindow::openTutorial() { +void MainWindow::openTutorial() +{ QDesktopServices::openUrl(QUrl("http://gpg4usb.cpunk.de/docu.html")); } -void MainWindow::openHelp() { +void MainWindow::openHelp() +{ edit->newHelpTab("help", qApp->applicationDirPath() + "/help/docu.html"); } +void MainWindow::setStatusBarText(QString text) +{ + statusBar()->showMessage(text,20000); +} void MainWindow::startWizard() { |