diff options
Diffstat (limited to 'widgets/fileencryptionwidget.h')
-rw-r--r-- | widgets/fileencryptionwidget.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/widgets/fileencryptionwidget.h b/widgets/fileencryptionwidget.h new file mode 100644 index 0000000..38f11eb --- /dev/null +++ b/widgets/fileencryptionwidget.h @@ -0,0 +1,32 @@ +#ifndef FILEENCRYPTIONWIDGET_H +#define FILEENCRYPTIONWIDGET_H + +#include <QWidget> +#include <QDeclarativeContext> +#include <QtDeclarative/QDeclarativeView> +#include <QGraphicsObject> +#include "gpgcontext.h" +#include "keylist.h" + +class FileEncryptionWidget : public QWidget +{ + + Q_OBJECT + +public: + FileEncryptionWidget(GpgME::GpgContext *ctx, KeyList *keyList, QWidget *parent = 0); + +public slots: + void slotEncryptFile(); + void slotChooseFile(); + +private: + GpgME::GpgContext *mCtx; + QGraphicsObject *qmlRoot; + KeyList *mKeyList; + +private slots: + void slotKeySelectionChanged(); +}; + +#endif // FILEENCRYPTIONWIDGET_H |