Line data Source code
1 : /****************************************************************************
2 : ** Meta object code from reading C++ file 'guisettings.hpp'
3 : **
4 : ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
5 : **
6 : ** WARNING! All changes made in this file will be lost!
7 : *****************************************************************************/
8 :
9 : #include "../../../../../src/tools/qt-gui/src/guisettings.hpp"
10 : #include <QtCore/qbytearray.h>
11 : #include <QtCore/qmetatype.h>
12 : #if !defined(Q_MOC_OUTPUT_REVISION)
13 : #error "The header file 'guisettings.hpp' doesn't include <QObject>."
14 : #elif Q_MOC_OUTPUT_REVISION != 67
15 : #error "This file was generated using the moc from 5.7.1. It"
16 : #error "cannot be used with the include files from this version of Qt."
17 : #error "(The moc has changed too much.)"
18 : #endif
19 :
20 : QT_BEGIN_MOC_NAMESPACE
21 : struct qt_meta_stringdata_GUISettings_t {
22 : QByteArrayData data[24];
23 : char stringdata0[359];
24 : };
25 : #define QT_MOC_LITERAL(idx, ofs, len) \
26 : Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27 : qptrdiff(offsetof(qt_meta_stringdata_GUISettings_t, stringdata0) + ofs \
28 : - idx * sizeof(QByteArrayData)) \
29 : )
30 : static const qt_meta_stringdata_GUISettings_t qt_meta_stringdata_GUISettings = {
31 : {
32 : QT_MOC_LITERAL(0, 0, 11), // "GUISettings"
33 : QT_MOC_LITERAL(1, 12, 21), // "highlightColorChanged"
34 : QT_MOC_LITERAL(2, 34, 0), // ""
35 : QT_MOC_LITERAL(3, 35, 17), // "frameColorChanged"
36 : QT_MOC_LITERAL(4, 53, 23), // "nodeWithKeyColorChanged"
37 : QT_MOC_LITERAL(5, 77, 26), // "nodeWithoutKeyColorChanged"
38 : QT_MOC_LITERAL(6, 104, 25), // "useSystemIconThemeChanged"
39 : QT_MOC_LITERAL(7, 130, 17), // "viewermodeChanged"
40 : QT_MOC_LITERAL(8, 148, 17), // "setHighlightColor"
41 : QT_MOC_LITERAL(9, 166, 5), // "color"
42 : QT_MOC_LITERAL(10, 172, 13), // "setFrameColor"
43 : QT_MOC_LITERAL(11, 186, 19), // "setNodeWithKeyColor"
44 : QT_MOC_LITERAL(12, 206, 22), // "setNodeWithoutKeyColor"
45 : QT_MOC_LITERAL(13, 229, 18), // "useSystemIconTheme"
46 : QT_MOC_LITERAL(14, 248, 3), // "use"
47 : QT_MOC_LITERAL(15, 252, 13), // "setViewermode"
48 : QT_MOC_LITERAL(16, 266, 5), // "vmode"
49 : QT_MOC_LITERAL(17, 272, 6), // "setKDB"
50 : QT_MOC_LITERAL(18, 279, 5), // "reset"
51 : QT_MOC_LITERAL(19, 285, 14), // "highlightColor"
52 : QT_MOC_LITERAL(20, 300, 10), // "frameColor"
53 : QT_MOC_LITERAL(21, 311, 16), // "nodeWithKeyColor"
54 : QT_MOC_LITERAL(22, 328, 19), // "nodeWithoutKeyColor"
55 : QT_MOC_LITERAL(23, 348, 10) // "viewermode"
56 :
57 : },
58 : "GUISettings\0highlightColorChanged\0\0"
59 : "frameColorChanged\0nodeWithKeyColorChanged\0"
60 : "nodeWithoutKeyColorChanged\0"
61 : "useSystemIconThemeChanged\0viewermodeChanged\0"
62 : "setHighlightColor\0color\0setFrameColor\0"
63 : "setNodeWithKeyColor\0setNodeWithoutKeyColor\0"
64 : "useSystemIconTheme\0use\0setViewermode\0"
65 : "vmode\0setKDB\0reset\0highlightColor\0"
66 : "frameColor\0nodeWithKeyColor\0"
67 : "nodeWithoutKeyColor\0viewermode"
68 : };
69 : #undef QT_MOC_LITERAL
70 :
71 : static const uint qt_meta_data_GUISettings[] = {
72 :
73 : // content:
74 : 7, // revision
75 : 0, // classname
76 : 0, 0, // classinfo
77 : 14, 14, // methods
78 : 6, 110, // properties
79 : 0, 0, // enums/sets
80 : 0, 0, // constructors
81 : 0, // flags
82 : 6, // signalCount
83 :
84 : // signals: name, argc, parameters, tag, flags
85 : 1, 0, 84, 2, 0x06 /* Public */,
86 : 3, 0, 85, 2, 0x06 /* Public */,
87 : 4, 0, 86, 2, 0x06 /* Public */,
88 : 5, 0, 87, 2, 0x06 /* Public */,
89 : 6, 0, 88, 2, 0x06 /* Public */,
90 : 7, 0, 89, 2, 0x06 /* Public */,
91 :
92 : // slots: name, argc, parameters, tag, flags
93 : 8, 1, 90, 2, 0x0a /* Public */,
94 : 10, 1, 93, 2, 0x0a /* Public */,
95 : 11, 1, 96, 2, 0x0a /* Public */,
96 : 12, 1, 99, 2, 0x0a /* Public */,
97 : 13, 1, 102, 2, 0x0a /* Public */,
98 : 15, 1, 105, 2, 0x0a /* Public */,
99 :
100 : // methods: name, argc, parameters, tag, flags
101 : 17, 0, 108, 2, 0x02 /* Public */,
102 : 18, 0, 109, 2, 0x02 /* Public */,
103 :
104 : // signals: parameters
105 : QMetaType::Void,
106 : QMetaType::Void,
107 : QMetaType::Void,
108 : QMetaType::Void,
109 : QMetaType::Void,
110 : QMetaType::Void,
111 :
112 : // slots: parameters
113 : QMetaType::Void, QMetaType::QColor, 9,
114 : QMetaType::Void, QMetaType::QColor, 9,
115 : QMetaType::Void, QMetaType::QColor, 9,
116 : QMetaType::Void, QMetaType::QColor, 9,
117 : QMetaType::Void, QMetaType::Bool, 14,
118 : QMetaType::Void, QMetaType::Bool, 16,
119 :
120 : // methods: parameters
121 : QMetaType::Void,
122 : QMetaType::Void,
123 :
124 : // properties: name, type, flags
125 : 19, QMetaType::QColor, 0x00495103,
126 : 20, QMetaType::QColor, 0x00495103,
127 : 21, QMetaType::QColor, 0x00495103,
128 : 22, QMetaType::QColor, 0x00495103,
129 : 13, QMetaType::Bool, 0x00495003,
130 : 23, QMetaType::Bool, 0x00495103,
131 :
132 : // properties: notify_signal_id
133 : 0,
134 : 1,
135 : 2,
136 : 3,
137 : 4,
138 : 5,
139 :
140 : 0 // eod
141 : };
142 :
143 0 : void GUISettings::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
144 : {
145 0 : if (_c == QMetaObject::InvokeMetaMethod) {
146 0 : GUISettings *_t = static_cast<GUISettings *>(_o);
147 : Q_UNUSED(_t)
148 0 : switch (_id) {
149 0 : case 0: _t->highlightColorChanged(); break;
150 0 : case 1: _t->frameColorChanged(); break;
151 0 : case 2: _t->nodeWithKeyColorChanged(); break;
152 0 : case 3: _t->nodeWithoutKeyColorChanged(); break;
153 0 : case 4: _t->useSystemIconThemeChanged(); break;
154 0 : case 5: _t->viewermodeChanged(); break;
155 0 : case 6: _t->setHighlightColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
156 0 : case 7: _t->setFrameColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
157 0 : case 8: _t->setNodeWithKeyColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
158 0 : case 9: _t->setNodeWithoutKeyColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
159 0 : case 10: _t->useSystemIconTheme((*reinterpret_cast< const bool(*)>(_a[1]))); break;
160 0 : case 11: _t->setViewermode((*reinterpret_cast< bool(*)>(_a[1]))); break;
161 0 : case 12: _t->setKDB(); break;
162 0 : case 13: _t->reset(); break;
163 : default: ;
164 : }
165 0 : } else if (_c == QMetaObject::IndexOfMethod) {
166 0 : int *result = reinterpret_cast<int *>(_a[0]);
167 0 : void **func = reinterpret_cast<void **>(_a[1]);
168 : {
169 : typedef void (GUISettings::*_t)();
170 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GUISettings::highlightColorChanged)) {
171 0 : *result = 0;
172 0 : return;
173 : }
174 : }
175 : {
176 : typedef void (GUISettings::*_t)();
177 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GUISettings::frameColorChanged)) {
178 0 : *result = 1;
179 0 : return;
180 : }
181 : }
182 : {
183 : typedef void (GUISettings::*_t)();
184 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GUISettings::nodeWithKeyColorChanged)) {
185 0 : *result = 2;
186 0 : return;
187 : }
188 : }
189 : {
190 : typedef void (GUISettings::*_t)();
191 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GUISettings::nodeWithoutKeyColorChanged)) {
192 0 : *result = 3;
193 0 : return;
194 : }
195 : }
196 : {
197 : typedef void (GUISettings::*_t)();
198 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GUISettings::useSystemIconThemeChanged)) {
199 0 : *result = 4;
200 0 : return;
201 : }
202 : }
203 : {
204 : typedef void (GUISettings::*_t)();
205 0 : if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GUISettings::viewermodeChanged)) {
206 0 : *result = 5;
207 0 : return;
208 : }
209 : }
210 : }
211 : #ifndef QT_NO_PROPERTIES
212 0 : else if (_c == QMetaObject::ReadProperty) {
213 0 : GUISettings *_t = static_cast<GUISettings *>(_o);
214 : Q_UNUSED(_t)
215 0 : void *_v = _a[0];
216 0 : switch (_id) {
217 0 : case 0: *reinterpret_cast< QColor*>(_v) = _t->highlightColor(); break;
218 0 : case 1: *reinterpret_cast< QColor*>(_v) = _t->frameColor(); break;
219 0 : case 2: *reinterpret_cast< QColor*>(_v) = _t->nodeWithKeyColor(); break;
220 0 : case 3: *reinterpret_cast< QColor*>(_v) = _t->nodeWithoutKeyColor(); break;
221 0 : case 4: *reinterpret_cast< bool*>(_v) = _t->useSystemIconTheme(); break;
222 0 : case 5: *reinterpret_cast< bool*>(_v) = _t->viewermode(); break;
223 : default: break;
224 : }
225 0 : } else if (_c == QMetaObject::WriteProperty) {
226 0 : GUISettings *_t = static_cast<GUISettings *>(_o);
227 : Q_UNUSED(_t)
228 0 : void *_v = _a[0];
229 0 : switch (_id) {
230 0 : case 0: _t->setHighlightColor(*reinterpret_cast< QColor*>(_v)); break;
231 0 : case 1: _t->setFrameColor(*reinterpret_cast< QColor*>(_v)); break;
232 0 : case 2: _t->setNodeWithKeyColor(*reinterpret_cast< QColor*>(_v)); break;
233 0 : case 3: _t->setNodeWithoutKeyColor(*reinterpret_cast< QColor*>(_v)); break;
234 0 : case 4: _t->useSystemIconTheme(*reinterpret_cast< bool*>(_v)); break;
235 0 : case 5: _t->setViewermode(*reinterpret_cast< bool*>(_v)); break;
236 : default: break;
237 : }
238 : } else if (_c == QMetaObject::ResetProperty) {
239 : }
240 : #endif // QT_NO_PROPERTIES
241 : }
242 :
243 : const QMetaObject GUISettings::staticMetaObject = {
244 : { &QObject::staticMetaObject, qt_meta_stringdata_GUISettings.data,
245 : qt_meta_data_GUISettings, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
246 : };
247 :
248 :
249 0 : const QMetaObject *GUISettings::metaObject() const
250 : {
251 0 : return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
252 : }
253 :
254 0 : void *GUISettings::qt_metacast(const char *_clname)
255 : {
256 0 : if (!_clname) return Q_NULLPTR;
257 0 : if (!strcmp(_clname, qt_meta_stringdata_GUISettings.stringdata0))
258 : return static_cast<void*>(const_cast< GUISettings*>(this));
259 0 : return QObject::qt_metacast(_clname);
260 : }
261 :
262 0 : int GUISettings::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
263 : {
264 0 : _id = QObject::qt_metacall(_c, _id, _a);
265 0 : if (_id < 0)
266 : return _id;
267 0 : if (_c == QMetaObject::InvokeMetaMethod) {
268 0 : if (_id < 14)
269 0 : qt_static_metacall(this, _c, _id, _a);
270 0 : _id -= 14;
271 0 : } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
272 0 : if (_id < 14)
273 0 : *reinterpret_cast<int*>(_a[0]) = -1;
274 0 : _id -= 14;
275 : }
276 : #ifndef QT_NO_PROPERTIES
277 0 : else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
278 0 : || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
279 0 : qt_static_metacall(this, _c, _id, _a);
280 0 : _id -= 6;
281 0 : } else if (_c == QMetaObject::QueryPropertyDesignable) {
282 0 : _id -= 6;
283 0 : } else if (_c == QMetaObject::QueryPropertyScriptable) {
284 0 : _id -= 6;
285 0 : } else if (_c == QMetaObject::QueryPropertyStored) {
286 0 : _id -= 6;
287 0 : } else if (_c == QMetaObject::QueryPropertyEditable) {
288 0 : _id -= 6;
289 0 : } else if (_c == QMetaObject::QueryPropertyUser) {
290 0 : _id -= 6;
291 : }
292 : #endif // QT_NO_PROPERTIES
293 : return _id;
294 : }
295 :
296 : // SIGNAL 0
297 0 : void GUISettings::highlightColorChanged()
298 : {
299 0 : QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
300 0 : }
301 :
302 : // SIGNAL 1
303 0 : void GUISettings::frameColorChanged()
304 : {
305 0 : QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
306 0 : }
307 :
308 : // SIGNAL 2
309 0 : void GUISettings::nodeWithKeyColorChanged()
310 : {
311 0 : QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
312 0 : }
313 :
314 : // SIGNAL 3
315 0 : void GUISettings::nodeWithoutKeyColorChanged()
316 : {
317 0 : QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
318 0 : }
319 :
320 : // SIGNAL 4
321 0 : void GUISettings::useSystemIconThemeChanged()
322 : {
323 0 : QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
324 0 : }
325 :
326 : // SIGNAL 5
327 0 : void GUISettings::viewermodeChanged()
328 : {
329 0 : QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
330 0 : }
331 : QT_END_MOC_NAMESPACE
|