diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-06 12:29:39 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-06 12:29:39 +0000 |
commit | ac7dfcc91345f9752b9f387e8b1653af41718621 (patch) | |
tree | c754321cb21743ac3038ce646ecf344d59d27d31 /fileencryptiondialog.h | |
parent | replace ts files with 0.3.1 version, update to reflect name change from gpgwi... (diff) | |
download | gpg4usb-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-x | fileencryptiondialog.h | 9 |
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: /** |