Make the settings dialog aware of the presence of kernel-config
[qcpufreq] / src / settings.h
index 0ab3179..87c8463 100644 (file)
@@ -33,6 +33,7 @@ class Settings : public QDialog
 public:
     explicit Settings(QWidget *parent = 0);
     ~Settings();
+    bool isKernelConfigInstalled();
     bool platformMaemo();
     bool useAdvancedTemperature();
     bool useAutoRotate();
@@ -52,6 +53,7 @@ private:
     bool autoRotate;
     bool overclocking;
     bool powerKernel;
+    bool kernelConfigInstalled;
     QSettings settings;
     Ui::Settings *ui;
 };