X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=9aa4763fec699a599de038a8b262aa93333a3ab0;hb=d26db462593aa085bea4a07124bdaed1363e50d5;hp=13eae27cb4ba542667a00d08bbaaae90c87e0d26;hpb=9971ca04e3017c9cdc16031e2321aefdbbe7e97c;p=qcpufreq diff --git a/src/mainwindow.h b/src/mainwindow.h index 13eae27..9aa4763 100755 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -22,6 +22,9 @@ #include #include #include +#include + +#include "helpwindow.h" namespace Ui { class MainWindow; @@ -40,8 +43,9 @@ public slots: void adjustFreq(); void orientationChanged(); void refresh(); - void setAutoRotaion(); + void setAutoRotation(); void setSmartReflex(); + void showHelp(); private: @@ -55,11 +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(); };