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
gattchar1_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.GattCharacteristic1.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
GATTCHAR1_P_H
12
#
define
GATTCHAR1_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.GattCharacteristic1
39
*/
40
class
OrgBluezGattCharacteristic1Interface
:
public
QDBusAbstractInterface
41
{
42
Q_OBJECT
43
public
:
44
static
inline
const
char
*
staticInterfaceName
()
45
{
return
"org.bluez.GattCharacteristic1"
; }
46
47
public
:
48
OrgBluezGattCharacteristic1Interface
(
const
QString
&
service
,
const
QString
&
path
,
const
QDBusConnection
&
connection
,
QObject
*
parent
=
nullptr
);
49
50
~
OrgBluezGattCharacteristic1Interface
();
51
52
Q_PROPERTY(QStringList Flags READ flags)
53
inline
QStringList
flags
()
const
54
{
return
qvariant_cast
<
QStringList
>(
property
(
"Flags"
)); }
55
56
Q_PROPERTY
(
bool
Notifying
READ
notifying
)
57
inline
bool
notifying
()
const
58
{
return
qvariant_cast
<
bool
>(
property
(
"Notifying"
)); }
59
60
Q_PROPERTY
(
QDBusObjectPath
Service
READ
service
)
61
inline
QDBusObjectPath
service
()
const
62
{
return
qvariant_cast
<
QDBusObjectPath
>(
property
(
"Service"
)); }
63
64
Q_PROPERTY
(
QString
UUID
READ
uUID
)
65
inline
QString
uUID
()
const
66
{
return
qvariant_cast
<
QString
>(
property
(
"UUID"
)); }
67
68
Q_PROPERTY
(
QByteArray
Value
READ
value
)
69
inline
QByteArray
value
()
const
70
{
return
qvariant_cast
<
QByteArray
>(
property
(
"Value"
)); }
71
72
public
Q_SLOTS
:
// METHODS
73
inline
QDBusPendingReply
<
QByteArray
>
ReadValue
(
const
QVariantMap
&
options
)
74
{
75
QList
<
QVariant
>
argumentList
;
76
argumentList
<<
QVariant
::
fromValue
(
options
);
77
return
asyncCallWithArgumentList
(
QStringLiteral
(
"ReadValue"
),
argumentList
);
78
}
79
80
inline
QDBusPendingReply
<>
StartNotify
()
81
{
82
QList
<
QVariant
>
argumentList
;
83
return
asyncCallWithArgumentList
(
QStringLiteral
(
"StartNotify"
),
argumentList
);
84
}
85
86
inline
QDBusPendingReply
<>
StopNotify
()
87
{
88
QList
<
QVariant
>
argumentList
;
89
return
asyncCallWithArgumentList
(
QStringLiteral
(
"StopNotify"
),
argumentList
);
90
}
91
92
inline
QDBusPendingReply
<>
WriteValue
(
const
QByteArray
&
value
,
const
QVariantMap
&
options
)
93
{
94
QList
<
QVariant
>
argumentList
;
95
argumentList
<<
QVariant
::
fromValue
(
value
) <<
QVariant
::
fromValue
(
options
);
96
return
asyncCallWithArgumentList
(
QStringLiteral
(
"WriteValue"
),
argumentList
);
97
}
98
99
Q_SIGNALS
:
// SIGNALS
100
};
101
102
}
// end of namespace QtBluetoothPrivate
103
104
namespace
org
{
105
namespace
bluez
{
106
using
GattCharacteristic1
= ::
QtBluetoothPrivate
::
OrgBluezGattCharacteristic1Interface
;
107
}
108
}
109
110
#
endif
QtBluetoothPrivate::OrgBluezGattCharacteristic1Interface
Definition
gattchar1_p.h:41
QtBluetoothPrivate::OrgBluezGattCharacteristic1Interface::~OrgBluezGattCharacteristic1Interface
~OrgBluezGattCharacteristic1Interface()
Definition
gattchar1.cpp:25
QtBluetoothPrivate
Definition
adapter1_bluez5.cpp:14
org::bluez
Definition
adapter1_bluez5_p.h:145
org::bluez::GattCharacteristic1
::QtBluetoothPrivate::OrgBluezGattCharacteristic1Interface GattCharacteristic1
Definition
gattchar1_p.h:106
org
Definition
qxdgnotificationproxy_p.h:105
qtconnectivity
src
bluetooth
bluez
gattchar1_p.h
Generated on
for Qt by
1.14.0