Shorter calibration time in accelerometer.cpp
[speedfreak] / Client / settingsdialog.h
index 09e76f4..cb69f3c 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * SettingsDialog class
+ *
+ * @author     Olavi Pulkkinen <olavi.pulkkinen@fudeco.com>
+ * @copyright  (c) 2010 Speed Freak team
+ * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
+
 #ifndef SETTINGSDIALOG_H
 #define SETTINGSDIALOG_H
 
@@ -24,17 +32,19 @@ public:
     void setPassword(QString password);
     QString getUserName();
     QString getPassword();
+    void setLabelInfoToUser(QString infoText);
+    void usernameOk(bool isOk);
 
 signals:
     void sendregistration();
     void userNameChanged();
+    void logout();
 
 protected:
     void changeEvent(QEvent *e);
 
 private:
     Ui::SettingsDialog *ui;
-    InstructionsDialog *instructionsDialog;
     QString regUsername;
     QString regPassword;
     QString regEmail;
@@ -44,7 +54,6 @@ private:
 private slots:
     void on_setUserPushButton_clicked();
     void on_registratePushButton_clicked();
-    void on_pushButtonHelp_clicked();
 };
 
 #endif // SETTINGSDIALOG_H