summaryrefslogtreecommitdiffstats
path: root/src/bluetoothsettings/bluetoothdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetoothsettings/bluetoothdevice.h')
-rw-r--r--src/bluetoothsettings/bluetoothdevice.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bluetoothsettings/bluetoothdevice.h b/src/bluetoothsettings/bluetoothdevice.h
index 84d1615..8519044 100644
--- a/src/bluetoothsettings/bluetoothdevice.h
+++ b/src/bluetoothsettings/bluetoothdevice.h
@@ -41,7 +41,7 @@ class Q_DECL_EXPORT BluetoothDevice : public QObject
Q_PROPERTY(bool powered READ powered WRITE setPowered NOTIFY poweredChanged)
Q_PROPERTY(QObject* deviceModel READ deviceModel CONSTANT)
public:
- explicit BluetoothDevice(QObject *parent = nullptr);
+ explicit BluetoothDevice(QObject *parent = Q_NULLPTR);
bool powered() const;
void setPowered(const bool& aPowered);
QObject* deviceModel() const;
@@ -50,7 +50,6 @@ public:
Q_INVOKABLE void requestPairing(const QString& address);
Q_INVOKABLE void requestConnect(const QString& address);
Q_INVOKABLE void requestDisconnect(const QString& address);
-
Q_SIGNALS:
void poweredChanged();
void scanningChanged();