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
device1_bluez5_p.h
Go to the documentation of this file.
1
/*
2
* This file was generated by qdbusxml2cpp version 0.8
3
* Source file was org.bluez.Device1.xml
4
*
5
* qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
6
*
7
* This is an auto-generated file.
8
* Do not edit! All changes made to it will be lost.
9
*/
10
11
#
ifndef
DEVICE1_BLUEZ5_P_H
12
#
define
DEVICE1_BLUEZ5_P_H
13
14
//
15
// W A R N I N G
16
// -------------
17
//
18
// This file is not part of the Qt API. It exists purely as an
19
// implementation detail. This header file may change from version to
20
// version without notice, or even be removed.
21
//
22
// We mean it.
23
//
24
25
#
include
<
QtCore
/
QObject
>
26
#
include
<
QtCore
/
QByteArray
>
27
#
include
<
QtCore
/
QList
>
28
#
include
<
QtCore
/
QMap
>
29
#
include
<
QtCore
/
QString
>
30
#
include
<
QtCore
/
QStringList
>
31
#
include
<
QtCore
/
QVariant
>
32
#
include
<
QtDBus
/
QtDBus
>
33
#
include
"bluez5_helper_p.h"
34
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
35
36
namespace
QtBluetoothPrivate
{
37
38
/*
39
* Proxy class for interface org.bluez.Device1
40
*/
41
class
OrgBluezDevice1Interface
:
public
QDBusAbstractInterface
42
{
43
Q_OBJECT
44
public
:
45
static
inline
const
char
*
staticInterfaceName
()
46
{
return
"org.bluez.Device1"
; }
47
48
public
:
49
OrgBluezDevice1Interface
(
const
QString
&
service
,
const
QString
&
path
,
const
QDBusConnection
&
connection
,
QObject
*
parent
=
nullptr
);
50
51
~
OrgBluezDevice1Interface
();
52
53
Q_PROPERTY(QDBusObjectPath Adapter READ adapter)
54
inline
QDBusObjectPath
adapter
()
const
55
{
return
qvariant_cast
<
QDBusObjectPath
>(
property
(
"Adapter"
)); }
56
57
Q_PROPERTY
(
QString
Address
READ
address
)
58
inline
QString
address
()
const
59
{
return
qvariant_cast
<
QString
>(
property
(
"Address"
)); }
60
61
Q_PROPERTY
(
QString
Alias
READ
alias
WRITE
setAlias
)
62
inline
QString
alias
()
const
63
{
return
qvariant_cast
<
QString
>(
property
(
"Alias"
)); }
64
inline
void
setAlias
(
const
QString
&
value
)
65
{
setProperty
(
"Alias"
,
QVariant
::
fromValue
(
value
)); }
66
67
Q_PROPERTY
(
ushort
Appearance
READ
appearance
)
68
inline
ushort
appearance
()
const
69
{
return
qvariant_cast
<
ushort
>(
property
(
"Appearance"
)); }
70
71
Q_PROPERTY
(
bool
Blocked
READ
blocked
WRITE
setBlocked
)
72
inline
bool
blocked
()
const
73
{
return
qvariant_cast
<
bool
>(
property
(
"Blocked"
)); }
74
inline
void
setBlocked
(
bool
value
)
75
{
setProperty
(
"Blocked"
,
QVariant
::
fromValue
(
value
)); }
76
77
Q_PROPERTY
(
uint
Class
READ
classProperty
)
78
inline
uint
classProperty
()
const
79
{
return
qvariant_cast
<
uint
>(
property
(
"Class"
)); }
80
81
Q_PROPERTY
(
bool
Connected
READ
connected
)
82
inline
bool
connected
()
const
83
{
return
qvariant_cast
<
bool
>(
property
(
"Connected"
)); }
84
85
Q_PROPERTY
(
QString
Icon
READ
icon
)
86
inline
QString
icon
()
const
87
{
return
qvariant_cast
<
QString
>(
property
(
"Icon"
)); }
88
89
Q_PROPERTY
(
bool
LegacyPairing
READ
legacyPairing
)
90
inline
bool
legacyPairing
()
const
91
{
return
qvariant_cast
<
bool
>(
property
(
"LegacyPairing"
)); }
92
93
Q_PROPERTY
(
ManufacturerDataList
ManufacturerData
READ
manufacturerData
)
94
inline
ManufacturerDataList
manufacturerData
()
const
95
{
return
qvariant_cast
<
ManufacturerDataList
>(
property
(
"ManufacturerData"
)); }
96
97
Q_PROPERTY
(
QString
Modalias
READ
modalias
)
98
inline
QString
modalias
()
const
99
{
return
qvariant_cast
<
QString
>(
property
(
"Modalias"
)); }
100
101
Q_PROPERTY
(
QString
Name
READ
name
)
102
inline
QString
name
()
const
103
{
return
qvariant_cast
<
QString
>(
property
(
"Name"
)); }
104
105
Q_PROPERTY
(
bool
Paired
READ
paired
)
106
inline
bool
paired
()
const
107
{
return
qvariant_cast
<
bool
>(
property
(
"Paired"
)); }
108
109
Q_PROPERTY
(
short
RSSI
READ
rSSI
)
110
inline
short
rSSI
()
const
111
{
return
qvariant_cast
<
short
>(
property
(
"RSSI"
)); }
112
113
Q_PROPERTY
(
ServiceDataList
ServiceData
READ
serviceData
)
114
inline
ServiceDataList
serviceData
()
const
115
{
return
qvariant_cast
<
ServiceDataList
>(
property
(
"ServiceData"
)); }
116
117
Q_PROPERTY
(
bool
ServicesResolved
READ
servicesResolved
)
118
inline
bool
servicesResolved
()
const
119
{
return
qvariant_cast
<
bool
>(
property
(
"ServicesResolved"
)); }
120
121
Q_PROPERTY
(
bool
Trusted
READ
trusted
WRITE
setTrusted
)
122
inline
bool
trusted
()
const
123
{
return
qvariant_cast
<
bool
>(
property
(
"Trusted"
)); }
124
inline
void
setTrusted
(
bool
value
)
125
{
setProperty
(
"Trusted"
,
QVariant
::
fromValue
(
value
)); }
126
127
Q_PROPERTY
(
short
TxPower
READ
txPower
)
128
inline
short
txPower
()
const
129
{
return
qvariant_cast
<
short
>(
property
(
"TxPower"
)); }
130
131
Q_PROPERTY
(
QStringList
UUIDs
READ
uUIDs
)
132
inline
QStringList
uUIDs
()
const
133
{
return
qvariant_cast
<
QStringList
>(
property
(
"UUIDs"
)); }
134
135
public
Q_SLOTS
:
// METHODS
136
inline
QDBusPendingReply
<>
CancelPairing
()
137
{
138
QList
<
QVariant
>
argumentList
;
139
return
asyncCallWithArgumentList
(
QStringLiteral
(
"CancelPairing"
),
argumentList
);
140
}
141
142
inline
QDBusPendingReply
<>
Connect
()
143
{
144
QList
<
QVariant
>
argumentList
;
145
return
asyncCallWithArgumentList
(
QStringLiteral
(
"Connect"
),
argumentList
);
146
}
147
148
inline
QDBusPendingReply
<>
ConnectProfile
(
const
QString
&
UUID
)
149
{
150
QList
<
QVariant
>
argumentList
;
151
argumentList
<<
QVariant
::
fromValue
(
UUID
);
152
return
asyncCallWithArgumentList
(
QStringLiteral
(
"ConnectProfile"
),
argumentList
);
153
}
154
155
inline
QDBusPendingReply
<>
Disconnect
()
156
{
157
QList
<
QVariant
>
argumentList
;
158
return
asyncCallWithArgumentList
(
QStringLiteral
(
"Disconnect"
),
argumentList
);
159
}
160
161
inline
QDBusPendingReply
<>
DisconnectProfile
(
const
QString
&
UUID
)
162
{
163
QList
<
QVariant
>
argumentList
;
164
argumentList
<<
QVariant
::
fromValue
(
UUID
);
165
return
asyncCallWithArgumentList
(
QStringLiteral
(
"DisconnectProfile"
),
argumentList
);
166
}
167
168
inline
QDBusPendingReply
<>
Pair
()
169
{
170
QList
<
QVariant
>
argumentList
;
171
return
asyncCallWithArgumentList
(
QStringLiteral
(
"Pair"
),
argumentList
);
172
}
173
174
Q_SIGNALS
:
// SIGNALS
175
};
176
177
}
// end of namespace QtBluetoothPrivate
178
179
namespace
org
{
180
namespace
bluez
{
181
using
Device1
= ::
QtBluetoothPrivate
::
OrgBluezDevice1Interface
;
182
}
183
}
184
185
#
endif
QtBluetoothPrivate::OrgBluezDevice1Interface
Definition
device1_bluez5_p.h:42
QtBluetoothPrivate::OrgBluezDevice1Interface::~OrgBluezDevice1Interface
~OrgBluezDevice1Interface()
Definition
device1_bluez5.cpp:25
QtBluezPeripheralConnectionManager
Definition
bluezperipheralconnectionmanager_p.h:36
QtBluezPeripheralConnectionManager::reset
void reset()
Definition
bluezperipheralconnectionmanager.cpp:89
QtBluezPeripheralConnectionManager::remoteDeviceChanged
void remoteDeviceChanged(const QBluetoothAddress &address, const QString &name, quint16 mtu)
QtBluezPeripheralConnectionManager::disconnectDevices
void disconnectDevices()
Definition
bluezperipheralconnectionmanager.cpp:79
QtBluetoothPrivate
Definition
adapter1_bluez5.cpp:14
org::bluez
Definition
adapter1_bluez5_p.h:145
org::bluez::Device1
::QtBluetoothPrivate::OrgBluezDevice1Interface Device1
Definition
device1_bluez5_p.h:181
org
Definition
qxdgnotificationproxy_p.h:105
qtconnectivity
src
bluetooth
bluez
device1_bluez5_p.h
Generated on
for Qt by
1.14.0