summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/registeraccountdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/dialogs/registeraccountdialog.h')
-rw-r--r--pica-client/dialogs/registeraccountdialog.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/pica-client/dialogs/registeraccountdialog.h b/pica-client/dialogs/registeraccountdialog.h
index e1a8fd5..696f1ee 100644
--- a/pica-client/dialogs/registeraccountdialog.h
+++ b/pica-client/dialogs/registeraccountdialog.h
@@ -5,6 +5,10 @@
#include <QPushButton>
#include <QLineEdit>
#include <QLabel>
+#include <QRegExpValidator>
+#include <QtNetwork>
+#include <QTcpSocket>
+#include "openssltool.h"
class RegisterAccountDialog : public QDialog
{
@@ -20,11 +24,23 @@ private:
QLineEdit *nickname;
QLabel *lbStatus;
+ QRegExpValidator *vld;
+ OpenSSLTool ost;
+ QTcpSocket sock;
+ QByteArray cert_buf;
+
+ QString CertFilename_;
+ QString PkeyFilename_;
signals:
public slots:
void OK();
void Register();
+
+ void stageGenCSR(int,QProcess::ExitStatus);
+ void stageConnect(int,QProcess::ExitStatus);
+ void stageGetCert();
+ void stageReadCert();
};
#endif // REGISTERACCOUNTDIALOG_H