blob: c685c310ae3a456d1b19f8b2ea753530230f88e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#ifndef SETTINGS_H
#define SETTINGS_H
#include <MDConfGroup>
class Settings : public MDConfGroup
{
Q_OBJECT
Q_PROPERTY(bool silentWhenConnected MEMBER silentWhenConnected NOTIFY silentWhenConnectedChanged)
Q_PROPERTY(bool notificationsCommhistoryd MEMBER notificationsCommhistoryd NOTIFY notificationsCommhistorydChanged)
Q_PROPERTY(bool notificationsMissedCall MEMBER notificationsMissedCall NOTIFY notificationsMissedCallChanged)
Q_PROPERTY(bool notificationsEmails MEMBER notificationsEmails NOTIFY notificationsEmailsChanged)
Q_PROPERTY(bool notificationsMitakuuluu MEMBER notificationsMitakuuluu NOTIFY notificationsMitakuuluuChanged)
Q_PROPERTY(bool notificationsOther MEMBER notificationsOther NOTIFY notificationsOtherChanged)
Q_PROPERTY(bool notificationsAll MEMBER notificationsAll NOTIFY notificationsAllChanged)
bool silentWhenConnected;
bool notificationsCommhistoryd;
bool notificationsMissedCall;
bool notificationsEmails;
bool notificationsMitakuuluu;
bool notificationsOther;
bool notificationsAll;
public:
explicit Settings(QObject *parent = 0) :
MDConfGroup("/org/pebbled/settings", parent, BindProperties)
{ resolveMetaObject(); }
signals:
void silentWhenConnectedChanged(bool);
void notificationsCommhistorydChanged(bool);
void notificationsMissedCallChanged(bool);
void notificationsEmailsChanged(bool);
void notificationsMitakuuluuChanged(bool);
void notificationsOtherChanged(bool);
void notificationsAllChanged(bool);
public slots:
};
#endif // SETTINGS_H
|