#include <QStringList>
#include "helpwindow.h"
+#include "loadpreset.h"
#include "settings.h"
namespace Ui {
public slots:
void about();
void adjustFreq();
+ void applySettings();
+ void loadPreset(QString presetName);
void orientationChanged();
void refresh();
+ void save();
+ void setAdvancedTemperature();
void setAutoRotation();
- void setOverclocking();
void setSmartReflex();
void showHelp();
+ //void showLoadPresetDialog();
void showSettings();
private:
Ui::MainWindow *ui;
- bool allowOverclocking;
int callHelper( QString action, QString param );
QString getCPUTemp();
int getMaxFreq();
HelpWindow helpWindow;
//! Initializes the application
void init();
+ LoadPreset *loadPresetDialog;
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;
- Settings settings;
+ Settings *settings;
bool usePortrait();
};