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
qbluetoothhostinfo.h
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
#
ifndef
QBLUETOOTHHOSTINFO_H
5
#
define
QBLUETOOTHHOSTINFO_H
6
7
#
include
<
QtBluetooth
/
qtbluetoothglobal
.
h
>
8
#
include
<
QtBluetooth
/
QBluetoothAddress
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QBluetoothHostInfoPrivate;
13
class
Q_BLUETOOTH_EXPORT
QBluetoothHostInfo
14
{
15
public
:
16
QBluetoothHostInfo();
17
QBluetoothHostInfo(
const
QBluetoothHostInfo &other);
18
~QBluetoothHostInfo();
19
20
QBluetoothHostInfo &operator=(
const
QBluetoothHostInfo &other);
21
friend
bool
operator==(
const
QBluetoothHostInfo &a,
const
QBluetoothHostInfo &b)
22
{
23
return
equals(a, b);
24
}
25
friend
bool
operator!=(
const
QBluetoothHostInfo &a,
const
QBluetoothHostInfo &b)
26
{
27
return
!equals(a, b);
28
}
29
30
QBluetoothAddress address()
const
;
31
void
setAddress(
const
QBluetoothAddress &address);
32
33
QString name()
const
;
34
void
setName(
const
QString &name);
35
36
private
:
37
static
bool
equals(
const
QBluetoothHostInfo &a,
const
QBluetoothHostInfo &b);
38
Q_DECLARE_PRIVATE(QBluetoothHostInfo)
39
QBluetoothHostInfoPrivate *d_ptr;
40
};
41
42
QT_END_NAMESPACE
43
44
QT_DECL_METATYPE_EXTERN(QBluetoothHostInfo, Q_BLUETOOTH_EXPORT)
45
46
#
endif
QBluetoothHostInfo
\inmodule QtBluetooth
Definition
qbluetoothhostinfo.h:14
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtconnectivity
src
bluetooth
qbluetoothhostinfo.h
Generated on
for Qt by
1.18.0