projects
/
qcpufreq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve confirmation dialog
[qcpufreq]
/
src
/
mainwindow.h
diff --git
a/src/mainwindow.h
b/src/mainwindow.h
index
920f6a5
..
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 {
@@
-44,7
+45,7
@@
public slots:
void about();
void adjustFreq();
void applySettings();
void about();
void adjustFreq();
void applySettings();
- void loadPreset();
+ void loadPreset(QString presetName);
void orientationChanged();
void refresh();
void save();
void orientationChanged();
void refresh();
void save();
@@
-52,6
+53,7
@@
public slots:
void setAutoRotation();
void setSmartReflex();
void showHelp();
void setAutoRotation();
void setSmartReflex();
void showHelp();
+ //void showLoadPresetDialog();
void showSettings();
void showSettings();
@@
-72,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