| 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 | |
| 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 | |
| 20 | /* | 
| 21 | * Implementation of adaptor class OrgBluezGattService1Adaptor | 
| 22 | */ | 
| 23 | |
| 24 | OrgBluezGattService1Adaptor::OrgBluezGattService1Adaptor(QObject *parent) | 
| 25 | : QDBusAbstractAdaptor(parent) | 
| 26 | { | 
| 27 | // constructor | 
| 28 | setAutoRelaySignals(true); | 
| 29 | } | 
| 30 | |
| 31 | OrgBluezGattService1Adaptor::~OrgBluezGattService1Adaptor() | 
| 32 | { | 
| 33 | // destructor | 
| 34 | } | 
| 35 | |
| 36 | QDBusObjectPath OrgBluezGattService1Adaptor::device() const | 
| 37 | { | 
| 38 | // get the value of property Device | 
| 39 |     return qvariant_cast< QDBusObjectPath >(v: parent()->property(name: "Device"));  | 
| 40 | } | 
| 41 | |
| 42 | QList<QDBusObjectPath> OrgBluezGattService1Adaptor::includes() const | 
| 43 | { | 
| 44 | // get the value of property Includes | 
| 45 |     return qvariant_cast< QList<QDBusObjectPath> >(v: parent()->property(name: "Includes"));  | 
| 46 | } | 
| 47 | |
| 48 | bool OrgBluezGattService1Adaptor::primary() const | 
| 49 | { | 
| 50 | // get the value of property Primary | 
| 51 |     return qvariant_cast< bool >(v: parent()->property(name: "Primary"));  | 
| 52 | } | 
| 53 | |
| 54 | QString OrgBluezGattService1Adaptor::uUID() const | 
| 55 | { | 
| 56 | // get the value of property UUID | 
| 57 |     return qvariant_cast< QString >(v: parent()->property(name: "UUID"));  | 
| 58 | } | 
| 59 | 
