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