Bugfix: accelerate send result.
[speedfreak] / Client / accelerationstart.h
index ecd2406..d403df7 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Acceleration start dialog
+ *
+ * @author      Jukka Kurttila <jukka.kurttila@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,6 +20,7 @@ class accelerationstart : public QDialog {
 public:
     accelerationstart(QWidget *parent = 0);
     ~accelerationstart();
+    QString getMeasureCategory();
 
 protected:
     void changeEvent(QEvent *e);
@@ -20,12 +28,18 @@ protected:
 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