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
gattservice1adaptor.cpp
Go to the documentation of this file.
1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Source file was org.bluez.GattService1.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
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
20namespace QtBluetoothPrivate {
21
22/*
23 * Implementation of adaptor class OrgBluezGattService1Adaptor
24 */
25
26OrgBluezGattService1Adaptor::OrgBluezGattService1Adaptor(QObject *parent)
27 : QDBusAbstractAdaptor(parent)
28{
29 // constructor
30 setAutoRelaySignals(true);
31}
32
37
38QDBusObjectPath OrgBluezGattService1Adaptor::device() const
39{
40 // get the value of property Device
41 return qvariant_cast< QDBusObjectPath >(parent()->property("Device"));
42}
43
44QList<QDBusObjectPath> OrgBluezGattService1Adaptor::includes() const
45{
46 // get the value of property Includes
47 return qvariant_cast< QList<QDBusObjectPath> >(parent()->property("Includes"));
48}
49
50bool OrgBluezGattService1Adaptor::primary() const
51{
52 // get the value of property Primary
53 return qvariant_cast< bool >(parent()->property("Primary"));
54}
55
56QString OrgBluezGattService1Adaptor::uUID() const
57{
58 // get the value of property UUID
59 return qvariant_cast< QString >(parent()->property("UUID"));
60}
61
62} // end of namespace QtBluetoothPrivate
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() override