Added new (dummy) SettingsWidget
[qcpufreq] / src / mainwindow.h
index af0eed2..dd2d172 100644 (file)
 #include <QGraphicsScene>
 #include <QTimer>
 #include <QProcess>
+#include <QStringList>
 
 #include "helpwindow.h"
+#include "settingswidget.h"
 
 namespace Ui {
     class MainWindow;
@@ -47,6 +49,7 @@ public slots:
     void setOverclocking();
     void setSmartReflex();
     void showHelp();
+    void showSettings();
 
 
 private:
@@ -65,15 +68,22 @@ private:
     QProcess helperProcess;
     //! The help window
     HelpWindow helpWindow;
+    //! Initializes the application
+    void init();
     int minFreq;
     //! Are we using a power kernel?
     bool powerKernel;
     QString readSysFile( QString sys_file );
     //! the timer for refreshing the UI
     QTimer refreshTimer;
+    //! The amount of scaling steps
+    int scalingSteps;
+    //! The available scaling frequencies
+    QStringList scalingFrequencies;
     //! the QGraphicsScene will contain the large chip icon displayed in the UI
     QGraphicsScene scene;
     bool showSudoError;
+    SettingsWidget settings;
     bool usePortrait();
 };