aboutsummaryrefslogtreecommitdiffstats
path: root/qmlpage.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-10-15 20:52:19 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2013-10-15 20:52:19 +0000
commite9a4bc3eda5dd0bd9c47efae8bac168846403e3d (patch)
treeebb4f8d2446aaf12fe951687112115298e0bcb91 /qmlpage.h
parentadd keyinforow qml widget (diff)
downloadgpg4usb-e9a4bc3eda5dd0bd9c47efae8bac168846403e3d.tar.gz
gpg4usb-e9a4bc3eda5dd0bd9c47efae8bac168846403e3d.zip
keydetails widget in qml working
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1061 34ebc366-c3a9-4b3c-9f84-69acf7962910
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