Added new theme. Made detail screen also themable.
[jspeed] / src / odometer.h
index 0bbee30..c68fee3 100644 (file)
@@ -45,21 +45,22 @@ public:
     static QString const& getUnit();
     static QString const& getSpeedUnit();
 
-public slots:
-    void update(Location::Fix const& fix);
-    void updateUnit();
-
 signals:
     void dataUpdated();
     void timeUpdated();
     void unitChanged();
 
 public slots:
+    void update(Location::Fix const& fix);
+    void updateUnit();
     void resetTrip();
     void resetTotal();
     void resetAll();
     void store();
 
+private slots:
+    void fixTimeout();
+
 private:
     Q_DISABLE_COPY(Odometer);
     Odometer();
@@ -78,6 +79,7 @@ private:
     bool emitUpdate_;
     Location* location_;
     QTimer* signalTimer_;
+    QTimer* timeoutTimer_;
 };
 
 #endif