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
qbluetoothserver_ohos_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
QBLUETOOTHSERVER_OHOS_P_H
5
#
define
QBLUETOOTHSERVER_OHOS_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
#
include
<
QtBluetooth
/
qbluetooth
.
h
>
18
#
include
<
QtBluetooth
/
qbluetoothsocket
.
h
>
19
20
#
include
<
QtCore
/
qstring
.
h
>
21
#
include
<
QtCore
/
qtconfigmacros
.
h
>
22
#
include
<
QtCore
/
qtypes
.
h
>
23
24
#
include
<
deque
>
25
#
include
<
memory
>
26
27
QT_BEGIN_NAMESPACE
28
29
namespace
QtOhosBluetooth
{
30
31
class
QOhosBluetoothServerProxy
;
32
33
struct
QOhosBluetoothServerProxyContext
34
{
35
quint16
port
= 0;
36
QBluetooth
::
SecurityFlags
securityFlags
=
QBluetooth
::
Security
::
NoSecurity
;
37
std
::shared_ptr<
QOhosBluetoothServerProxy
>
bluetoothServerProxy
;
38
std
::
shared_ptr
<
QBluetoothSocket
>
bluetoothSocket
;
39
std
::
deque
<
std
::
unique_ptr
<
QBluetoothSocket
>>
pendingConnectionSockets
;
40
};
41
42
std
::shared_ptr<
QOhosBluetoothServerProxyContext
>
makeServerProxyContext
(quint16 port);
43
std
::shared_ptr<
QOhosBluetoothServerProxyContext
>
tryGetServerProxyContext
(quint16 port);
44
45
bool
isServiceNameAlreadyRegistered
(
const
QString &serviceName);
46
47
}
48
49
QT_END_NAMESPACE
50
51
#
endif
// QBLUETOOTHSERVER_OHOS_P_H
QtOhosBluetooth::QOhosBluetoothServerProxy
Definition
qohosbluetoothserver_p.h:34
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QtOhosBluetooth
Definition
qohosbluetoothaccess.cpp:21
QtOhosBluetooth::makeServerProxyContext
std::shared_ptr< QOhosBluetoothServerProxyContext > makeServerProxyContext(quint16 port)
Definition
qbluetoothserver_ohos_p.cpp:44
QtOhosBluetooth::isServiceNameAlreadyRegistered
bool isServiceNameAlreadyRegistered(const QString &serviceName)
Definition
qbluetoothserver_ohos_p.cpp:72
QtOhosBluetooth::tryGetServerProxyContext
std::shared_ptr< QOhosBluetoothServerProxyContext > tryGetServerProxyContext(quint16 port)
Definition
qbluetoothserver_ohos_p.cpp:63
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
QtOhosBluetooth::QOhosBluetoothServerProxyContext
Definition
qbluetoothserver_ohos_p.h:34
QtOhosBluetooth::QOhosBluetoothServerProxyContext::pendingConnectionSockets
std::deque< std::unique_ptr< QBluetoothSocket > > pendingConnectionSockets
Definition
qbluetoothserver_ohos_p.h:39
QtOhosBluetooth::QOhosBluetoothServerProxyContext::port
quint16 port
Definition
qbluetoothserver_ohos_p.h:35
QtOhosBluetooth::QOhosBluetoothServerProxyContext::bluetoothServerProxy
std::shared_ptr< QOhosBluetoothServerProxy > bluetoothServerProxy
Definition
qbluetoothserver_ohos_p.h:37
QtOhosBluetooth::QOhosBluetoothServerProxyContext::securityFlags
QBluetooth::SecurityFlags securityFlags
Definition
qbluetoothserver_ohos_p.h:36
QtOhosBluetooth::QOhosBluetoothServerProxyContext::bluetoothSocket
std::shared_ptr< QBluetoothSocket > bluetoothSocket
Definition
qbluetoothserver_ohos_p.h:38
qtconnectivity
src
bluetooth
qbluetoothserver_ohos_p.h
Generated on
for Qt by
1.16.1