X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=9aa4763fec699a599de038a8b262aa93333a3ab0;hb=d26db462593aa085bea4a07124bdaed1363e50d5;hp=4b77db0a1e7991026af8128990c27abf76de12b0;hpb=776e320c8ba6b7467e90da091caad5c520618efb;p=qcpufreq diff --git a/src/mainwindow.h b/src/mainwindow.h index 4b77db0..9aa4763 100755 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -21,6 +21,10 @@ #include #include +#include +#include + +#include "helpwindow.h" namespace Ui { class MainWindow; @@ -39,8 +43,9 @@ public slots: void adjustFreq(); void orientationChanged(); void refresh(); - void setAutoRotaion(); + void setAutoRotation(); void setSmartReflex(); + void showHelp(); private: @@ -54,9 +59,16 @@ private: int getScalingStep( int freq ); int getScalingSteps(); int getSmartReflexState(); + //! The helper process + QProcess *helperProcess; + //! The help window + HelpWindow *helpWindow; 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 showSudoError; bool usePortrait(); };