aboutsummaryrefslogtreecommitdiffstats
path: root/keylist.h
diff options
context:
space:
mode:
authorNils Achtergarde <[email protected]>2017-12-30 20:07:21 +0000
committerNils Achtergarde <[email protected]>2017-12-30 20:07:21 +0000
commitab74a3fee1830311b51972969356ab003b7b6eae (patch)
tree0548457a24b4ce361b6ef55062ce62390e559d14 /keylist.h
parentrecommit eafa42262813180336ae5e4c4c284d17a4f42e65 (fixed minor cosmetic effects) (diff)
downloadgpg4usb-ab74a3fee1830311b51972969356ab003b7b6eae.tar.gz
gpg4usb-ab74a3fee1830311b51972969356ab003b7b6eae.zip
recommit of ffc7c45fee1bfa046cd2c605a43c9c5d2cf7eb62 (proof of concept for upload key to server)
Diffstat (limited to 'keylist.h')
-rw-r--r--keylist.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keylist.h b/keylist.h
index 471a825..0909291 100644
--- a/keylist.h
+++ b/keylist.h
@@ -24,6 +24,8 @@
#include "gpgcontext.h"
#include "keyimportdetaildialog.h"
+#include <QNetworkAccessManager>
+#include <QtNetwork>
QT_BEGIN_NAMESPACE
class QWidget;
@@ -54,12 +56,17 @@ public:
public slots:
void slotRefresh();
+ void uploadKeyToServer(QByteArray *keys);
private:
void importKeys(QByteArray inBuffer);
GpgME::GpgContext *mCtx;
QTableWidget *mKeyList;
QMenu *popupMenu;
+ QNetworkAccessManager *qnam;
+
+private slots:
+ void uploadFinished();
protected:
void contextMenuEvent(QContextMenuEvent *event);