#include <QMainWindow>
#include <QGraphicsScene>
#include <QTimer>
+#include <QProcess>
+
+#include "helpwindow.h"
namespace Ui {
class MainWindow;
void adjustFreq();
void orientationChanged();
void refresh();
- void setAutoRotaion();
+ void setAutoRotation();
void setSmartReflex();
+ void showHelp();
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();
};