aboutsummaryrefslogtreecommitdiffstats
path: root/keylist.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-21 23:06:17 +0100
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-21 23:06:17 +0100
commitffc7c45fee1bfa046cd2c605a43c9c5d2cf7eb62 (patch)
tree15fa804d0f2945a64d5a70bb6c71ce804f231b09 /keylist.h
parentadded rsa key generation (diff)
downloadgpg4usb-ffc7c45fee1bfa046cd2c605a43c9c5d2cf7eb62.tar.gz
gpg4usb-ffc7c45fee1bfa046cd2c605a43c9c5d2cf7eb62.zip
proof of concept for upload key to server
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@859 34ebc366-c3a9-4b3c-9f84-69acf7962910
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 ab46900..6c383d3 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;
@@ -53,12 +55,17 @@ public:
public slots:
void refresh();
+ 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);