Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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)
25 : QDBusAbstractAdaptor(parent)
26{
27 // constructor
28 setAutoRelaySignals(true);
29}
30
35
37{
38 // get the value of property Device
39 return qvariant_cast< QDBusObjectPath >(parent()->property("Device"));
40}
41
42QList<QDBusObjectPath> OrgBluezGattService1Adaptor::includes() const
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
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
QVariant property(const char *name) const
Returns the value of the object's name property.
Definition qobject.cpp:4323
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
const char property[13]
Definition qwizard.cpp:101