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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo.h b/src/bluetooth/qbluetoothserviceinfo.h
index 507c7c1d..0e6555c0 100644
--- a/src/bluetooth/qbluetoothserviceinfo.h
+++ b/src/bluetooth/qbluetoothserviceinfo.h
@@ -45,6 +45,7 @@
#include <QtBluetooth/qbluetoothglobal.h>
#include <QtBluetooth/QBluetoothUuid>
+#include <QtBluetooth/QBluetoothAddress>
#include <QtCore/QMetaType>
#include <QtCore/QList>
@@ -145,8 +146,8 @@ public:
QBluetoothServiceInfo &operator=(const QBluetoothServiceInfo &other);
bool isRegistered() const;
- bool registerService() const;
- bool unregisterService() const;
+ bool registerService(const QBluetoothAddress &localAdapter = QBluetoothAddress());
+ bool unregisterService();
protected:
friend Q_BLUETOOTH_EXPORT QDebug operator<<(QDebug, const QBluetoothServiceInfo &);