blob: 6b48f994e4da43b60c692803bad6353aed6891a7 (
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
|
#ifndef DBUSCONNECTOR_H
#define DBUSCONNECTOR_H
#include <QObject>
#include <QStringList>
#include <QVariantMap>
#include <QLoggingCategory>
// TODO Remove this.
class DBusConnector : public QObject
{
Q_OBJECT
QLoggingCategory l;
Q_PROPERTY(QVariantMap pebble READ pebble NOTIFY pebbleChanged)
QVariantMap pebbleProps;
public:
explicit DBusConnector(QObject *parent = 0);
QVariantMap pebble() const { return pebbleProps; }
signals:
void pebbleChanged();
public slots:
bool findPebble();
};
#endif // DBUSCONNECTOR_H
|