Settings dialog changed. Log in/Log out functionality improved.
[speedfreak] / Client / accelerationstart.h
index ecd2406..1a0aec6 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Acceleration start dialog
+ *
+ * @author      Jukka Kurttila  <jukka.kurttila@fudeco.com>
+ * @author      Toni Jussila   <toni.jussila@fudeco.com>
+ * @copyright   (c) 2010 Speed Freak team
+ * @license     http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
 #ifndef ACCELERATIONSTART_H
 #define ACCELERATIONSTART_H
 
@@ -13,19 +21,26 @@ class accelerationstart : public QDialog {
 public:
     accelerationstart(QWidget *parent = 0);
     ~accelerationstart();
+    AccRealTimeDialog* accRealTimeDialog;
+    QString getMeasureCategory();
 
 protected:
     void changeEvent(QEvent *e);
 
 private:
     Ui::accelerationstart *ui;
-    AccRealTimeDialog* accRealTimeDialog;
+
     double stopMeasureSpeed;
+    QString measureCategory;
 
 private slots:
     void on_categorComboBox_currentIndexChanged(int index);
     void on_buttonStart_clicked();
     void on_buttonCalib_clicked();
+    void sendResult(double);
+
+signals:
+    void sendresult(QString, double);
 };
 
 #endif // ACCELERATIONSTART_H