summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothservicediscoveryagent_p.h
diff options
context:
space:
mode:
authorEric Lemanissier <eric.lemanissier@gmail.com>2018-06-19 13:02:39 +0200
committerEric Lemanissier <eric.lemanissier@gmail.com>2018-06-21 07:38:59 +0000
commit62efb446b56bc489c998f90e307aa12e72cb6b8e (patch)
treee52e3255677737858bbdb3836e4554de77a9fd41 /src/bluetooth/qbluetoothservicediscoveryagent_p.h
parent3a90cf6d46dc6f34ccedb7f02515573d1db4704a (diff)
win32: modernize qbluetooth*discoveryagent
arguments pass by ref NULL and 0 replaced with nullptr ::ZeroMemory replaced by default initialization range based for loop Change-Id: I393806f19155ee31e4ebe7f33ce22e9d14eafe40 Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothservicediscoveryagent_p.h')
-rw-r--r--src/bluetooth/qbluetoothservicediscoveryagent_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/qbluetoothservicediscoveryagent_p.h b/src/bluetooth/qbluetoothservicediscoveryagent_p.h
index cbaab458..c845b528 100644
--- a/src/bluetooth/qbluetoothservicediscoveryagent_p.h
+++ b/src/bluetooth/qbluetoothservicediscoveryagent_p.h
@@ -82,8 +82,8 @@ class ThreadWorkerFind : public QObject
{
Q_OBJECT
public:
- Q_INVOKABLE void findFirst(const QVariant data);
- Q_INVOKABLE void findNext(const QVariant data);
+ Q_INVOKABLE void findFirst(const QVariant &data);
+ Q_INVOKABLE void findNext(const QVariant &data);
signals:
void findFinished(QVariant result);
};
@@ -167,7 +167,7 @@ public:
void _q_hostModeStateChanged(QBluetoothLocalDevice::HostMode state);
#endif
#ifdef QT_WIN_BLUETOOTH
- void _q_nextSdpScan(QVariant input);
+ void _q_nextSdpScan(const QVariant &input);
#endif
private: