summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/registeraccountdialog.h
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-09-03 20:17:25 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-09-03 20:17:25 +0000
commitdbf009286f7d5018d01e20a328d79685cd676c46 (patch)
treec0baa6e65c71ada67d9072cba60829d0828a9cee /pica-client/dialogs/registeraccountdialog.h
parentcceb1694414178a65adce52b76a137e7a31ee69a (diff)
downloadpica-pica-dbf009286f7d5018d01e20a328d79685cd676c46.tar.gz
pica-pica-dbf009286f7d5018d01e20a328d79685cd676c46.zip
implemented creating self-signed certificate in registeraccountdialog instead of sending CSR to certificate server
git-svn-id: svn://localhost/project_picapica/trunk@271 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/dialogs/registeraccountdialog.h')
-rw-r--r--pica-client/dialogs/registeraccountdialog.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/pica-client/dialogs/registeraccountdialog.h b/pica-client/dialogs/registeraccountdialog.h
index 82330e1..5c445d6 100644
--- a/pica-client/dialogs/registeraccountdialog.h
+++ b/pica-client/dialogs/registeraccountdialog.h
@@ -5,9 +5,8 @@
#include <QPushButton>
#include <QLineEdit>
#include <QLabel>
+#include <QCheckBox>
#include <QRegExpValidator>
-#include <QtNetwork>
-#include <QTcpSocket>
#include "../openssltool.h"
class RegisterAccountDialog : public QDialog
@@ -19,14 +18,16 @@ public:
QString GetPkeyFilename();
private:
- QPushButton *btOK;
+ //QPushButton *btOK;
QPushButton *btRegister;
QLineEdit *nickname;
QLabel *lbStatus;
+ QCheckBox *cbSetPassword;
+ QLineEdit *password;
+ QLineEdit *repeatPassword;
QRegExpValidator *vld;
OpenSSLTool ost;
- QTcpSocket sock;
QByteArray cert_buf;
QString CertFilename_;
@@ -34,14 +35,12 @@ private:
signals:
public slots:
- void OK();
+ //void OK();
void Register();
+ void setPasswordClick();
- void stageGenCSR(int,QProcess::ExitStatus);
- void stageConnect(int,QProcess::ExitStatus);
- void stageGetCert();
- void stageReadCert();
- void showError();
+ void stageSignCert(int retval, QProcess::ExitStatus);
+ void stageFinished(int retval, QProcess::ExitStatus);
};
#endif // REGISTERACCOUNTDIALOG_H