Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohosbluetoothlocaldevice_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 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#ifndef QOHOSBLUETOOTHLOCALDEVICE_P_H
5#define QOHOSBLUETOOTHLOCALDEVICE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtBluetooth/private/qohosbluetoothcommon_p.h>
19#include <QtBluetooth/private/qohosbluetoothenums_p.h>
20
21#include <QtCore/qobject.h>
22#include <QtCore/qstring.h>
23#include <QtCore/qtconfigmacros.h>
24#include <QtCore/private/qohoscommon_p.h>
25
26#include <memory>
27#include <optional>
28
29QT_BEGIN_NAMESPACE
30
31namespace QtOhosBluetooth {
32
34{
36
37public:
39
40 static std::shared_ptr<QOhosBluetoothLocalDeviceProxy> instance();
41
45
49
50protected:
52
53private:
54 QOhosSupplier<std::optional<ScanMode>> m_scanModeSupplier;
55};
56
57}
58
59QT_END_NAMESPACE
60
61#endif // QOHOSBLUETOOTHLOCALDEVICE_P_H
std::optional< QOhosBluetoothErrorCode > trySetBluetoothScanMode(ScanMode scanMode)
static std::shared_ptr< QOhosBluetoothLocalDeviceProxy > instance()
Combined button and popup list for selecting options.