projects
/
qcpufreq
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Settings: check if we are using a power kernel
[qcpufreq]
/
src
/
settings.h
1
#ifndef SETTINGS_H
2
#define SETTINGS_H
3
4
#include <QDialog>
5
#include <QSettings>
6
7
namespace Ui {
8
class Settings;
9
}
10
11
class Settings : public QDialog
12
{
13
Q_OBJECT
14
15
public:
16
explicit Settings(QWidget *parent = 0);
17
~Settings();
18
bool platformMaemo();
19
bool useAdvancedTemperature();
20
bool useAutoRotate();
21
bool useOverclocking();
22
bool usePowerKernel();
23
24
public slots:
25
void reset();
26
void save();
27
void showOverclockingWarning();
28
29
private:
30
bool advancedTemperature;
31
bool autoRotate;
32
bool overclocking;
33
bool powerKernel;
34
QSettings settings;
35
Ui::Settings *ui;
36
};
37
38
#endif // SETTINGS_H