aboutsummaryrefslogtreecommitdiffstats
path: root/fileencryptiondialog.h
diff options
context:
space:
mode:
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;
+
+};