aboutsummaryrefslogtreecommitdiffstats
path: root/qmlpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmlpage.h')
-rw-r--r--qmlpage.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/qmlpage.h b/qmlpage.h
index 699984a..1dc1c6d 100644
--- a/qmlpage.h
+++ b/qmlpage.h
@@ -5,6 +5,7 @@
#include <QDeclarativeContext>
#include <QGraphicsObject>
#include "kgpg/core/kgpgkey.h"
+#include "gpgcontext.h"
class QMLPage : public QWidget
{
@@ -12,15 +13,16 @@ class QMLPage : public QWidget
Q_OBJECT
public:
- QMLPage(KgpgCore::KgpgKey key, QWidget *parent = 0);
+ QMLPage(GpgME::GpgContext *ctx, KgpgCore::KgpgKey key, QWidget *parent = 0);
public slots:
void qmlClicked();
-
+ void slotExportPublicKey();
+ void slotExportPrivateKey();
private:
QDeclarativeContext *context;
QGraphicsObject *obj;
-
+ GpgME::GpgContext *mCtx;
};
#endif // QMLPAGE_H