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
adapter1_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.Adapter1.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
ADAPTER1_BLUEZ5_P_H
12
#
define
ADAPTER1_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
<
QtCore
/
private
/
qglobal_p
.
h
>
34
35
namespace
QtBluetoothPrivate
{
36
37
/*
38
* Proxy class for interface org.bluez.Adapter1
39
*/
40
class
OrgBluezAdapter1Interface
:
public
QDBusAbstractInterface
41
{
42
Q_OBJECT
43
public
:
44
static
inline
const
char
*
staticInterfaceName
()
45
{
return
"org.bluez.Adapter1"
; }
46
47
public
:
48
OrgBluezAdapter1Interface
(
const
QString
&
service
,
const
QString
&
path
,
const
QDBusConnection
&
connection
,
QObject
*
parent
=
nullptr
);
49
50
~
OrgBluezAdapter1Interface
();
51
52
Q_PROPERTY(QString Address READ address)
53
inline
QString
address
()
const
54
{
return
qvariant_cast
<
QString
>(
property
(
"Address"
)); }
55
56
Q_PROPERTY
(
QString
Alias
READ
alias
WRITE
setAlias
)
57
inline
QString
alias
()
const
58
{
return
qvariant_cast
<
QString
>(
property
(
"Alias"
)); }
59
inline
void
setAlias
(
const
QString
&
value
)
60
{
setProperty
(
"Alias"
,
QVariant
::
fromValue
(
value
)); }
61
62
Q_PROPERTY
(
uint
Class
READ
classProperty
)
63
inline
uint
classProperty
()
const
64
{
return
qvariant_cast
<
uint
>(
property
(
"Class"
)); }
65
66
Q_PROPERTY
(
bool
Discoverable
READ
discoverable
WRITE
setDiscoverable
)
67
inline
bool
discoverable
()
const
68
{
return
qvariant_cast
<
bool
>(
property
(
"Discoverable"
)); }
69
inline
void
setDiscoverable
(
bool
value
)
70
{
setProperty
(
"Discoverable"
,
QVariant
::
fromValue
(
value
)); }
71
72
Q_PROPERTY
(
uint
DiscoverableTimeout
READ
discoverableTimeout
WRITE
setDiscoverableTimeout
)
73
inline
uint
discoverableTimeout
()
const
74
{
return
qvariant_cast
<
uint
>(
property
(
"DiscoverableTimeout"
)); }
75
inline
void
setDiscoverableTimeout
(
uint
value
)
76
{
setProperty
(
"DiscoverableTimeout"
,
QVariant
::
fromValue
(
value
)); }
77
78
Q_PROPERTY
(
bool
Discovering
READ
discovering
)
79
inline
bool
discovering
()
const
80
{
return
qvariant_cast
<
bool
>(
property
(
"Discovering"
)); }
81
82
Q_PROPERTY
(
QString
Modalias
READ
modalias
)
83
inline
QString
modalias
()
const
84
{
return
qvariant_cast
<
QString
>(
property
(
"Modalias"
)); }
85
86
Q_PROPERTY
(
QString
Name
READ
name
)
87
inline
QString
name
()
const
88
{
return
qvariant_cast
<
QString
>(
property
(
"Name"
)); }
89
90
Q_PROPERTY
(
bool
Pairable
READ
pairable
WRITE
setPairable
)
91
inline
bool
pairable
()
const
92
{
return
qvariant_cast
<
bool
>(
property
(
"Pairable"
)); }
93
inline
void
setPairable
(
bool
value
)
94
{
setProperty
(
"Pairable"
,
QVariant
::
fromValue
(
value
)); }
95
96
Q_PROPERTY
(
uint
PairableTimeout
READ
pairableTimeout
WRITE
setPairableTimeout
)
97
inline
uint
pairableTimeout
()
const
98
{
return
qvariant_cast
<
uint
>(
property
(
"PairableTimeout"
)); }
99
inline
void
setPairableTimeout
(
uint
value
)
100
{
setProperty
(
"PairableTimeout"
,
QVariant
::
fromValue
(
value
)); }
101
102
Q_PROPERTY
(
bool
Powered
READ
powered
WRITE
setPowered
)
103
inline
bool
powered
()
const
104
{
return
qvariant_cast
<
bool
>(
property
(
"Powered"
)); }
105
inline
void
setPowered
(
bool
value
)
106
{
setProperty
(
"Powered"
,
QVariant
::
fromValue
(
value
)); }
107
108
Q_PROPERTY
(
QStringList
UUIDs
READ
uUIDs
)
109
inline
QStringList
uUIDs
()
const
110
{
return
qvariant_cast
<
QStringList
>(
property
(
"UUIDs"
)); }
111
112
public
Q_SLOTS
:
// METHODS
113
inline
QDBusPendingReply
<>
RemoveDevice
(
const
QDBusObjectPath
&
device
)
114
{
115
QList
<
QVariant
>
argumentList
;
116
argumentList
<<
QVariant
::
fromValue
(
device
);
117
return
asyncCallWithArgumentList
(
QStringLiteral
(
"RemoveDevice"
),
argumentList
);
118
}
119
120
inline
QDBusPendingReply
<>
SetDiscoveryFilter
(
const
QVariantMap
&
properties
)
121
{
122
QList
<
QVariant
>
argumentList
;
123
argumentList
<<
QVariant
::
fromValue
(
properties
);
124
return
asyncCallWithArgumentList
(
QStringLiteral
(
"SetDiscoveryFilter"
),
argumentList
);
125
}
126
127
inline
QDBusPendingReply
<>
StartDiscovery
()
128
{
129
QList
<
QVariant
>
argumentList
;
130
return
asyncCallWithArgumentList
(
QStringLiteral
(
"StartDiscovery"
),
argumentList
);
131
}
132
133
inline
QDBusPendingReply
<>
StopDiscovery
()
134
{
135
QList
<
QVariant
>
argumentList
;
136
return
asyncCallWithArgumentList
(
QStringLiteral
(
"StopDiscovery"
),
argumentList
);
137
}
138
139
Q_SIGNALS
:
// SIGNALS
140
};
141
142
}
// end of namespace QtBluetoothPrivate
143
144
namespace
org
{
145
namespace
bluez
{
146
using
Adapter1
= ::
QtBluetoothPrivate
::
OrgBluezAdapter1Interface
;
147
}
148
}
149
150
#
endif
QtBluetoothPrivate::OrgBluezAdapter1Interface
Definition
adapter1_bluez5_p.h:41
QtBluetoothPrivate::OrgBluezAdapter1Interface::~OrgBluezAdapter1Interface
~OrgBluezAdapter1Interface()
Definition
adapter1_bluez5.cpp:25
QtBluetoothPrivate
Definition
adapter1_bluez5.cpp:14
org::bluez
Definition
adapter1_bluez5_p.h:145
org::bluez::Adapter1
::QtBluetoothPrivate::OrgBluezAdapter1Interface Adapter1
Definition
adapter1_bluez5_p.h:146
org
Definition
qxdgnotificationproxy_p.h:105
qtconnectivity
src
bluetooth
bluez
adapter1_bluez5_p.h
Generated on
for Qt by
1.14.0