Refresh UI every 10 seconds
[qcpufreq] / src / mainwindow.h
index 4b77db0..13eae27 100755 (executable)
@@ -21,6 +21,7 @@
 
 #include <QMainWindow>
 #include <QGraphicsScene>
+#include <QTimer>
 
 namespace Ui {
     class MainWindow;
@@ -55,6 +56,8 @@ private:
     int getScalingSteps();
     int getSmartReflexState();
     QString readSysFile( QString sys_file );
+    //! the timer for refreshing the UI
+    QTimer *refreshTimer;
     //! the QGraphicsScene will contain the large chip icon displayed in the UI
     QGraphicsScene *scene;
     bool usePortrait();