Merge branch 'bugfix/categorylist'
[speedfreak] / Client / accelerationstart.h
index e524f88..1a0aec6 100644 (file)
@@ -1,7 +1,8 @@
 /*
  * Acceleration start dialog
  *
- * @author      Jukka Kurttila <jukka.kurttila@fudeco.com>
+ * @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
  */
@@ -20,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