summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetooth.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-12-16 16:02:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-20 09:06:10 +0100
commit94f862e2786c5e9b558ae6ab6f524842949c0953 (patch)
tree8905bcdae7592fb1ca26ea43e3330b03b62dbede /src/bluetooth/qbluetooth.cpp
parentf661b7fbb19d845b23450c57127020ee86df578d (diff)
Use QLoggingCategory to categorize the various debug output streams
Task-number: QTBUG-32253 Change-Id: I193162407d0fc7eca83689e31f03e1641a494ab0 Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetooth.cpp')
-rw-r--r--src/bluetooth/qbluetooth.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetooth.cpp b/src/bluetooth/qbluetooth.cpp
index 02ca7636..29b14822 100644
--- a/src/bluetooth/qbluetooth.cpp
+++ b/src/bluetooth/qbluetooth.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
+#include <QtCore/QLoggingCategory>
#include <QtBluetooth/qbluetooth.h>
QT_BEGIN_NAMESPACE
@@ -76,4 +77,8 @@ namespace QBluetooth {
*/
}
+Q_LOGGING_CATEGORY(QT_BT, "qt.bluetooth")
+Q_LOGGING_CATEGORY(QT_BT_BLUEZ, "qt.bluetooth.bluez")
+Q_LOGGING_CATEGORY(QT_BT_QNX, "qt.bluetooth.qnx")
+
QT_END_NAMESPACE