aboutsummaryrefslogtreecommitdiffstats
path: root/qmlpage.h
blob: 1dc1c6de92766927cac722d694194e6d0fa92bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef QMLPAGE_H
#define QMLPAGE_H

#include <QWidget>
#include <QDeclarativeContext>
#include <QGraphicsObject>
#include "kgpg/core/kgpgkey.h"
#include "gpgcontext.h"

class QMLPage : public QWidget
{

    Q_OBJECT

public:
    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