aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/fileencryptionwidget.h
blob: 38f11eba46e1ff67d32c8c7880b72aa90c034bd4 (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
29
30
31
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