9 #include "../../ubuntu/download_manager/properties_interface.h" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'properties_interface.h' doesn't include <QObject>." 14 #elif Q_MOC_OUTPUT_REVISION != 67 15 #error "This file was generated using the moc from 5.10.1. It" 16 #error "cannot be used with the include files from this version of Qt." 17 #error "(The moc has changed too much.)" 20 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_DISABLE_DEPRECATED
27 #define QT_MOC_LITERAL(idx, ofs, len) \ 28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 qptrdiff(offsetof(qt_meta_stringdata_PropertiesInterface_t, stringdata0) + ofs \ 30 - idx * sizeof(QByteArrayData)) \ 51 "PropertiesInterface\0PropertiesChanged\0" 52 "\0interface_name\0changed_properties\0" 53 "invalidated_properties\0Get\0" 54 "QDBusPendingReply<QDBusVariant>\0" 55 "property_name\0GetAll\0" 56 "QDBusPendingReply<QVariantMap>\0Set\0" 57 "QDBusPendingReply<>\0QDBusVariant\0value" 61 static const uint qt_meta_data_PropertiesInterface[] = {
83 QMetaType::Void, QMetaType::QString, QMetaType::QVariantMap, QMetaType::QStringList, 3, 4, 5,
86 0x80000000 | 7, QMetaType::QString, QMetaType::QString, 3, 8,
87 0x80000000 | 10, QMetaType::QString, 3,
88 0x80000000 | 12, QMetaType::QString, QMetaType::QString, 0x80000000 | 13, 3, 8, 14,
93 void PropertiesInterface::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
95 if (_c == QMetaObject::InvokeMetaMethod) {
99 case 0: _t->
PropertiesChanged((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QVariantMap(*)
>(_a[2])),(*
reinterpret_cast< const QStringList(*)
>(_a[3])));
break;
100 case 1: { QDBusPendingReply<QDBusVariant> _r = _t->
Get((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
101 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<QDBusVariant>*
>(_a[0]) = std::move(_r); }
break;
102 case 2: { QDBusPendingReply<QVariantMap> _r = _t->
GetAll((*
reinterpret_cast< const QString(*)
>(_a[1])));
103 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<QVariantMap>*
>(_a[0]) = std::move(_r); }
break;
104 case 3: { QDBusPendingReply<> _r = _t->
Set((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< const QDBusVariant(*)
>(_a[3])));
105 if (_a[0]) *
reinterpret_cast< QDBusPendingReply<>*
>(_a[0]) = std::move(_r); }
break;
108 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
110 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
112 switch (*reinterpret_cast<int*>(_a[1])) {
113 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
115 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QDBusVariant >();
break;
119 }
else if (_c == QMetaObject::IndexOfMethod) {
120 int *result =
reinterpret_cast<int *
>(_a[0]);
122 typedef void (
PropertiesInterface::*_t)(
const QString & ,
const QVariantMap & ,
const QStringList & );
131 QT_INIT_METAOBJECT
const QMetaObject PropertiesInterface::staticMetaObject = {
132 { &QDBusAbstractInterface::staticMetaObject, qt_meta_stringdata_PropertiesInterface.
data,
133 qt_meta_data_PropertiesInterface, qt_static_metacall,
nullptr,
nullptr}
137 const QMetaObject *PropertiesInterface::metaObject()
const 139 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
142 void *PropertiesInterface::qt_metacast(
const char *_clname)
144 if (!_clname)
return nullptr;
145 if (!strcmp(_clname, qt_meta_stringdata_PropertiesInterface.
stringdata0))
146 return static_cast<void*
>(
this);
147 return QDBusAbstractInterface::qt_metacast(_clname);
150 int PropertiesInterface::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
152 _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
155 if (_c == QMetaObject::InvokeMetaMethod) {
157 qt_static_metacall(
this, _c, _id, _a);
159 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
161 qt_static_metacall(
this, _c, _id, _a);
170 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t3)) };
171 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
QDBusPendingReply Set(const QString &interface_name, const QString &property_name, const QDBusVariant &value)
#define QT_MOC_LITERAL(idx, ofs, len)
QDBusPendingReply< QDBusVariant > Get(const QString &interface_name, const QString &property_name)
QDBusPendingReply< QVariantMap > GetAll(const QString &interface_name)
void PropertiesChanged(const QString &interface_name, const QVariantMap &changed_properties, const QStringList &invalidated_properties)