1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'pluginview.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/pluginview.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'pluginview.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 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_dpf__PluginView_t { |
25 | QByteArrayData data[6]; |
26 | char stringdata0[90]; |
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__PluginView_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_dpf__PluginView_t qt_meta_stringdata_dpf__PluginView = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 15), // "dpf::PluginView" |
36 | QT_MOC_LITERAL(1, 16, 20), // "currentPluginActived" |
37 | QT_MOC_LITERAL(2, 37, 0), // "" |
38 | QT_MOC_LITERAL(3, 38, 20), // "pluginSettingChanged" |
39 | QT_MOC_LITERAL(4, 59, 23), // "PluginMetaObjectPointer" |
40 | QT_MOC_LITERAL(5, 83, 6) // "plugin" |
41 | |
42 | }, |
43 | "dpf::PluginView\0currentPluginActived\0" |
44 | "\0pluginSettingChanged\0PluginMetaObjectPointer\0" |
45 | "plugin" |
46 | }; |
47 | #undef QT_MOC_LITERAL |
48 | |
49 | static const uint qt_meta_data_dpf__PluginView[] = { |
50 | |
51 | // content: |
52 | 8, // revision |
53 | 0, // classname |
54 | 0, 0, // classinfo |
55 | 2, 14, // methods |
56 | 0, 0, // properties |
57 | 0, 0, // enums/sets |
58 | 0, 0, // constructors |
59 | 0, // flags |
60 | 2, // signalCount |
61 | |
62 | // signals: name, argc, parameters, tag, flags |
63 | 1, 0, 24, 2, 0x06 /* Public */, |
64 | 3, 1, 25, 2, 0x06 /* Public */, |
65 | |
66 | // signals: parameters |
67 | QMetaType::Void, |
68 | QMetaType::Void, 0x80000000 | 4, 5, |
69 | |
70 | 0 // eod |
71 | }; |
72 | |
73 | void dpf::PluginView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
74 | { |
75 | if (_c == QMetaObject::InvokeMetaMethod) { |
76 | auto *_t = static_cast<PluginView *>(_o); |
77 | (void)_t; |
78 | switch (_id) { |
79 | case 0: _t->currentPluginActived(); break; |
80 | case 1: _t->pluginSettingChanged((*reinterpret_cast< PluginMetaObjectPointer(*)>(_a[1]))); break; |
81 | default: ; |
82 | } |
83 | } else if (_c == QMetaObject::IndexOfMethod) { |
84 | int *result = reinterpret_cast<int *>(_a[0]); |
85 | { |
86 | using _t = void (PluginView::*)(); |
87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PluginView::currentPluginActived)) { |
88 | *result = 0; |
89 | return; |
90 | } |
91 | } |
92 | { |
93 | using _t = void (PluginView::*)(PluginMetaObjectPointer ); |
94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PluginView::pluginSettingChanged)) { |
95 | *result = 1; |
96 | return; |
97 | } |
98 | } |
99 | } |
100 | } |
101 | |
102 | QT_INIT_METAOBJECT const QMetaObject dpf::PluginView::staticMetaObject = { { |
103 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
104 | qt_meta_stringdata_dpf__PluginView.data, |
105 | qt_meta_data_dpf__PluginView, |
106 | qt_static_metacall, |
107 | nullptr, |
108 | nullptr |
109 | } }; |
110 | |
111 | |
112 | const QMetaObject *dpf::PluginView::metaObject() const |
113 | { |
114 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
115 | } |
116 | |
117 | void *dpf::PluginView::qt_metacast(const char *_clname) |
118 | { |
119 | if (!_clname) return nullptr; |
120 | if (!strcmp(_clname, qt_meta_stringdata_dpf__PluginView.stringdata0)) |
121 | return static_cast<void*>(this); |
122 | return QWidget::qt_metacast(_clname); |
123 | } |
124 | |
125 | int dpf::PluginView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
126 | { |
127 | _id = QWidget::qt_metacall(_c, _id, _a); |
128 | if (_id < 0) |
129 | return _id; |
130 | if (_c == QMetaObject::InvokeMetaMethod) { |
131 | if (_id < 2) |
132 | qt_static_metacall(this, _c, _id, _a); |
133 | _id -= 2; |
134 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
135 | if (_id < 2) |
136 | *reinterpret_cast<int*>(_a[0]) = -1; |
137 | _id -= 2; |
138 | } |
139 | return _id; |
140 | } |
141 | |
142 | // SIGNAL 0 |
143 | void dpf::PluginView::currentPluginActived() |
144 | { |
145 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
146 | } |
147 | |
148 | // SIGNAL 1 |
149 | void dpf::PluginView::pluginSettingChanged(PluginMetaObjectPointer _t1) |
150 | { |
151 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
152 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
153 | } |
154 | QT_WARNING_POP |
155 | QT_END_MOC_NAMESPACE |
156 | |