Connect signals and slots in LoadPreset and MainWindow
[qcpufreq] / src / mainwindow.h
index 0d0bdcc..93c39c5 100644 (file)
@@ -26,6 +26,7 @@
 #include <QStringList>
 
 #include "helpwindow.h"
+#include "loadpreset.h"
 #include "settings.h"
 
 namespace Ui {
@@ -44,12 +45,15 @@ public slots:
     void about();
     void adjustFreq();
     void applySettings();
+    void loadPreset(QString presetName);
     void orientationChanged();
     void refresh();
+    void save();
     void setAdvancedTemperature();
     void setAutoRotation();
     void setSmartReflex();
     void showHelp();
+    //void showLoadPresetDialog();
     void showSettings();
 
 
@@ -70,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