Added include for QTimer in header file.
[easylist] / systemsettings.h
1 #ifndef SYSTEMSETTINGS_H
2 #define SYSTEMSETTINGS_H
3
4 #include <QObject>
5 #include <QDebug>
6 #include <QSettings>
7 #include <QtDBus/QDBusConnection>
8 #include <QtDBus/QDBusInterface>
9 #include "globals.h"
10
11 class SystemSettings : public QObject
12 {
13     Q_OBJECT
14 public:
15     static SystemSettings * getInstance();
16
17     bool getKeyboardClosed();
18     void saveCurrentList();
19 private:
20     bool landscape;
21     static SystemSettings * instance;
22     static int instances;
23     SystemSettings();
24
25     QSettings * settings;
26
27 public slots:
28     void slotKeyboardSlide();
29 signals:
30     void signalKeyboardClosed(bool open);
31 };
32
33 #endif // SYSTEMSETTINGS_H