1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'settingstree.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "settingstree.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'settingstree.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. 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_SettingsTree_t { |
25 | const uint offsetsAndSize[22]; |
26 | char stringdata0[126]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_SettingsTree_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_SettingsTree_t qt_meta_stringdata_SettingsTree = { |
31 | { |
32 | QT_MOC_LITERAL(0, 12), // "SettingsTree" |
33 | QT_MOC_LITERAL(13, 14), // "setAutoRefresh" |
34 | QT_MOC_LITERAL(28, 0), // "" |
35 | QT_MOC_LITERAL(29, 11), // "autoRefresh" |
36 | QT_MOC_LITERAL(41, 19), // "setFallbacksEnabled" |
37 | QT_MOC_LITERAL(61, 7), // "enabled" |
38 | QT_MOC_LITERAL(69, 12), // "maybeRefresh" |
39 | QT_MOC_LITERAL(82, 7), // "refresh" |
40 | QT_MOC_LITERAL(90, 13), // "updateSetting" |
41 | QT_MOC_LITERAL(104, 16), // "QTreeWidgetItem*" |
42 | QT_MOC_LITERAL(121, 4) // "item" |
43 | |
44 | }, |
45 | "SettingsTree\0setAutoRefresh\0\0autoRefresh\0" |
46 | "setFallbacksEnabled\0enabled\0maybeRefresh\0" |
47 | "refresh\0updateSetting\0QTreeWidgetItem*\0" |
48 | "item" |
49 | }; |
50 | #undef QT_MOC_LITERAL |
51 | |
52 | static const uint qt_meta_data_SettingsTree[] = { |
53 | |
54 | // content: |
55 | 9, // revision |
56 | 0, // classname |
57 | 0, 0, // classinfo |
58 | 5, 14, // methods |
59 | 0, 0, // properties |
60 | 0, 0, // enums/sets |
61 | 0, 0, // constructors |
62 | 0, // flags |
63 | 0, // signalCount |
64 | |
65 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
66 | 1, 1, 44, 2, 0x0a, 0 /* Public */, |
67 | 4, 1, 47, 2, 0x0a, 2 /* Public */, |
68 | 6, 0, 50, 2, 0x0a, 4 /* Public */, |
69 | 7, 0, 51, 2, 0x0a, 5 /* Public */, |
70 | 8, 1, 52, 2, 0x08, 6 /* Private */, |
71 | |
72 | // slots: parameters |
73 | QMetaType::Void, QMetaType::Bool, 3, |
74 | QMetaType::Void, QMetaType::Bool, 5, |
75 | QMetaType::Void, |
76 | QMetaType::Void, |
77 | QMetaType::Void, 0x80000000 | 9, 10, |
78 | |
79 | 0 // eod |
80 | }; |
81 | |
82 | void SettingsTree::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
83 | { |
84 | if (_c == QMetaObject::InvokeMetaMethod) { |
85 | Q_ASSERT(staticMetaObject.cast(_o)); |
86 | auto *_t = static_cast<SettingsTree *>(_o); |
87 | Q_UNUSED(_t) |
88 | switch (_id) { |
89 | case 0: _t->setAutoRefresh((*reinterpret_cast< bool(*)>(_a[1]))); break; |
90 | case 1: _t->setFallbacksEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; |
91 | case 2: _t->maybeRefresh(); break; |
92 | case 3: _t->refresh(); break; |
93 | case 4: _t->updateSetting((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break; |
94 | default: ; |
95 | } |
96 | } |
97 | } |
98 | |
99 | const QMetaObject SettingsTree::staticMetaObject = { { |
100 | QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(), |
101 | qt_meta_stringdata_SettingsTree.offsetsAndSize, |
102 | qt_meta_data_SettingsTree, |
103 | qt_static_metacall, |
104 | nullptr, |
105 | qt_incomplete_metaTypeArray<qt_meta_stringdata_SettingsTree_t |
106 | |
107 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type> |
108 | |
109 | |
110 | >, |
111 | nullptr |
112 | } }; |
113 | |
114 | |
115 | const QMetaObject *SettingsTree::metaObject() const |
116 | { |
117 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
118 | } |
119 | |
120 | void *SettingsTree::qt_metacast(const char *_clname) |
121 | { |
122 | if (!_clname) return nullptr; |
123 | if (!strcmp(_clname, qt_meta_stringdata_SettingsTree.stringdata0)) |
124 | return static_cast<void*>(this); |
125 | return QTreeWidget::qt_metacast(_clname); |
126 | } |
127 | |
128 | int SettingsTree::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
129 | { |
130 | _id = QTreeWidget::qt_metacall(_c, _id, _a); |
131 | if (_id < 0) |
132 | return _id; |
133 | if (_c == QMetaObject::InvokeMetaMethod) { |
134 | if (_id < 5) |
135 | qt_static_metacall(this, _c, _id, _a); |
136 | _id -= 5; |
137 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
138 | if (_id < 5) |
139 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
140 | _id -= 5; |
141 | } |
142 | return _id; |
143 | } |
144 | QT_WARNING_POP |
145 | QT_END_MOC_NAMESPACE |
146 | |