summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/bluez/leadvertisement1.cpp
blob: e1b91c4ac5dd9e854d1f15216e3e5e92057552a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -a leadvertisement1_p.h:leadvertisement1.cpp -c OrgBluezLEAdvertisement1Adaptor -i bluez5_helper_p.h org.bluez.LEAdvertisement1.xml
 *
 * qdbusxml2cpp is Copyright (C) 2022 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "leadvertisement1_p.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class OrgBluezLEAdvertisement1Adaptor
 */

OrgBluezLEAdvertisement1Adaptor::OrgBluezLEAdvertisement1Adaptor(QObject *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

OrgBluezLEAdvertisement1Adaptor::~OrgBluezLEAdvertisement1Adaptor()
{
    // destructor
}

bool OrgBluezLEAdvertisement1Adaptor::discoverable() const
{
    // get the value of property Discoverable
    return qvariant_cast< bool >(parent()->property("Discoverable"));
}

void OrgBluezLEAdvertisement1Adaptor::setDiscoverable(bool value)
{
    // set the value of property Discoverable
    parent()->setProperty("Discoverable", QVariant::fromValue(value));
}

QStringList OrgBluezLEAdvertisement1Adaptor::includes() const
{
    // get the value of property Includes
    return qvariant_cast< QStringList >(parent()->property("Includes"));
}

void OrgBluezLEAdvertisement1Adaptor::setIncludes(const QStringList &value)
{
    // set the value of property Includes
    parent()->setProperty("Includes", QVariant::fromValue(value));
}

QString OrgBluezLEAdvertisement1Adaptor::localName() const
{
    // get the value of property LocalName
    return qvariant_cast< QString >(parent()->property("LocalName"));
}

void OrgBluezLEAdvertisement1Adaptor::setLocalName(const QString &value)
{
    // set the value of property LocalName
    parent()->setProperty("LocalName", QVariant::fromValue(value));
}

ManufacturerDataList OrgBluezLEAdvertisement1Adaptor::manufacturerData() const
{
    // get the value of property ManufacturerData
    return qvariant_cast< ManufacturerDataList >(parent()->property("ManufacturerData"));
}

void OrgBluezLEAdvertisement1Adaptor::setManufacturerData(ManufacturerDataList value)
{
    // set the value of property ManufacturerData
    parent()->setProperty("ManufacturerData", QVariant::fromValue(value));
}

uint OrgBluezLEAdvertisement1Adaptor::maxInterval() const
{
    // get the value of property MaxInterval
    return qvariant_cast< uint >(parent()->property("MaxInterval"));
}

void OrgBluezLEAdvertisement1Adaptor::setMaxInterval(uint value)
{
    // set the value of property MaxInterval
    parent()->setProperty("MaxInterval", QVariant::fromValue(value));
}

uint OrgBluezLEAdvertisement1Adaptor::minInterval() const
{
    // get the value of property MinInterval
    return qvariant_cast< uint >(parent()->property("MinInterval"));
}

void OrgBluezLEAdvertisement1Adaptor::setMinInterval(uint value)
{
    // set the value of property MinInterval
    parent()->setProperty("MinInterval", QVariant::fromValue(value));
}

QStringList OrgBluezLEAdvertisement1Adaptor::serviceUUIDs() const
{
    // get the value of property ServiceUUIDs
    return qvariant_cast< QStringList >(parent()->property("ServiceUUIDs"));
}

void OrgBluezLEAdvertisement1Adaptor::setServiceUUIDs(const QStringList &value)
{
    // set the value of property ServiceUUIDs
    parent()->setProperty("ServiceUUIDs", QVariant::fromValue(value));
}

QString OrgBluezLEAdvertisement1Adaptor::type() const
{
    // get the value of property Type
    return qvariant_cast< QString >(parent()->property("Type"));
}

void OrgBluezLEAdvertisement1Adaptor::setType(const QString &value)
{
    // set the value of property Type
    parent()->setProperty("Type", QVariant::fromValue(value));
}

void OrgBluezLEAdvertisement1Adaptor::Release()
{
    // handle method call org.bluez.LEAdvertisement1.Release
    QMetaObject::invokeMethod(parent(), "Release");
}