Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
4
#
include
"qbluetoothdevicediscoveryagent.h"
5
#
include
"qbluetoothdevicediscoveryagent_p.h"
6
#
include
"qbluetoothaddress.h"
7
#
include
"qbluetoothuuid.h"
8
9
#
include
"dummy/dummy_helper_p.h"
10
11
#
define
QT_DEVICEDISCOVERY_DEBUG
12
13
QT_BEGIN_NAMESPACE
14
15
QBluetoothDeviceDiscoveryAgentPrivate::QBluetoothDeviceDiscoveryAgentPrivate(
16
const
QBluetoothAddress &deviceAdapter,
17
QBluetoothDeviceDiscoveryAgent *parent)
18
: lowEnergySearchTimeout(-1),
19
q_ptr(parent)
20
{
21
Q_UNUSED(deviceAdapter);
22
printDummyWarning();
23
}
24
25
QBluetoothDeviceDiscoveryAgentPrivate::~QBluetoothDeviceDiscoveryAgentPrivate()
26
{
27
}
28
29
bool
QBluetoothDeviceDiscoveryAgentPrivate::isActive()
const
30
{
31
return
false
;
32
}
33
34
QBluetoothDeviceDiscoveryAgent::DiscoveryMethods QBluetoothDeviceDiscoveryAgent::supportedDiscoveryMethods()
35
{
36
return
QBluetoothDeviceDiscoveryAgent::NoMethod;
37
}
38
39
void
QBluetoothDeviceDiscoveryAgentPrivate::start(QBluetoothDeviceDiscoveryAgent::DiscoveryMethods)
40
{
41
Q_Q(QBluetoothDeviceDiscoveryAgent);
42
lastError = QBluetoothDeviceDiscoveryAgent::UnsupportedPlatformError;
43
errorString = QBluetoothDeviceDiscoveryAgent::tr(
"Device discovery not supported on this platform"
);
44
45
emit q->errorOccurred(lastError);
46
}
47
48
void
QBluetoothDeviceDiscoveryAgentPrivate::stop()
49
{
50
}
51
52
53
54
QT_END_NAMESPACE
55
56
#
include
"moc_qbluetoothdevicediscoveryagent_p.cpp"
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtconnectivity
src
bluetooth
qbluetoothdevicediscoveryagent_p.cpp
Generated on
for Qt by
1.18.0