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
11#include "gattservice1adaptor_p.h"
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
33OrgBluezGattService1Adaptor::~OrgBluezGattService1Adaptor()
34{
35 // destructor
36}
37
38QDBusObjectPath OrgBluezGattService1Adaptor::device() const
39{
40 // get the value of property Device
41 return qvariant_cast< QDBusObjectPath >(v: parent()->property(name: "Device"));
42}
43
44QList<QDBusObjectPath> OrgBluezGattService1Adaptor::includes() const
45{
46 // get the value of property Includes
47 return qvariant_cast< QList<QDBusObjectPath> >(v: parent()->property(name: "Includes"));
48}
49
50bool OrgBluezGattService1Adaptor::primary() const
51{
52 // get the value of property Primary
53 return qvariant_cast< bool >(v: parent()->property(name: "Primary"));
54}
55
56QString OrgBluezGattService1Adaptor::uUID() const
57{
58 // get the value of property UUID
59 return qvariant_cast< QString >(v: parent()->property(name: "UUID"));
60}
61
62} // end of namespace QtBluetoothPrivate
63

source code of qtconnectivity/src/bluetooth/bluez/gattservice1adaptor.cpp