summaryrefslogtreecommitdiff
path: root/daemon/watchconnector.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-12-12 20:57:07 +0100
committerTomasz Sterna <tomek@xiaoka.com>2014-12-12 20:57:07 +0100
commit80cf5c3c0b779c869e61dca0da9eec18b962c8ce (patch)
treeafaccaf434d4bab5d4941103ec3dce662292010b /daemon/watchconnector.h
parent8e8c5da2d50ce71bd795803154636e0b6d30912b (diff)
Replaced Log4Qt with Qt 5.2+ QLoggingCategory
Diffstat (limited to 'daemon/watchconnector.h')
-rw-r--r--daemon/watchconnector.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h
index b64e31b..fa8d18b 100644
--- a/daemon/watchconnector.h
+++ b/daemon/watchconnector.h
@@ -37,11 +37,7 @@
#include <QBluetoothDeviceInfo>
#include <QBluetoothSocket>
#include <QBluetoothServiceInfo>
-#include <Log4Qt/Logger>
-
-#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0)
-using namespace QtBluetooth;
-#endif
+#include <QLoggingCategory>
namespace watch
{
@@ -49,7 +45,7 @@ namespace watch
class WatchConnector : public QObject
{
Q_OBJECT
- LOG4QT_DECLARE_QCLASS_LOGGER
+ QLoggingCategory l;
Q_ENUMS(Endpoints)