summaryrefslogtreecommitdiffstats
path: root/src/bluetoothsettings/discoverymodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetoothsettings/discoverymodel.h')
-rw-r--r--src/bluetoothsettings/discoverymodel.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bluetoothsettings/discoverymodel.h b/src/bluetoothsettings/discoverymodel.h
index e32ad9b..12554d7 100644
--- a/src/bluetoothsettings/discoverymodel.h
+++ b/src/bluetoothsettings/discoverymodel.h
@@ -44,7 +44,7 @@ class Q_DECL_EXPORT BtDeviceItem : public QObject
Q_PROPERTY(bool connected READ connected NOTIFY connectedChanged)
Q_PROPERTY(DeviceType type READ type CONSTANT)
public:
- explicit BtDeviceItem(const QBluetoothDeviceInfo& id, QObject *parent = nullptr);
+ explicit BtDeviceItem(const QBluetoothDeviceInfo& id, QObject *parent = Q_NULLPTR);
//The list of device type we want to show the icon
enum DeviceType {
Phone,
@@ -90,7 +90,7 @@ class Q_DECL_EXPORT DiscoveryModel : public QAbstractListModel
Q_OBJECT
Q_ENUMS(DeviceType)
public:
- explicit DiscoveryModel(QObject *parent = nullptr);
+ explicit DiscoveryModel(QObject *parent = Q_NULLPTR);
virtual ~DiscoveryModel();
// from QAbstractItemModel
int rowCount(const QModelIndex & parent = QModelIndex()) const;
@@ -111,7 +111,6 @@ Q_SIGNALS:
private Q_SLOTS:
void deviceDiscovered(const QBluetoothDeviceInfo &device);
-
private:
QList<BtDeviceItem*> m_items;
QHash<int, QByteArray> m_roleNames;