diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2012-11-27 12:59:09 +0100 |
---|---|---|
committer | Alex <ablasche@gmail.com> | 2012-11-27 22:24:44 +0100 |
commit | 18f203d55e1eccf73e8a78640372d6d1a991731b (patch) | |
tree | 0f4156126422586a350f81765d135ef6f420688b /src/bluetooth/qbluetoothserviceinfo_p.cpp | |
parent | 36976cb4f5d894beb4689af054e0456b7c7a154f (diff) |
Refactoring service info
Change-Id: Ide804f02b68e5bcf811969ed5cfad9c03e8bdbf2
Reviewed-by: Alex <ablasche@gmail.com>
Diffstat (limited to 'src/bluetooth/qbluetoothserviceinfo_p.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothserviceinfo_p.cpp | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo_p.cpp b/src/bluetooth/qbluetoothserviceinfo_p.cpp index f344ab84..812c3e79 100644 --- a/src/bluetooth/qbluetoothserviceinfo_p.cpp +++ b/src/bluetooth/qbluetoothserviceinfo_p.cpp @@ -44,29 +44,30 @@ QTBLUETOOTH_BEGIN_NAMESPACE -bool QBluetoothServiceInfo::isRegistered() const +QBluetoothServiceInfoPrivate::QBluetoothServiceInfoPrivate() { - return false; } -bool QBluetoothServiceInfo::registerService() const +QBluetoothServiceInfoPrivate::~QBluetoothServiceInfoPrivate() { - return false; } -bool QBluetoothServiceInfo::unregisterService() const +bool QBluetoothServiceInfoPrivate::isRegistered() const { return false; } -QBluetoothServiceInfoPrivate::QBluetoothServiceInfoPrivate() +bool QBluetoothServiceInfoPrivate::registerService() const { + return false; } -QBluetoothServiceInfoPrivate::~QBluetoothServiceInfoPrivate() +bool QBluetoothServiceInfoPrivate::unregisterService() const { + return false; } + void QBluetoothServiceInfoPrivate::setRegisteredAttribute(quint16 attributeId, const QVariant &value) const { Q_UNUSED(attributeId); @@ -78,11 +79,4 @@ void QBluetoothServiceInfoPrivate::removeRegisteredAttribute(quint16 attributeId Q_UNUSED(attributeId); } -#ifdef QT_BLUEZ_BLUETOOTH -bool QBluetoothServiceInfoPrivate::registerService() const -{ - return false; -} -#endif - QTBLUETOOTH_END_NAMESPACE |