]> Creatis software - clitk.git/blobdiff - vv/vvRegisterForm.h
the dialog is filled with previous settings if the user was already registered
[clitk.git] / vv / vvRegisterForm.h
index 72bec2a61f274eb082687d28fc0ace8c5cda332f..e5f1ea682979bf913100499ef8a51efda6c3fc8c 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "ui_vvRegisterForm.h"
 #include <QUrl>
+#include <QSettings>
 #include <QNetworkAccessManager>
 class vvRegisterForm : public QDialog, private Ui::vvRegisterForm
 {
@@ -29,7 +30,6 @@ public:
     vvRegisterForm(QUrl url);
     void sendData();
     ~vvRegisterForm() {}
-    //return true only if first time
     virtual bool canPush();
     virtual void acquitPushed();
 public slots:
@@ -37,6 +37,7 @@ public slots:
   virtual void show();
 protected:
   QUrl url;
+  QSettings settings;
   QNetworkAccessManager* manager;
 };