aboutsummaryrefslogtreecommitdiffstats
path: root/fileencryptiondialog.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2009-01-04 00:51:28 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2009-01-04 00:51:28 +0000
commitbce1c4508862a4f402551b66f1f4a8cc4e8a70da (patch)
treed07e8ca72350b06cccae50996c07e67a61ff68d0 /fileencryptiondialog.h
parentadded file en-/decryption dialog (diff)
downloadgpg4usb-bce1c4508862a4f402551b66f1f4a8cc4e8a70da.tar.gz
gpg4usb-bce1c4508862a4f402551b66f1f4a8cc4e8a70da.zip
added missing files
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@205 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'fileencryptiondialog.h')
-rwxr-xr-xfileencryptiondialog.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/fileencryptiondialog.h b/fileencryptiondialog.h
new file mode 100755
index 0000000..97854e8
--- /dev/null
+++ b/fileencryptiondialog.h
@@ -0,0 +1,32 @@
+#include <QDialog>
+#include <QLineEdit>
+#include <QRadioButton>
+
+#include "context.h"
+#include "keylist.h"
+
+class FileEncryptionDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ FileEncryptionDialog(GpgME::Context *ctx, QString iconPath);
+
+public slots:
+ void selectInputFile();
+ void selectOutputFile();
+ void executeAction();
+ void hideKeyList();
+ void showKeyList();
+
+private:
+ QLineEdit *outputFileEdit;
+ QLineEdit *inputFileEdit;
+ QRadioButton *radioEnc;
+ QRadioButton *radioDec;
+
+protected:
+ GpgME::Context *mCtx;
+ KeyList *mKeyList;
+
+};