8#ifndef QT_IOS_BLUETOOTH
9#include "dummy/dummy_helper_p.h"
14QBluetoothLocalDevice::QBluetoothLocalDevice(QObject *parent) :
16 d_ptr(
new QBluetoothLocalDevicePrivate(
this, QBluetoothAddress()))
18#if !defined(QT_IOS_BLUETOOTH)
21 registerQBluetoothLocalDeviceMetaType();
24QBluetoothLocalDevice::QBluetoothLocalDevice(
const QBluetoothAddress &address, QObject *parent) :
26 d_ptr(
new QBluetoothLocalDevicePrivate(
this, address))
28 registerQBluetoothLocalDeviceMetaType();
31QString QBluetoothLocalDevice::name()
const
36QBluetoothAddress QBluetoothLocalDevice::address()
const
38 return QBluetoothAddress();
41void QBluetoothLocalDevice::powerOn()
45void QBluetoothLocalDevice::setHostMode(QBluetoothLocalDevice::HostMode mode)
50QBluetoothLocalDevice::HostMode QBluetoothLocalDevice::hostMode()
const
52 return HostPoweredOff;
55QList<QBluetoothAddress> QBluetoothLocalDevice::connectedDevices()
const
57 return QList<QBluetoothAddress>();
60QList<QBluetoothHostInfo> QBluetoothLocalDevice::allDevices()
62 QList<QBluetoothHostInfo> localDevices;
66void QBluetoothLocalDevice::requestPairing(
const QBluetoothAddress &address, Pairing pairing)
70 QMetaObject::invokeMethod(
this,
"errorOccurred", Qt::QueuedConnection,
71 Q_ARG(QBluetoothLocalDevice::Error,
72 QBluetoothLocalDevice::PairingError));
75QBluetoothLocalDevice::Pairing QBluetoothLocalDevice::pairingStatus(
76 const QBluetoothAddress &address)
const