#include <QStringList>
#include "helpwindow.h"
-#include "settingswidget.h"
+#include "settings.h"
namespace Ui {
class MainWindow;
void orientationChanged();
void refresh();
void setAutoRotation();
- void setOverclocking();
void setSmartReflex();
void showHelp();
void showSettings();
private:
Ui::MainWindow *ui;
- bool allowOverclocking;
int callHelper( QString action, QString param );
QString getCPUTemp();
int getMaxFreq();
//! Initializes the application
void init();
int minFreq;
- //! Are we using a power kernel?
- bool powerKernel;
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;
- SettingsWidget settings;
+ Settings *settings;
bool usePortrait();
};