Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qbluetoothdevicediscoveryagent_p.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
6#include "qbluetoothaddress.h"
7#include "qbluetoothuuid.h"
8
10
11#define QT_DEVICEDISCOVERY_DEBUG
12
14
16 const QBluetoothAddress &deviceAdapter,
18 : lowEnergySearchTimeout(-1),
19 q_ptr(parent)
20{
21 Q_UNUSED(deviceAdapter);
23}
24
26{
27}
28
30{
31 return false;
32}
33
34QBluetoothDeviceDiscoveryAgent::DiscoveryMethods QBluetoothDeviceDiscoveryAgent::supportedDiscoveryMethods()
35{
37}
38
39void QBluetoothDeviceDiscoveryAgentPrivate::start(QBluetoothDeviceDiscoveryAgent::DiscoveryMethods)
40{
43 errorString = QBluetoothDeviceDiscoveryAgent::tr("Device discovery not supported on this platform");
44
45 emit q->errorOccurred(lastError);
46}
47
49{
50}
51
52
53
55
56#include "moc_qbluetoothdevicediscoveryagent_p.cpp"
\inmodule QtBluetooth
void start(QBluetoothDeviceDiscoveryAgent::DiscoveryMethods methods)
QBluetoothDeviceDiscoveryAgentPrivate(const QBluetoothAddress &deviceAdapter, QBluetoothDeviceDiscoveryAgent *parent)
static DiscoveryMethods supportedDiscoveryMethods()
This function returns the discovery methods supported by the current platform.
QT_BEGIN_NAMESPACE void printDummyWarning()
Combined button and popup list for selecting options.
GLdouble GLdouble GLdouble GLdouble q
Definition qopenglext.h:259
#define emit
#define Q_UNUSED(x)