1/****************************************************************************
2** Meta object code from reading C++ file 'pluginsetting.h'
3**
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.7)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../../src/framework/lifecycle/pluginsetting.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'pluginsetting.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.7. 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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_dpf__PluginSetting_t {
25 QByteArrayData data[6];
26 char stringdata0[64];
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_dpf__PluginSetting_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33static const qt_meta_stringdata_dpf__PluginSetting_t qt_meta_stringdata_dpf__PluginSetting = {
34 {
35QT_MOC_LITERAL(0, 0, 18), // "dpf::PluginSetting"
36QT_MOC_LITERAL(1, 19, 13), // "pluginEnabled"
37QT_MOC_LITERAL(2, 33, 0), // ""
38QT_MOC_LITERAL(3, 34, 16), // "PluginMetaObject"
39QT_MOC_LITERAL(4, 51, 4), // "meta"
40QT_MOC_LITERAL(5, 56, 7) // "enabled"
41
42 },
43 "dpf::PluginSetting\0pluginEnabled\0\0"
44 "PluginMetaObject\0meta\0enabled"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_dpf__PluginSetting[] = {
49
50 // content:
51 8, // revision
52 0, // classname
53 0, 0, // classinfo
54 1, 14, // methods
55 0, 0, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 1, // signalCount
60
61 // signals: name, argc, parameters, tag, flags
62 1, 2, 19, 2, 0x06 /* Public */,
63
64 // signals: parameters
65 QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
66
67 0 // eod
68};
69
70void dpf::PluginSetting::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
71{
72 if (_c == QMetaObject::InvokeMetaMethod) {
73 auto *_t = static_cast<PluginSetting *>(_o);
74 (void)_t;
75 switch (_id) {
76 case 0: _t->pluginEnabled((*reinterpret_cast< const PluginMetaObject(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
77 default: ;
78 }
79 } else if (_c == QMetaObject::IndexOfMethod) {
80 int *result = reinterpret_cast<int *>(_a[0]);
81 {
82 using _t = void (PluginSetting::*)(const PluginMetaObject & , bool );
83 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PluginSetting::pluginEnabled)) {
84 *result = 0;
85 return;
86 }
87 }
88 }
89}
90
91QT_INIT_METAOBJECT const QMetaObject dpf::PluginSetting::staticMetaObject = { {
92 QMetaObject::SuperData::link<QSettings::staticMetaObject>(),
93 qt_meta_stringdata_dpf__PluginSetting.data,
94 qt_meta_data_dpf__PluginSetting,
95 qt_static_metacall,
96 nullptr,
97 nullptr
98} };
99
100
101const QMetaObject *dpf::PluginSetting::metaObject() const
102{
103 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
104}
105
106void *dpf::PluginSetting::qt_metacast(const char *_clname)
107{
108 if (!_clname) return nullptr;
109 if (!strcmp(_clname, qt_meta_stringdata_dpf__PluginSetting.stringdata0))
110 return static_cast<void*>(this);
111 return QSettings::qt_metacast(_clname);
112}
113
114int dpf::PluginSetting::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
115{
116 _id = QSettings::qt_metacall(_c, _id, _a);
117 if (_id < 0)
118 return _id;
119 if (_c == QMetaObject::InvokeMetaMethod) {
120 if (_id < 1)
121 qt_static_metacall(this, _c, _id, _a);
122 _id -= 1;
123 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
124 if (_id < 1)
125 *reinterpret_cast<int*>(_a[0]) = -1;
126 _id -= 1;
127 }
128 return _id;
129}
130
131// SIGNAL 0
132void dpf::PluginSetting::pluginEnabled(const PluginMetaObject & _t1, bool _t2)
133{
134 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
135 QMetaObject::activate(this, &staticMetaObject, 0, _a);
136}
137QT_WARNING_POP
138QT_END_MOC_NAMESPACE
139