Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
leadvertisement1.cpp
Go to the documentation of this file.
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
24OrgBluezLEAdvertisement1Adaptor::OrgBluezLEAdvertisement1Adaptor(QObject *parent)
25 : QDBusAbstractAdaptor(parent)
26{
27 // constructor
28 setAutoRelaySignals(true);
29}
30
35
37{
38 // get the value of property Discoverable
39 return qvariant_cast< bool >(parent()->property("Discoverable"));
40}
41
43{
44 // set the value of property Discoverable
45 parent()->setProperty("Discoverable", QVariant::fromValue(value));
46}
47
49{
50 // get the value of property Includes
51 return qvariant_cast< QStringList >(parent()->property("Includes"));
52}
53
55{
56 // set the value of property Includes
58}
59
61{
62 // get the value of property LocalName
63 return qvariant_cast< QString >(parent()->property("LocalName"));
64}
65
67{
68 // set the value of property LocalName
70}
71
73{
74 // get the value of property ManufacturerData
75 return qvariant_cast< ManufacturerDataList >(parent()->property("ManufacturerData"));
76}
77
79{
80 // set the value of property ManufacturerData
81 parent()->setProperty("ManufacturerData", QVariant::fromValue(value));
82}
83
85{
86 // get the value of property MaxInterval
87 return qvariant_cast< uint >(parent()->property("MaxInterval"));
88}
89
91{
92 // set the value of property MaxInterval
93 parent()->setProperty("MaxInterval", QVariant::fromValue(value));
94}
95
97{
98 // get the value of property MinInterval
99 return qvariant_cast< uint >(parent()->property("MinInterval"));
100}
101
103{
104 // set the value of property MinInterval
105 parent()->setProperty("MinInterval", QVariant::fromValue(value));
106}
107
109{
110 // get the value of property ServiceUUIDs
111 return qvariant_cast< QStringList >(parent()->property("ServiceUUIDs"));
112}
113
115{
116 // set the value of property ServiceUUIDs
117 parent()->setProperty("ServiceUUIDs", QVariant::fromValue(value));
118}
119
121{
122 // get the value of property Type
123 return qvariant_cast< QString >(parent()->property("Type"));
124}
125
127{
128 // set the value of property Type
130}
131
133{
134 // handle method call org.bluez.LEAdvertisement1.Release
135 QMetaObject::invokeMethod(parent(), "Release");
136}
void setType(const QString &value)
virtual Q_CLASSINFO("D-Bus Introspection", "" " <interface name=\"org.bluez.LEAdvertisement1\">\n" " <method name=\"Release\">\n" " <annotation value=\"true\" name=\"org.freedesktop.DBus.Method.NoReply\"/>\n" " </method>\n" " <property access=\"readwrite\" type=\"s\" name=\"Type\"/>\n" " <property access=\"readwrite\" type=\"as\" name=\"ServiceUUIDs\"/>\n" " <property access=\"readwrite\" type=\"a{qv}\" name=\"ManufacturerData\">\n" " <annotation value=\"ManufacturerDataList\" name=\"org.qtproject.QtDBus.QtTypeName\"/>\n" " </property>\n" " <property access=\"readwrite\" type=\"b\" name=\"Discoverable\"/>\n" " <property access=\"readwrite\" type=\"as\" name=\"Includes\"/>\n" " <property access=\"readwrite\" type=\"s\" name=\"LocalName\"/>\n" " <property access=\"readwrite\" type=\"u\" name=\"MinInterval\"/>\n" " <property access=\"readwrite\" type=\"u\" name=\"MaxInterval\"/>\n" " </interface>\n" "") public ~OrgBluezLEAdvertisement1Adaptor()
void setManufacturerData(ManufacturerDataList value)
void setIncludes(const QStringList &value)
void setServiceUUIDs(const QStringList &value)
ManufacturerDataList manufacturerData() const
void setLocalName(const QString &value)
Definition qmap.h:187
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
bool setProperty(const char *name, const QVariant &value)
Sets the value of the object's name property to value.
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
static auto fromValue(T &&value) noexcept(std::is_nothrow_copy_constructible_v< T > &&Private::CanUseInternalSpace< T >) -> std::enable_if_t< std::conjunction_v< std::is_copy_constructible< T >, std::is_destructible< T > >, QVariant >
Definition qvariant.h:536
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
unsigned int uint
Definition qtypes.h:34
const char property[13]
Definition qwizard.cpp:101
static bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType, QGenericReturnArgument ret, QGenericArgument val0=QGenericArgument(nullptr), QGenericArgument val1=QGenericArgument(), QGenericArgument val2=QGenericArgument(), QGenericArgument val3=QGenericArgument(), QGenericArgument val4=QGenericArgument(), QGenericArgument val5=QGenericArgument(), QGenericArgument val6=QGenericArgument(), QGenericArgument val7=QGenericArgument(), QGenericArgument val8=QGenericArgument(), QGenericArgument val9=QGenericArgument())
\threadsafe This is an overloaded member function, provided for convenience. It differs from the abov...