Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
gattservice1adaptor.cpp
Go to the documentation of this file.
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -a gattservice1adaptor_p.h:gattservice1adaptor.cpp -c OrgBluezGattService1Adaptor -i bluez5_helper_p.h org.bluez.GattService1.xml
4 *
5 * qdbusxml2cpp is Copyright (C) 2022 The Qt Company Ltd.
6 *
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
9 */
10
12#include <QtCore/QMetaObject>
13#include <QtCore/QByteArray>
14#include <QtCore/QList>
15#include <QtCore/QMap>
16#include <QtCore/QString>
17#include <QtCore/QStringList>
18#include <QtCore/QVariant>
19
20/*
21 * Implementation of adaptor class OrgBluezGattService1Adaptor
22 */
23
24OrgBluezGattService1Adaptor::OrgBluezGattService1Adaptor(QObject *parent)
26{
27 // constructor
28 setAutoRelaySignals(true);
29}
30
32{
33 // destructor
34}
35
37{
38 // get the value of property Device
39 return qvariant_cast< QDBusObjectPath >(parent()->property("Device"));
40}
41
43{
44 // get the value of property Includes
45 return qvariant_cast< QList<QDBusObjectPath> >(parent()->property("Includes"));
46}
47
49{
50 // get the value of property Primary
51 return qvariant_cast< bool >(parent()->property("Primary"));
52}
53
55{
56 // get the value of property UUID
57 return qvariant_cast< QString >(parent()->property("UUID"));
58}
QList< QDBusObjectPath > includes() const
QDBusObjectPath device() const
virtual Q_CLASSINFO("D-Bus Introspection", "" " <interface name=\"org.bluez.GattService1\">\n" " <property access=\"read\" type=\"s\" name=\"UUID\"/>\n" " <property access=\"read\" type=\"o\" name=\"Device\"/>\n" " <property access=\"read\" type=\"b\" name=\"Primary\"/>\n" " <property access=\"read\" type=\"ao\" name=\"Includes\"/>\n" " </interface>\n" "") public ~OrgBluezGattService1Adaptor()
\inmodule QtDBus
Definition qlist.h:74
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
QVariant property(const char *name) const
Returns the value of the object's name property.
Definition qobject.cpp:4187
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
const char property[13]
Definition qwizard.cpp:101
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent