10 #include "../../ubuntu/download_manager/properties_interface.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'properties_interface.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.2. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
21 QT_BEGIN_MOC_NAMESPACE
23 QT_WARNING_DISABLE_DEPRECATED
28 #define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_PropertiesInterface_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
52 "PropertiesInterface\0PropertiesChanged\0"
53 "\0interface_name\0changed_properties\0"
54 "invalidated_properties\0Get\0"
55 "QDBusPendingReply<QDBusVariant>\0"
56 "property_name\0GetAll\0"
57 "QDBusPendingReply<QVariantMap>\0Set\0"
58 "QDBusPendingReply<>\0QDBusVariant\0value"
62 static const uint qt_meta_data_PropertiesInterface[] = {
84 QMetaType::Void, QMetaType::QString, QMetaType::QVariantMap, QMetaType::QStringList, 3, 4, 5,
87 0x80000000 | 7, QMetaType::QString, QMetaType::QString, 3, 8,
88 0x80000000 | 10, QMetaType::QString, 3,
89 0x80000000 | 12, QMetaType::QString, QMetaType::QString, 0x80000000 | 13, 3, 8, 14,
94 void PropertiesInterface::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
96 if (_c == QMetaObject::InvokeMetaMethod) {
100 case 0: _t->
PropertiesChanged((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QVariantMap(*)
>(_a[2])),(*
reinterpret_cast< const QStringList(*)
>(_a[3])));
break;
101 case 1: { QDBusPendingReply<QDBusVariant> _r = _t->Get((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
102 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<QDBusVariant>*
>(_a[0]) = std::move(_r); }
break;
103 case 2: { QDBusPendingReply<QVariantMap> _r = _t->GetAll((*
reinterpret_cast< const QString(*)
>(_a[1])));
104 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<QVariantMap>*
>(_a[0]) = std::move(_r); }
break;
105 case 3: { QDBusPendingReply<> _r = _t->Set((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< const QDBusVariant(*)
>(_a[3])));
106 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
109 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
111 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
113 switch (*
reinterpret_cast<int*
>(_a[1])) {
114 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
116 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QDBusVariant >();
break;
120 }
else if (_c == QMetaObject::IndexOfMethod) {
121 int *result =
reinterpret_cast<int *
>(_a[0]);
123 using _t = void (
PropertiesInterface::*)(
const QString & ,
const QVariantMap & ,
const QStringList & );
132 QT_INIT_METAOBJECT
const QMetaObject PropertiesInterface::staticMetaObject = { {
133 QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
134 qt_meta_stringdata_PropertiesInterface.
data,
135 qt_meta_data_PropertiesInterface,
142 const QMetaObject *PropertiesInterface::metaObject()
const
144 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
147 void *PropertiesInterface::qt_metacast(
const char *_clname)
149 if (!_clname)
return nullptr;
150 if (!strcmp(_clname, qt_meta_stringdata_PropertiesInterface.
stringdata0))
151 return static_cast<void*
>(
this);
152 return QDBusAbstractInterface::qt_metacast(_clname);
155 int PropertiesInterface::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
157 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
160 if (_c == QMetaObject::InvokeMetaMethod) {
162 qt_static_metacall(
this, _c, _id, _a);
164 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
166 qt_static_metacall(
this, _c, _id, _a);
175 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t3))) };
176 QMetaObject::activate(
this, &staticMetaObject, 0, _a);