X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=93c39c5602b5e6ba77eb483c19905f781f1f5df4;hb=ce8836f797ca80b4b0bdf188ec00bd5bcfb55145;hp=920f6a5882802451e59409f77f82dedf4f312086;hpb=2db63c56d4be9865eebd85535f13c2bd379c8e25;p=qcpufreq diff --git a/src/mainwindow.h b/src/mainwindow.h index 920f6a5..93c39c5 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -26,6 +26,7 @@ #include #include "helpwindow.h" +#include "loadpreset.h" #include "settings.h" namespace Ui { @@ -44,7 +45,7 @@ public slots: void about(); void adjustFreq(); void applySettings(); - void loadPreset(); + void loadPreset(QString presetName); void orientationChanged(); void refresh(); void save(); @@ -52,6 +53,7 @@ public slots: void setAutoRotation(); void setSmartReflex(); void showHelp(); + //void showLoadPresetDialog(); void showSettings(); @@ -72,6 +74,7 @@ private: HelpWindow helpWindow; //! Initializes the application void init(); + LoadPreset *loadPresetDialog; int minFreq; QString readSysFile( QString sys_file ); //! the timer for refreshing the UI