projects
/
qcpufreq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refresh UI every 10 seconds
[qcpufreq]
/
src
/
mainwindow.h
diff --git
a/src/mainwindow.h
b/src/mainwindow.h
index
4b77db0
..
13eae27
100755
(executable)
--- a/
src/mainwindow.h
+++ b/
src/mainwindow.h
@@
-21,6
+21,7
@@
#include <QMainWindow>
#include <QGraphicsScene>
#include <QMainWindow>
#include <QGraphicsScene>
+#include <QTimer>
namespace Ui {
class MainWindow;
namespace Ui {
class MainWindow;
@@
-55,6
+56,8
@@
private:
int getScalingSteps();
int getSmartReflexState();
QString readSysFile( QString sys_file );
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();
//! the QGraphicsScene will contain the large chip icon displayed in the UI
QGraphicsScene *scene;
bool usePortrait();