summaryrefslogtreecommitdiff
path: root/daemon/watchconnector.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-11 23:31:28 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-11 23:31:28 +0200
commit6a8cdaf2f718fef8a826fd98241050a7d3cbfb3d (patch)
tree46a5d8db858b45d633b72a74f8a7ce011ec3cbe9 /daemon/watchconnector.h
parentefb33d6494d88c27c8766553b6a963ddf2654458 (diff)
Use Log4Qt in daemon
Diffstat (limited to 'daemon/watchconnector.h')
-rw-r--r--daemon/watchconnector.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h
index eaeccdc..4015870 100644
--- a/daemon/watchconnector.h
+++ b/daemon/watchconnector.h
@@ -33,9 +33,11 @@
#include <QObject>
#include <QPointer>
#include <QStringList>
+#include <QTimer>
#include <QBluetoothDeviceInfo>
#include <QBluetoothSocket>
#include <QBluetoothServiceInfo>
+#include "Logger"
using namespace QtBluetooth;
@@ -45,8 +47,11 @@ namespace watch
class WatchConnector : public QObject
{
Q_OBJECT
+ LOG4QT_DECLARE_QCLASS_LOGGER
+
Q_PROPERTY(QString name READ name NOTIFY nameChanged)
Q_PROPERTY(QString connected READ isConnected NOTIFY connectedChanged)
+
public:
enum {
watchTIME = 11,