summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothserviceinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothserviceinfo.h')
-rw-r--r--src/bluetooth/qbluetoothserviceinfo.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo.h b/src/bluetooth/qbluetoothserviceinfo.h
index 28e23fa0..ecb5f1d9 100644
--- a/src/bluetooth/qbluetoothserviceinfo.h
+++ b/src/bluetooth/qbluetoothserviceinfo.h
@@ -4,7 +4,7 @@
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
-** This file is part of the Qt Mobility Components.
+** This file is part of the QtBluetooth module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
@@ -54,6 +54,8 @@
QT_BEGIN_HEADER
+QTBLUETOOTH_BEGIN_NAMESPACE
+
class QBluetoothServiceInfoPrivate;
class QBluetoothDeviceInfo;
@@ -149,10 +151,14 @@ private:
Q_DECLARE_PRIVATE(QBluetoothServiceInfo)
};
-Q_DECLARE_METATYPE(QBluetoothServiceInfo)
-Q_DECLARE_METATYPE(QBluetoothServiceInfo::Sequence)
-Q_DECLARE_METATYPE(QBluetoothServiceInfo::Alternative)
-Q_DECLARE_METATYPE(QList<QBluetoothUuid>)
+QTBLUETOOTH_END_NAMESPACE
+
+Q_DECLARE_METATYPE(QtBluetooth::QBluetoothServiceInfo)
+Q_DECLARE_METATYPE(QtBluetooth::QBluetoothServiceInfo::Sequence)
+Q_DECLARE_METATYPE(QtBluetooth::QBluetoothServiceInfo::Alternative)
+Q_DECLARE_METATYPE(QList<QtBluetooth::QBluetoothUuid>)
+
+QTBLUETOOTH_BEGIN_NAMESPACE
inline void QBluetoothServiceInfo::setAttribute(quint16 attributeId, const QBluetoothUuid &value)
{
@@ -224,6 +230,8 @@ inline QList<QBluetoothUuid> QBluetoothServiceInfo::serviceClassUuids() const
return attribute(ServiceClassIds).value<QList<QBluetoothUuid> >();
}
+QTBLUETOOTH_END_NAMESPACE
+
QT_END_HEADER
#endif