| 1 | /* | 
|---|---|
| 2 | * This file was generated by qdbusxml2cpp version 0.8 | 
| 3 | * Command line was: qdbusxml2cpp -a leadvertisement1_p.h:leadvertisement1.cpp -c OrgBluezLEAdvertisement1Adaptor -i bluez5_helper_p.h org.bluez.LEAdvertisement1.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 "leadvertisement1_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 OrgBluezLEAdvertisement1Adaptor | 
| 22 | */ | 
| 23 | |
| 24 | OrgBluezLEAdvertisement1Adaptor::OrgBluezLEAdvertisement1Adaptor(QObject *parent) | 
| 25 | : QDBusAbstractAdaptor(parent) | 
| 26 | { | 
| 27 | // constructor | 
| 28 | setAutoRelaySignals(true); | 
| 29 | } | 
| 30 | |
| 31 | OrgBluezLEAdvertisement1Adaptor::~OrgBluezLEAdvertisement1Adaptor() | 
| 32 | { | 
| 33 | // destructor | 
| 34 | } | 
| 35 | |
| 36 | bool OrgBluezLEAdvertisement1Adaptor::discoverable() const | 
| 37 | { | 
| 38 | // get the value of property Discoverable | 
| 39 |     return qvariant_cast< bool >(v: parent()->property(name: "Discoverable"));  | 
| 40 | } | 
| 41 | |
| 42 | void OrgBluezLEAdvertisement1Adaptor::setDiscoverable(bool value) | 
| 43 | { | 
| 44 | // set the value of property Discoverable | 
| 45 |     parent()->setProperty(name: "Discoverable", value: QVariant::fromValue(value));  | 
| 46 | } | 
| 47 | |
| 48 | QStringList OrgBluezLEAdvertisement1Adaptor::includes() const | 
| 49 | { | 
| 50 | // get the value of property Includes | 
| 51 |     return qvariant_cast< QStringList >(v: parent()->property(name: "Includes"));  | 
| 52 | } | 
| 53 | |
| 54 | void OrgBluezLEAdvertisement1Adaptor::setIncludes(const QStringList &value) | 
| 55 | { | 
| 56 | // set the value of property Includes | 
| 57 |     parent()->setProperty(name: "Includes", value: QVariant::fromValue(value));  | 
| 58 | } | 
| 59 | |
| 60 | QString OrgBluezLEAdvertisement1Adaptor::localName() const | 
| 61 | { | 
| 62 | // get the value of property LocalName | 
| 63 |     return qvariant_cast< QString >(v: parent()->property(name: "LocalName"));  | 
| 64 | } | 
| 65 | |
| 66 | void OrgBluezLEAdvertisement1Adaptor::setLocalName(const QString &value) | 
| 67 | { | 
| 68 | // set the value of property LocalName | 
| 69 |     parent()->setProperty(name: "LocalName", value: QVariant::fromValue(value));  | 
| 70 | } | 
| 71 | |
| 72 | ManufacturerDataList OrgBluezLEAdvertisement1Adaptor::manufacturerData() const | 
| 73 | { | 
| 74 | // get the value of property ManufacturerData | 
| 75 |     return qvariant_cast< ManufacturerDataList >(v: parent()->property(name: "ManufacturerData"));  | 
| 76 | } | 
| 77 | |
| 78 | void OrgBluezLEAdvertisement1Adaptor::setManufacturerData(ManufacturerDataList value) | 
| 79 | { | 
| 80 | // set the value of property ManufacturerData | 
| 81 |     parent()->setProperty(name: "ManufacturerData", value: QVariant::fromValue(value));  | 
| 82 | } | 
| 83 | |
| 84 | uint OrgBluezLEAdvertisement1Adaptor::maxInterval() const | 
| 85 | { | 
| 86 | // get the value of property MaxInterval | 
| 87 |     return qvariant_cast< uint >(v: parent()->property(name: "MaxInterval"));  | 
| 88 | } | 
| 89 | |
| 90 | void OrgBluezLEAdvertisement1Adaptor::setMaxInterval(uint value) | 
| 91 | { | 
| 92 | // set the value of property MaxInterval | 
| 93 |     parent()->setProperty(name: "MaxInterval", value: QVariant::fromValue(value));  | 
| 94 | } | 
| 95 | |
| 96 | uint OrgBluezLEAdvertisement1Adaptor::minInterval() const | 
| 97 | { | 
| 98 | // get the value of property MinInterval | 
| 99 |     return qvariant_cast< uint >(v: parent()->property(name: "MinInterval"));  | 
| 100 | } | 
| 101 | |
| 102 | void OrgBluezLEAdvertisement1Adaptor::setMinInterval(uint value) | 
| 103 | { | 
| 104 | // set the value of property MinInterval | 
| 105 |     parent()->setProperty(name: "MinInterval", value: QVariant::fromValue(value));  | 
| 106 | } | 
| 107 | |
| 108 | QStringList OrgBluezLEAdvertisement1Adaptor::serviceUUIDs() const | 
| 109 | { | 
| 110 | // get the value of property ServiceUUIDs | 
| 111 |     return qvariant_cast< QStringList >(v: parent()->property(name: "ServiceUUIDs"));  | 
| 112 | } | 
| 113 | |
| 114 | void OrgBluezLEAdvertisement1Adaptor::setServiceUUIDs(const QStringList &value) | 
| 115 | { | 
| 116 | // set the value of property ServiceUUIDs | 
| 117 |     parent()->setProperty(name: "ServiceUUIDs", value: QVariant::fromValue(value));  | 
| 118 | } | 
| 119 | |
| 120 | QString OrgBluezLEAdvertisement1Adaptor::type() const | 
| 121 | { | 
| 122 | // get the value of property Type | 
| 123 |     return qvariant_cast< QString >(v: parent()->property(name: "Type"));  | 
| 124 | } | 
| 125 | |
| 126 | void OrgBluezLEAdvertisement1Adaptor::setType(const QString &value) | 
| 127 | { | 
| 128 | // set the value of property Type | 
| 129 |     parent()->setProperty(name: "Type", value: QVariant::fromValue(value));  | 
| 130 | } | 
| 131 | |
| 132 | void OrgBluezLEAdvertisement1Adaptor::Release() | 
| 133 | { | 
| 134 | // handle method call org.bluez.LEAdvertisement1.Release | 
| 135 |     QMetaObject::invokeMethod(obj: parent(), member: "Release");  | 
| 136 | } | 
| 137 | 
