Ubuntu Download Manager: /build/ubuntu-download-manager-git/src/ubuntu-download-manager/src/downloads/client/ubuntu-download-manager-client_autogen/KVAQPNROTY/moc_properties_interface.cpp Source File

Ubuntu Download Manager 1.2.0 A session-wide downloading service |

moc_properties_interface.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'properties_interface.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include <memory>
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.)"
19 #endif
20
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
24 struct qt_meta_stringdata_PropertiesInterface_t {
25 QByteArrayData data[15];
26 char stringdata0[227];
27 };
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)) \
32 )
33 static const qt_meta_stringdata_PropertiesInterface_t qt_meta_stringdata_PropertiesInterface = {
34 {
35 QT_MOC_LITERAL(0, 0, 19), // "PropertiesInterface"
36 QT_MOC_LITERAL(1, 20, 17), // "PropertiesChanged"
37 QT_MOC_LITERAL(2, 38, 0), // ""
38 QT_MOC_LITERAL(3, 39, 14), // "interface_name"
39 QT_MOC_LITERAL(4, 54, 18), // "changed_properties"
40 QT_MOC_LITERAL(5, 73, 22), // "invalidated_properties"
41 QT_MOC_LITERAL(6, 96, 3), // "Get"
42 QT_MOC_LITERAL(7, 100, 31), // "QDBusPendingReply<QDBusVariant>"
43 QT_MOC_LITERAL(8, 132, 13), // "property_name"
44 QT_MOC_LITERAL(9, 146, 6), // "GetAll"
45 QT_MOC_LITERAL(10, 153, 30), // "QDBusPendingReply<QVariantMap>"
46 QT_MOC_LITERAL(11, 184, 3), // "Set"
47 QT_MOC_LITERAL(12, 188, 19), // "QDBusPendingReply<>"
48 QT_MOC_LITERAL(13, 208, 12), // "QDBusVariant"
49 QT_MOC_LITERAL(14, 221, 5) // "value"
50
51 },
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"
59 };
60 #undef QT_MOC_LITERAL
61
62 static const uint qt_meta_data_PropertiesInterface[] = {
63
64 // content:
65 8, // revision
66 0, // classname
67 0, 0, // classinfo
68 4, 14, // methods
69 0, 0, // properties
70 0, 0, // enums/sets
71 0, 0, // constructors
72 0, // flags
73 1, // signalCount
74
75 // signals: name, argc, parameters, tag, flags
76 1, 3, 34, 2, 0x06 /* Public */,
77
78 // slots: name, argc, parameters, tag, flags
79 6, 2, 41, 2, 0x0a /* Public */,
80 9, 1, 46, 2, 0x0a /* Public */,
81 11, 3, 49, 2, 0x0a /* Public */,
82
83 // signals: parameters
84 QMetaType::Void, QMetaType::QString, QMetaType::QVariantMap, QMetaType::QStringList, 3, 4, 5,
85
86 // slots: parameters
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,
90
91 0 // eod
92 };
93
94 void PropertiesInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
95 {
96 if (_c == QMetaObject::InvokeMetaMethod) {
97 auto *_t = static_cast<PropertiesInterface *>(_o);
98 Q_UNUSED(_t)
99 switch (_id) {
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;
107 default: ;
108 }
109 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
110 switch (_id) {
111 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
112 case 3:
113 switch (*reinterpret_cast<int*>(_a[1])) {
114 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
115 case 2:
116 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusVariant >(); break;
117 }
118 break;
119 }
120 } else if (_c == QMetaObject::IndexOfMethod) {
121 int *result = reinterpret_cast<int *>(_a[0]);
122 {
123 using _t = void (PropertiesInterface::*)(const QString & , const QVariantMap & , const QStringList & );
124 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PropertiesInterface::PropertiesChanged)) {
125 *result = 0;
126 return;
127 }
128 }
129 }
130 }
131
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,
136 qt_static_metacall,
137 nullptr,
138 nullptr
139 } };
140
141
142 const QMetaObject *PropertiesInterface::metaObject() const
143 {
144 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
145 }
146
147 void *PropertiesInterface::qt_metacast(const char *_clname)
148 {
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);
153 }
154
155 int PropertiesInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
156 {
157 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
158 if (_id < 0)
159 return _id;
160 if (_c == QMetaObject::InvokeMetaMethod) {
161 if (_id < 4)
162 qt_static_metacall(this, _c, _id, _a);
163 _id -= 4;
164 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
165 if (_id < 4)
166 qt_static_metacall(this, _c, _id, _a);
167 _id -= 4;
168 }
169 return _id;
170 }
171
172 // SIGNAL 0
173 void PropertiesInterface::PropertiesChanged(const QString & _t1, const QVariantMap & _t2, const QStringList & _t3)
174 {
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);
177 }
178 QT_WARNING_POP
179 QT_END_MOC_NAMESPACE
QObject
QT_MOC_LITERAL
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_properties_interface.cpp:28
qt_meta_stringdata_PropertiesInterface_t
Definition: moc_properties_interface.cpp:24
PropertiesInterface::PropertiesChanged
void PropertiesChanged(const QString &interface_name, const QVariantMap &changed_properties, const QStringList &invalidated_properties)
Definition: moc_properties_interface.cpp:173
qt_meta_stringdata_PropertiesInterface_t::data
QByteArrayData data[15]
Definition: moc_properties_interface.cpp:25
qt_meta_stringdata_PropertiesInterface_t::stringdata0
char stringdata0[227]
Definition: moc_properties_interface.cpp:26
PropertiesInterface
Definition: properties_interface.h:28