aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--attachments.cpp6
-rw-r--r--gpgwin.cpp38
-rwxr-xr-xkeymgmt.cpp16
3 files changed, 30 insertions, 30 deletions
diff --git a/attachments.cpp b/attachments.cpp
index 3979698..5f78eec 100644
--- a/attachments.cpp
+++ b/attachments.cpp
@@ -60,17 +60,17 @@ void Attachments::contextMenuEvent(QContextMenuEvent *event)
void Attachments::createActions()
{
addFileAct = new QAction(tr("Add File"), this);
- addFileAct->setStatusTip(tr("Add a file"));
+ addFileAct->setToolTip(tr("Add a file"));
addFileAct->setIcon(QIcon(iconPath + "fileopen.png"));
connect(addFileAct, SIGNAL(triggered()), this, SLOT(addFile()));
encryptAct = new QAction(tr("Encrypt"), this);
- encryptAct->setStatusTip(tr("Encrypt marked File(s)"));
+ encryptAct->setToolTip(tr("Encrypt marked File(s)"));
encryptAct->setIcon(QIcon(iconPath + "encrypted.png"));
connect(encryptAct, SIGNAL(triggered()), this, SLOT(encryptFile()));
decryptAct = new QAction(tr("Decrypt"), this);
- decryptAct->setStatusTip(tr("Decrypt marked File(s)"));
+ decryptAct->setToolTip(tr("Decrypt marked File(s)"));
decryptAct->setIcon(QIcon(iconPath + "decrypted.png"));
connect(decryptAct, SIGNAL(triggered()), this, SLOT(decryptFile()));
}
diff --git a/gpgwin.cpp b/gpgwin.cpp
index d6bc3da..6516abf 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -64,30 +64,30 @@ void GpgWin::createActions()
openAct = new QAction(tr("&Open..."), this);
openAct->setIcon(QIcon(iconPath + "fileopen.png"));
openAct->setShortcut(tr("Ctrl+O"));
- openAct->setStatusTip(tr("Open an existing file"));
+ openAct->setToolTip(tr("Open an existing file"));
connect(openAct, SIGNAL(triggered()), this, SLOT(open()));
saveAct = new QAction(tr("&Save"), this);
saveAct->setIcon(QIcon(iconPath + "filesave.png"));
saveAct->setShortcut(tr("Ctrl+S"));
- saveAct->setStatusTip(tr("Save the current File"));
+ saveAct->setToolTip(tr("Save the current File"));
connect(saveAct, SIGNAL(triggered()), this, SLOT(save()));
saveAsAct = new QAction(tr("Save &As"), this);
saveAsAct->setIcon(QIcon(iconPath + "filesaveas.png"));
- saveAsAct->setStatusTip(tr("Save the current File as..."));
+ saveAsAct->setToolTip(tr("Save the current File as..."));
connect(saveAsAct, SIGNAL(triggered()), this, SLOT(saveAs()));
printAct = new QAction(tr("&Print"), this);
printAct->setIcon(QIcon(iconPath + "fileprint.png"));
printAct->setShortcut(tr("Ctrl+P"));
- printAct->setStatusTip(tr("Print Document"));
+ printAct->setToolTip(tr("Print Document"));
connect(printAct, SIGNAL(triggered()), this, SLOT(print()));
quitAct = new QAction(tr("&Quit"), this);
quitAct->setShortcut(tr("Ctrl+Q"));
quitAct->setIcon(QIcon(iconPath + "exit.png"));
- quitAct->setStatusTip(tr("Quit Program"));
+ quitAct->setToolTip(tr("Quit Program"));
connect(quitAct, SIGNAL(triggered()), this, SLOT(close()));
/** Edit Menu
@@ -95,27 +95,27 @@ void GpgWin::createActions()
pasteAct = new QAction(tr("&Paste"), this);
pasteAct->setIcon(QIcon(iconPath + "button_paste.png"));
pasteAct->setShortcut(tr("Ctrl+V"));
- pasteAct->setStatusTip(tr("Paste Text From Clipboard"));
+ pasteAct->setToolTip(tr("Paste Text From Clipboard"));
connect(pasteAct, SIGNAL(triggered()), edit, SLOT(paste()));
cutAct = new QAction(tr("Cu&t"), this);
cutAct->setIcon(QIcon(iconPath + "button_cut.png"));
cutAct->setShortcut(tr("Ctrl+X"));
- cutAct->setStatusTip(tr("Cut the current selection's contents to the "
+ cutAct->setToolTip(tr("Cut the current selection's contents to the "
"clipboard"));
connect(cutAct, SIGNAL(triggered()), edit, SLOT(cut()));
copyAct = new QAction(tr("&Copy"), this);
copyAct->setIcon(QIcon(iconPath + "button_copy.png"));
copyAct->setShortcut(tr("Ctrl+C"));
- copyAct->setStatusTip(tr("Copy the current selection's contents to the "
+ copyAct->setToolTip(tr("Copy the current selection's contents to the "
"clipboard"));
connect(copyAct, SIGNAL(triggered()), edit, SLOT(copy()));
selectallAct = new QAction(tr("Select &All"), this);
selectallAct->setIcon(QIcon(iconPath + "edit.png"));
selectallAct->setShortcut(tr("Ctrl+A"));
- selectallAct->setStatusTip(tr("Select the whole text"));
+ selectallAct->setToolTip(tr("Select the whole text"));
connect(selectallAct, SIGNAL(triggered()), edit, SLOT(selectAll()));
/** Crypt Menu
@@ -123,55 +123,55 @@ void GpgWin::createActions()
encryptAct = new QAction(tr("&Encrypt"), this);
encryptAct->setIcon(QIcon(iconPath + "encrypted.png"));
encryptAct->setShortcut(tr("Ctrl+E"));
- encryptAct->setStatusTip(tr("Encrypt Message"));
+ encryptAct->setToolTip(tr("Encrypt Message"));
connect(encryptAct, SIGNAL(triggered()), this, SLOT(encrypt()));
decryptAct = new QAction(tr("&Decrypt"), this);
decryptAct->setIcon(QIcon(iconPath + "decrypted.png"));
decryptAct->setShortcut(tr("Ctrl+D"));
- decryptAct->setStatusTip(tr("Decrypt Message"));
+ decryptAct->setToolTip(tr("Decrypt Message"));
connect(decryptAct, SIGNAL(triggered()), this, SLOT(decrypt()));
importKeyFromFileAct = new QAction(tr("&File"), this);
importKeyFromFileAct->setIcon(QIcon(iconPath + "misc_doc.png"));
- importKeyFromFileAct->setStatusTip(tr("Import New Key From File"));
+ importKeyFromFileAct->setToolTip(tr("Import New Key From File"));
connect(importKeyFromFileAct, SIGNAL(triggered()), this, SLOT(importKeyFromFile()));
importKeyFromEditAct = new QAction(tr("&Editor"), this);
importKeyFromEditAct->setIcon(QIcon(iconPath + "txt.png"));
- importKeyFromEditAct->setStatusTip(tr("Import New Key From Editor"));
+ importKeyFromEditAct->setToolTip(tr("Import New Key From Editor"));
connect(importKeyFromEditAct, SIGNAL(triggered()), this, SLOT(importKeyFromEdit()));
importKeyFromClipboardAct = new QAction(tr("&Clipboard"), this);
importKeyFromClipboardAct->setIcon(QIcon(iconPath + "button_paste.png"));
- importKeyFromClipboardAct->setStatusTip(tr("Import New Key From Clipboard"));
+ importKeyFromClipboardAct->setToolTip(tr("Import New Key From Clipboard"));
connect(importKeyFromClipboardAct, SIGNAL(triggered()), this, SLOT(importKeyFromClipboard()));
openKeyManagementAct = new QAction(tr("Key Management"), this);
openKeyManagementAct->setIcon(QIcon(iconPath + "importkey_editor.png"));
- openKeyManagementAct->setStatusTip(tr("Open Keymanagement"));
+ openKeyManagementAct->setToolTip(tr("Open Keymanagement"));
connect(openKeyManagementAct, SIGNAL(triggered()), this, SLOT(openKeyManagement()));
importKeyDialogAct = new QAction(tr("Import Key"), this);
importKeyDialogAct->setIcon(QIcon(iconPath + "key_import.png"));
- importKeyDialogAct->setStatusTip(tr("Open Import New Key Dialog"));
+ importKeyDialogAct->setToolTip(tr("Open Import New Key Dialog"));
connect(importKeyDialogAct, SIGNAL(triggered()), this, SLOT(importKeyDialog()));
/** About Menu
*/
aboutAct = new QAction(tr("&About"), this);
aboutAct->setIcon(QIcon(iconPath + "help.png"));
- aboutAct->setStatusTip(tr("Show the application's About box"));
+ aboutAct->setToolTip(tr("Show the application's About box"));
connect(aboutAct, SIGNAL(triggered()), this, SLOT(about()));
/** Popup-Menu-Action for KeyList
*/
deleteSelectedKeysAct = new QAction(tr("Delete Selected Key(s)"), this);
- deleteSelectedKeysAct->setStatusTip(tr("Delete The Selected Keys"));
+ deleteSelectedKeysAct->setToolTip(tr("Delete The Selected Keys"));
connect(deleteSelectedKeysAct, SIGNAL(triggered()), this, SLOT(deleteSelectedKeys()));
appendSelectedKeysAct = new QAction(tr("Append Selected Key(s) To Text"), this);
- appendSelectedKeysAct->setStatusTip(tr("Append The Selected Keys To Text in Editor"));
+ appendSelectedKeysAct->setToolTip(tr("Append The Selected Keys To Text in Editor"));
connect(appendSelectedKeysAct, SIGNAL(triggered()), this, SLOT(appendSelectedKeys()));
}
diff --git a/keymgmt.cpp b/keymgmt.cpp
index 8703f40..30e78b9 100755
--- a/keymgmt.cpp
+++ b/keymgmt.cpp
@@ -50,40 +50,40 @@ void KeyMgmt::createActions()
closeAct = new QAction(tr("&Close Key Management"), this);
closeAct->setShortcut(tr("Ctrl+Q"));
closeAct->setIcon(QIcon(mIconPath + "exit.png"));
- closeAct->setStatusTip(tr("Close Key Management"));
+ closeAct->setToolTip(tr("Close Key Management"));
connect(closeAct, SIGNAL(triggered()), this, SLOT(close()));
importKeyFromFileAct = new QAction(tr("Import Key From &File"), this);
importKeyFromFileAct->setIcon(QIcon(mIconPath + "import_key_from_file.png"));
- importKeyFromFileAct->setStatusTip(tr("Import New Key From File"));
+ importKeyFromFileAct->setToolTip(tr("Import New Key From File"));
connect(importKeyFromFileAct, SIGNAL(triggered()), this, SLOT(importKeyFromFile()));
importKeyFromClipboardAct = new QAction(tr("Import Key From &Clipboard"), this);
importKeyFromClipboardAct->setIcon(QIcon(mIconPath + "import_key_from_clipboard.png"));
- importKeyFromClipboardAct->setStatusTip(tr("Import New Key From Clipboard"));
+ importKeyFromClipboardAct->setToolTip(tr("Import New Key From Clipboard"));
connect(importKeyFromClipboardAct, SIGNAL(triggered()), this, SLOT(importKeyFromClipboard()));
exportKeyToClipboardAct = new QAction(tr("Export Key To &Clipboard"), this);
exportKeyToClipboardAct->setIcon(QIcon(mIconPath + "export_key_to_clipbaord.png"));
- exportKeyToClipboardAct->setStatusTip(tr("Export Selected Key(s) To Clipboard"));
+ exportKeyToClipboardAct->setv(tr("Export Selected Key(s) To Clipboard"));
connect(exportKeyToClipboardAct, SIGNAL(triggered()), this, SLOT(exportKeyToClipboard()));
exportKeyToFileAct = new QAction(tr("Export Key To &File"), this);
exportKeyToFileAct->setIcon(QIcon(mIconPath + "export_key_to_file.png"));
- exportKeyToFileAct->setStatusTip(tr("Export Selected Key(s) To File"));
+ exportKeyToFileAct->setToolTip(tr("Export Selected Key(s) To File"));
connect(exportKeyToFileAct, SIGNAL(triggered()), this, SLOT(exportKeyToFile()));
deleteSelectedKeysAct = new QAction(tr("Delete Selected Key(s)"), this);
- deleteSelectedKeysAct->setStatusTip(tr("Delete the Selected keys"));
+ deleteSelectedKeysAct->setToolTip(tr("Delete the Selected keys"));
connect(deleteSelectedKeysAct, SIGNAL(triggered()), this, SLOT(deleteSelectedKeys()));
deleteCheckedKeysAct = new QAction(tr("Delete Checked Key(s)"), this);
- deleteCheckedKeysAct->setStatusTip(tr("Delete the Checked keys"));
+ deleteCheckedKeysAct->setToolTip(tr("Delete the Checked keys"));
deleteCheckedKeysAct->setIcon(QIcon(mIconPath + "button_cancel.png"));
connect(deleteCheckedKeysAct, SIGNAL(triggered()), this, SLOT(deleteCheckedKeys()));
generateKeyDialogAct = new QAction(tr("Generate Key"), this);
- generateKeyDialogAct->setStatusTip(tr("Generate New Key"));
+ generateKeyDialogAct->setToolTip(tr("Generate New Key"));
generateKeyDialogAct->setIcon(QIcon(mIconPath + "key_generate.png"));
connect(generateKeyDialogAct, SIGNAL(triggered()), this, SLOT(generateKeyDialog()));
}