Improved keep backlight on code a bit. Timer is started only when keep backlight...
[easylist] / mainform.h
index e50188b..2dbe44d 100755 (executable)
@@ -12,6 +12,7 @@
 #include <QAbstractTransition>
 #include <QPropertyAnimation>
 #include <QCloseEvent>
+#include <QProcess>
 #include "slidewidget.h"
 #include "listform.h"
 #include "editform.h"
@@ -41,6 +42,7 @@ public slots:
     void changeWidget(int step);
     void stateOutFinished();
 private:
+    QTimer *timer;
     QSettings *settings;
     bool landscape;
     bool tempLandscapeMode;
@@ -66,6 +68,8 @@ private slots:
     void on_actionRotate_triggered();
     void on_actionSync_triggered();
     void on_actionSetting_triggered();
+    void on_actionKeep_backlight_on_triggered();
+    void Keep_backlight_on();
 };
 
 #endif // MAINFORM_H