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
gattdesc1_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.GattDescriptor1.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
GATTDESC1_P_H
12
#
define
GATTDESC1_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.GattDescriptor1
39
*/
40
class
OrgBluezGattDescriptor1Interface
:
public
QDBusAbstractInterface
41
{
42
Q_OBJECT
43
public
:
44
static
inline
const
char
*
staticInterfaceName
()
45
{
return
"org.bluez.GattDescriptor1"
; }
46
47
public
:
48
OrgBluezGattDescriptor1Interface
(
const
QString
&
service
,
const
QString
&
path
,
const
QDBusConnection
&
connection
,
QObject
*
parent
=
nullptr
);
49
50
~
OrgBluezGattDescriptor1Interface
();
51
52
Q_PROPERTY(QDBusObjectPath Characteristic READ characteristic)
53
inline
QDBusObjectPath
characteristic
()
const
54
{
return
qvariant_cast
<
QDBusObjectPath
>(
property
(
"Characteristic"
)); }
55
56
Q_PROPERTY
(
QString
UUID
READ
uUID
)
57
inline
QString
uUID
()
const
58
{
return
qvariant_cast
<
QString
>(
property
(
"UUID"
)); }
59
60
Q_PROPERTY
(
QByteArray
Value
READ
value
)
61
inline
QByteArray
value
()
const
62
{
return
qvariant_cast
<
QByteArray
>(
property
(
"Value"
)); }
63
64
public
Q_SLOTS
:
// METHODS
65
inline
QDBusPendingReply
<
QByteArray
>
ReadValue
(
const
QVariantMap
&
options
)
66
{
67
QList
<
QVariant
>
argumentList
;
68
argumentList
<<
QVariant
::
fromValue
(
options
);
69
return
asyncCallWithArgumentList
(
QStringLiteral
(
"ReadValue"
),
argumentList
);
70
}
71
72
inline
QDBusPendingReply
<>
WriteValue
(
const
QByteArray
&
value
,
const
QVariantMap
&
options
)
73
{
74
QList
<
QVariant
>
argumentList
;
75
argumentList
<<
QVariant
::
fromValue
(
value
) <<
QVariant
::
fromValue
(
options
);
76
return
asyncCallWithArgumentList
(
QStringLiteral
(
"WriteValue"
),
argumentList
);
77
}
78
79
Q_SIGNALS
:
// SIGNALS
80
};
81
82
}
// end of namespace QtBluetoothPrivate
83
84
namespace
org
{
85
namespace
bluez
{
86
using
GattDescriptor1
= ::
QtBluetoothPrivate
::
OrgBluezGattDescriptor1Interface
;
87
}
88
}
89
90
#
endif
QtBluetoothPrivate::OrgBluezGattDescriptor1Interface
Definition
gattdesc1_p.h:41
QtBluetoothPrivate::OrgBluezGattDescriptor1Interface::~OrgBluezGattDescriptor1Interface
~OrgBluezGattDescriptor1Interface()
Definition
gattdesc1.cpp:25
QtBluetoothPrivate
Definition
adapter1_bluez5.cpp:14
org::bluez
Definition
adapter1_bluez5_p.h:145
org::bluez::GattDescriptor1
::QtBluetoothPrivate::OrgBluezGattDescriptor1Interface GattDescriptor1
Definition
gattdesc1_p.h:86
org
Definition
qxdgnotificationproxy_p.h:105
qtconnectivity
src
bluetooth
bluez
gattdesc1_p.h
Generated on
for Qt by
1.14.0