diff options
Diffstat (limited to 'fileencryptiondialog.cpp')
-rwxr-xr-x | fileencryptiondialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/fileencryptiondialog.cpp b/fileencryptiondialog.cpp index ded8335..2e3a844 100755 --- a/fileencryptiondialog.cpp +++ b/fileencryptiondialog.cpp @@ -40,7 +40,7 @@ FileEncryptionDialog::FileEncryptionDialog(GpgME::GpgContext *ctx, QStringList k setModal(true); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); - connect(buttonBox, SIGNAL(accepted()), this, SLOT(executeAction())); + connect(buttonBox, SIGNAL(accepted()), this, SLOT(slotExecuteAction())); connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); QGroupBox *groupBox1 = new QGroupBox(tr("File")); @@ -49,13 +49,13 @@ FileEncryptionDialog::FileEncryptionDialog(GpgME::GpgContext *ctx, QStringList k /* Setup input & Outputfileselection*/ inputFileEdit = new QLineEdit(); QPushButton *fb1 = new QPushButton("..."); - connect(fb1, SIGNAL(clicked()), this, SLOT(selectInputFile())); + connect(fb1, SIGNAL(clicked()), this, SLOT(slotSelectInputFile())); QLabel *fl1 = new QLabel(tr("Input")); fl1->setBuddy(inputFileEdit); outputFileEdit = new QLineEdit(); QPushButton *fb2 = new QPushButton("..."); - connect(fb2, SIGNAL(clicked()), this, SLOT(selectOutputFile())); + connect(fb2, SIGNAL(clicked()), this, SLOT(slotSelectOutputFile())); QLabel *fl2 = new QLabel(tr("Output")); fl2->setBuddy(outputFileEdit); @@ -76,9 +76,9 @@ FileEncryptionDialog::FileEncryptionDialog(GpgME::GpgContext *ctx, QStringList k /* Setup Action */ radioEnc = new QRadioButton(tr("&Encrypt")); - connect(radioEnc, SIGNAL(clicked()), this, SLOT(showKeyList())); + connect(radioEnc, SIGNAL(clicked()), this, SLOT(slotShowKeyList())); radioDec = new QRadioButton(tr("&Decrypt")); - connect(radioDec, SIGNAL(clicked()), this, SLOT(hideKeyList())); + connect(radioDec, SIGNAL(clicked()), this, SLOT(slotHideKeyList())); radioDec->setChecked(true); QHBoxLayout *hbox1 = new QHBoxLayout(); @@ -99,13 +99,13 @@ FileEncryptionDialog::FileEncryptionDialog(GpgME::GpgContext *ctx, QStringList k setLayout(vbox2); if(action == Encrypt) { - showKeyList(); + slotShowKeyList(); } exec(); } -void FileEncryptionDialog::selectInputFile() +void FileEncryptionDialog::slotSelectInputFile() { QString path = ""; if (inputFileEdit->text().size() > 0) { @@ -132,7 +132,7 @@ void FileEncryptionDialog::selectInputFile() } } -void FileEncryptionDialog::selectOutputFile() +void FileEncryptionDialog::slotSelectOutputFile() { QString path = ""; if (outputFileEdit->text().size() > 0) { @@ -144,7 +144,7 @@ void FileEncryptionDialog::selectOutputFile() } -void FileEncryptionDialog::executeAction() +void FileEncryptionDialog::slotExecuteAction() { QFile infile; @@ -191,12 +191,12 @@ void FileEncryptionDialog::executeAction() accept(); } -void FileEncryptionDialog::showKeyList() +void FileEncryptionDialog::slotShowKeyList() { mKeyList->show(); } -void FileEncryptionDialog::hideKeyList() +void FileEncryptionDialog::slotHideKeyList() { mKeyList->hide(); } |