aboutsummaryrefslogtreecommitdiffstats
path: root/fileencryptiondialog.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2014-01-03 22:23:23 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2014-01-03 22:23:23 +0000
commit7b516ff4cf154dee119b24d4bed40c5646f5f10f (patch)
tree64eaf7a12f05fd881e7e766c7244f1164a103f89 /fileencryptiondialog.h
parentbranch 0.3.3 (diff)
parentchanged digest algo to sha512 (described under http://www.apache.org/dev/open... (diff)
downloadgpg4usb-7b516ff4cf154dee119b24d4bed40c5646f5f10f.tar.gz
gpg4usb-7b516ff4cf154dee119b24d4bed40c5646f5f10f.zip
moved branch 0.3.2-1 to 0.3.3
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.3@1084 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'fileencryptiondialog.h')
-rwxr-xr-xfileencryptiondialog.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/fileencryptiondialog.h b/fileencryptiondialog.h
index 593fe9e..bc5d9a0 100755
--- a/fileencryptiondialog.h
+++ b/fileencryptiondialog.h
@@ -24,7 +24,6 @@
#include "gpgcontext.h"
#include "keylist.h"
-#include "verifydetailsdialog.h"
QT_BEGIN_NAMESPACE
class QDialog;
@@ -37,6 +36,7 @@ class QHBoxLayout;
class QVBoxLayout;
class QDebug;
class QFileDialog;
+class QRadioButton;
QT_END_NAMESPACE
/**
@@ -53,8 +53,7 @@ public:
enum DialogAction {
Encrypt,
Decrypt,
- Sign,
- Verify
+ Both
};
/**
@@ -65,7 +64,7 @@ public:
* @param keyList
* @param parent
*/
- FileEncryptionDialog(GpgME::GpgContext *ctx, QStringList keyList, DialogAction action, QWidget *parent = 0);
+ FileEncryptionDialog(GpgME::GpgContext *ctx, QStringList keyList, QWidget *parent = 0, DialogAction action = Both);
public slots:
/**
@@ -83,12 +82,6 @@ public slots:
/**
* @brief
*
- * @fn selectSignFile
- */
- void selectSignFile();
- /**
- * @brief
- *
* @fn executeAction
*/
void executeAction();
@@ -108,9 +101,9 @@ public slots:
private:
QLineEdit *outputFileEdit; /**< TODO */
QLineEdit *inputFileEdit; /**< TODO */
- QLineEdit *signFileEdit; /**< TODO */
+ QRadioButton *radioEnc; /**< TODO */
+ QRadioButton *radioDec; /**< TODO */
DialogAction mAction; /**< TODO */
- QLabel *statusLabel; /**< TODO */
protected:
GpgME::GpgContext *mCtx; /**< TODO */
KeyList *mKeyList; /**< TODO */