aboutsummaryrefslogtreecommitdiffstats
path: root/fileencryptiondialog.h
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-06 12:29:39 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-06 12:29:39 +0000
commitac7dfcc91345f9752b9f387e8b1653af41718621 (patch)
treec754321cb21743ac3038ce646ecf344d59d27d31 /fileencryptiondialog.h
parentreplace ts files with 0.3.1 version, update to reflect name change from gpgwi... (diff)
downloadgpg4usb-ac7dfcc91345f9752b9f387e8b1653af41718621.tar.gz
gpg4usb-ac7dfcc91345f9752b9f387e8b1653af41718621.zip
file encryption dialog configurable for encrypt / decrypt / both. popup menu for file encrypt or decrypt in toolbar now
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@668 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'fileencryptiondialog.h')
-rwxr-xr-xfileencryptiondialog.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/fileencryptiondialog.h b/fileencryptiondialog.h
index 7ba380b..75af285 100755
--- a/fileencryptiondialog.h
+++ b/fileencryptiondialog.h
@@ -49,6 +49,13 @@ class FileEncryptionDialog : public QDialog
Q_OBJECT
public:
+
+ enum DialogAction {
+ Encrypt,
+ Decrypt,
+ Both
+ };
+
/**
* @brief
*
@@ -58,7 +65,7 @@ public:
* @param keyList
* @param parent
*/
- FileEncryptionDialog(GpgME::GpgContext *ctx, QString iconPath, QStringList keyList , QWidget *parent = 0);
+ FileEncryptionDialog(GpgME::GpgContext *ctx, QString iconPath, QStringList keyList, QWidget *parent = 0, DialogAction action = Both);
public slots:
/**