diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2013-10-15 20:52:19 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2013-10-15 20:52:19 +0000 |
commit | e9a4bc3eda5dd0bd9c47efae8bac168846403e3d (patch) | |
tree | ebb4f8d2446aaf12fe951687112115298e0bcb91 /qmlpage.h | |
parent | add keyinforow qml widget (diff) | |
download | gpg4usb-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.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |