projects
/
qcpufreq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New release: 0.4.2
[qcpufreq]
/
src
/
mainwindow.h
diff --git
a/src/mainwindow.h
b/src/mainwindow.h
index
6dc82c6
..
93c39c5
100644
(file)
--- a/
src/mainwindow.h
+++ b/
src/mainwindow.h
@@
-26,6
+26,7
@@
#include <QStringList>
#include "helpwindow.h"
#include <QStringList>
#include "helpwindow.h"
+#include "loadpreset.h"
#include "settings.h"
namespace Ui {
#include "settings.h"
namespace Ui {
@@
-43,11
+44,16
@@
public:
public slots:
void about();
void adjustFreq();
public slots:
void about();
void adjustFreq();
+ void applySettings();
+ void loadPreset(QString presetName);
void orientationChanged();
void refresh();
void orientationChanged();
void refresh();
+ void save();
+ void setAdvancedTemperature();
void setAutoRotation();
void setSmartReflex();
void showHelp();
void setAutoRotation();
void setSmartReflex();
void showHelp();
+ //void showLoadPresetDialog();
void showSettings();
void showSettings();
@@
-68,6
+74,7
@@
private:
HelpWindow helpWindow;
//! Initializes the application
void init();
HelpWindow helpWindow;
//! Initializes the application
void init();
+ LoadPreset *loadPresetDialog;
int minFreq;
QString readSysFile( QString sys_file );
//! the timer for refreshing the UI
int minFreq;
QString readSysFile( QString sys_file );
//! the timer for refreshing the UI
@@
-79,7
+86,7
@@
private:
//! the QGraphicsScene will contain the large chip icon displayed in the UI
QGraphicsScene scene;
bool showSudoError;
//! the QGraphicsScene will contain the large chip icon displayed in the UI
QGraphicsScene scene;
bool showSudoError;
- Settings settings;
+ Settings *settings;
bool usePortrait();
};
bool usePortrait();
};