diff options
Diffstat (limited to 'src/bluetoothsettings/bluetoothdevice.cpp')
-rw-r--r-- | src/bluetoothsettings/bluetoothdevice.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bluetoothsettings/bluetoothdevice.cpp b/src/bluetoothsettings/bluetoothdevice.cpp index 0facf27..442a31c 100644 --- a/src/bluetoothsettings/bluetoothdevice.cpp +++ b/src/bluetoothsettings/bluetoothdevice.cpp @@ -30,6 +30,8 @@ #include "bluetoothdevice.h" #include "bluetoothdevice_p.h" +QT_BEGIN_NAMESPACE + BluetoothDevice::BluetoothDevice(QObject *parent) : QObject(parent) ,d_ptr(new BluetoothDevicePrivate(this)) { @@ -51,7 +53,7 @@ void BluetoothDevice::setPowered(const bool& aPowered) DiscoveryModel* BluetoothDevice::deviceModel() const { Q_D(const BluetoothDevice); - return d->m_deviceModel; + return d->deviceModel(); } bool BluetoothDevice::scanning() const @@ -89,3 +91,5 @@ bool BluetoothDevice::available() const Q_D(const BluetoothDevice); return d->available(); } + +QT_END_NAMESPACE |