CuteLogger
Fast and simple logging solution for Qt based applications
moc_markersdock.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'markersdock.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.7.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/docks/markersdock.h"
10#include <QtCore/qmetatype.h>
11#include <QtCore/QList>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'markersdock.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 68
22#error "This file was generated using the moc from 6.7.2. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35
36#ifdef QT_MOC_HAS_STRINGDATA
37struct qt_meta_stringdata_CLASSMarkersDockENDCLASS_t {};
38constexpr auto qt_meta_stringdata_CLASSMarkersDockENDCLASS = QtMocHelpers::stringData(
39 "MarkersDock",
40 "seekRequested",
41 "",
42 "pos",
43 "addRequested",
44 "addAroundSelectionRequested",
45 "onMarkerSelectionRequest",
46 "markerIndex",
47 "onSelectionChanged",
48 "QModelIndex&",
49 "index",
50 "onRowClicked",
51 "QModelIndex",
52 "onAddRequested",
53 "onRemoveRequested",
54 "onClearSelectionRequested",
55 "onRemoveAllRequested",
56 "onSearchChanged",
57 "onColorColumnToggled",
58 "checked",
59 "onTextColumnToggled",
60 "onStartColumnToggled",
61 "onEndColumnToggled",
62 "onDurationColumnToggled",
63 "onRowsInserted",
64 "parent",
65 "first",
66 "last",
67 "onDataChanged",
68 "topLeft",
69 "bottomRight",
70 "QList<int>",
71 "roles",
72 "onValuesChanged",
73 "onModelReset",
74 "onSortIndicatorChanged",
75 "logicalIndex",
76 "Qt::SortOrder",
77 "order"
78);
79#else // !QT_MOC_HAS_STRINGDATA
80#error "qtmochelpers.h not found or too old."
81#endif // !QT_MOC_HAS_STRINGDATA
82} // unnamed namespace
83
84Q_CONSTINIT static const uint qt_meta_data_CLASSMarkersDockENDCLASS[] = {
85
86 // content:
87 12, // revision
88 0, // classname
89 0, 0, // classinfo
90 22, 14, // methods
91 0, 0, // properties
92 0, 0, // enums/sets
93 0, 0, // constructors
94 0, // flags
95 3, // signalCount
96
97 // signals: name, argc, parameters, tag, flags, initial metatype offsets
98 1, 1, 146, 2, 0x06, 1 /* Public */,
99 4, 0, 149, 2, 0x06, 3 /* Public */,
100 5, 0, 150, 2, 0x06, 4 /* Public */,
101
102 // slots: name, argc, parameters, tag, flags, initial metatype offsets
103 6, 1, 151, 2, 0x0a, 5 /* Public */,
104 8, 1, 154, 2, 0x08, 7 /* Private */,
105 11, 1, 157, 2, 0x08, 9 /* Private */,
106 13, 0, 160, 2, 0x08, 11 /* Private */,
107 14, 0, 161, 2, 0x08, 12 /* Private */,
108 15, 0, 162, 2, 0x08, 13 /* Private */,
109 16, 0, 163, 2, 0x08, 14 /* Private */,
110 17, 0, 164, 2, 0x08, 15 /* Private */,
111 18, 1, 165, 2, 0x08, 16 /* Private */,
112 20, 1, 168, 2, 0x08, 18 /* Private */,
113 21, 1, 171, 2, 0x08, 20 /* Private */,
114 22, 1, 174, 2, 0x08, 22 /* Private */,
115 23, 1, 177, 2, 0x08, 24 /* Private */,
116 24, 3, 180, 2, 0x08, 26 /* Private */,
117 28, 3, 187, 2, 0x08, 30 /* Private */,
118 28, 2, 194, 2, 0x28, 34 /* Private | MethodCloned */,
119 33, 0, 199, 2, 0x08, 37 /* Private */,
120 34, 0, 200, 2, 0x08, 38 /* Private */,
121 35, 2, 201, 2, 0x08, 39 /* Private */,
122
123 // signals: parameters
124 QMetaType::Void, QMetaType::Int, 3,
125 QMetaType::Void,
126 QMetaType::Void,
127
128 // slots: parameters
129 QMetaType::Void, QMetaType::Int, 7,
130 QMetaType::Void, 0x80000000 | 9, 10,
131 QMetaType::Void, 0x80000000 | 12, 10,
132 QMetaType::Void,
133 QMetaType::Void,
134 QMetaType::Void,
135 QMetaType::Void,
136 QMetaType::Void,
137 QMetaType::Void, QMetaType::Bool, 19,
138 QMetaType::Void, QMetaType::Bool, 19,
139 QMetaType::Void, QMetaType::Bool, 19,
140 QMetaType::Void, QMetaType::Bool, 19,
141 QMetaType::Void, QMetaType::Bool, 19,
142 QMetaType::Void, 0x80000000 | 12, QMetaType::Int, QMetaType::Int, 25, 26, 27,
143 QMetaType::Void, 0x80000000 | 12, 0x80000000 | 12, 0x80000000 | 31, 29, 30, 32,
144 QMetaType::Void, 0x80000000 | 12, 0x80000000 | 12, 29, 30,
145 QMetaType::Void,
146 QMetaType::Void,
147 QMetaType::Void, QMetaType::Int, 0x80000000 | 37, 36, 38,
148
149 0 // eod
150};
151
152Q_CONSTINIT const QMetaObject MarkersDock::staticMetaObject = { {
153 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
154 qt_meta_stringdata_CLASSMarkersDockENDCLASS.offsetsAndSizes,
155 qt_meta_data_CLASSMarkersDockENDCLASS,
156 qt_static_metacall,
157 nullptr,
158 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSMarkersDockENDCLASS_t,
159 // Q_OBJECT / Q_GADGET
160 QtPrivate::TypeAndForceComplete<MarkersDock, std::true_type>,
161 // method 'seekRequested'
162 QtPrivate::TypeAndForceComplete<void, std::false_type>,
163 QtPrivate::TypeAndForceComplete<int, std::false_type>,
164 // method 'addRequested'
165 QtPrivate::TypeAndForceComplete<void, std::false_type>,
166 // method 'addAroundSelectionRequested'
167 QtPrivate::TypeAndForceComplete<void, std::false_type>,
168 // method 'onMarkerSelectionRequest'
169 QtPrivate::TypeAndForceComplete<void, std::false_type>,
170 QtPrivate::TypeAndForceComplete<int, std::false_type>,
171 // method 'onSelectionChanged'
172 QtPrivate::TypeAndForceComplete<void, std::false_type>,
173 QtPrivate::TypeAndForceComplete<QModelIndex &, std::false_type>,
174 // method 'onRowClicked'
175 QtPrivate::TypeAndForceComplete<void, std::false_type>,
176 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
177 // method 'onAddRequested'
178 QtPrivate::TypeAndForceComplete<void, std::false_type>,
179 // method 'onRemoveRequested'
180 QtPrivate::TypeAndForceComplete<void, std::false_type>,
181 // method 'onClearSelectionRequested'
182 QtPrivate::TypeAndForceComplete<void, std::false_type>,
183 // method 'onRemoveAllRequested'
184 QtPrivate::TypeAndForceComplete<void, std::false_type>,
185 // method 'onSearchChanged'
186 QtPrivate::TypeAndForceComplete<void, std::false_type>,
187 // method 'onColorColumnToggled'
188 QtPrivate::TypeAndForceComplete<void, std::false_type>,
189 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
190 // method 'onTextColumnToggled'
191 QtPrivate::TypeAndForceComplete<void, std::false_type>,
192 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
193 // method 'onStartColumnToggled'
194 QtPrivate::TypeAndForceComplete<void, std::false_type>,
195 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
196 // method 'onEndColumnToggled'
197 QtPrivate::TypeAndForceComplete<void, std::false_type>,
198 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
199 // method 'onDurationColumnToggled'
200 QtPrivate::TypeAndForceComplete<void, std::false_type>,
201 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
202 // method 'onRowsInserted'
203 QtPrivate::TypeAndForceComplete<void, std::false_type>,
204 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
205 QtPrivate::TypeAndForceComplete<int, std::false_type>,
206 QtPrivate::TypeAndForceComplete<int, std::false_type>,
207 // method 'onDataChanged'
208 QtPrivate::TypeAndForceComplete<void, std::false_type>,
209 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
210 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
211 QtPrivate::TypeAndForceComplete<const QVector<int> &, std::false_type>,
212 // method 'onDataChanged'
213 QtPrivate::TypeAndForceComplete<void, std::false_type>,
214 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
215 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
216 // method 'onValuesChanged'
217 QtPrivate::TypeAndForceComplete<void, std::false_type>,
218 // method 'onModelReset'
219 QtPrivate::TypeAndForceComplete<void, std::false_type>,
220 // method 'onSortIndicatorChanged'
221 QtPrivate::TypeAndForceComplete<void, std::false_type>,
222 QtPrivate::TypeAndForceComplete<int, std::false_type>,
223 QtPrivate::TypeAndForceComplete<Qt::SortOrder, std::false_type>
224 >,
225 nullptr
226} };
227
228void MarkersDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
229{
230 if (_c == QMetaObject::InvokeMetaMethod) {
231 auto *_t = static_cast<MarkersDock *>(_o);
232 (void)_t;
233 switch (_id) {
234 case 0: _t->seekRequested((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
235 case 1: _t->addRequested(); break;
236 case 2: _t->addAroundSelectionRequested(); break;
237 case 3: _t->onMarkerSelectionRequest((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
238 case 4: _t->onSelectionChanged((*reinterpret_cast< std::add_pointer_t<QModelIndex&>>(_a[1]))); break;
239 case 5: _t->onRowClicked((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
240 case 6: _t->onAddRequested(); break;
241 case 7: _t->onRemoveRequested(); break;
242 case 8: _t->onClearSelectionRequested(); break;
243 case 9: _t->onRemoveAllRequested(); break;
244 case 10: _t->onSearchChanged(); break;
245 case 11: _t->onColorColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
246 case 12: _t->onTextColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
247 case 13: _t->onStartColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
248 case 14: _t->onEndColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
249 case 15: _t->onDurationColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
250 case 16: _t->onRowsInserted((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
251 case 17: _t->onDataChanged((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<QList<int>>>(_a[3]))); break;
252 case 18: _t->onDataChanged((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[2]))); break;
253 case 19: _t->onValuesChanged(); break;
254 case 20: _t->onModelReset(); break;
255 case 21: _t->onSortIndicatorChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<Qt::SortOrder>>(_a[2]))); break;
256 default: ;
257 }
258 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
259 switch (_id) {
260 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
261 case 17:
262 switch (*reinterpret_cast<int*>(_a[1])) {
263 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
264 case 2:
265 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
266 }
267 break;
268 }
269 } else if (_c == QMetaObject::IndexOfMethod) {
270 int *result = reinterpret_cast<int *>(_a[0]);
271 {
272 using _t = void (MarkersDock::*)(int );
273 if (_t _q_method = &MarkersDock::seekRequested; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
274 *result = 0;
275 return;
276 }
277 }
278 {
279 using _t = void (MarkersDock::*)();
280 if (_t _q_method = &MarkersDock::addRequested; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
281 *result = 1;
282 return;
283 }
284 }
285 {
286 using _t = void (MarkersDock::*)();
287 if (_t _q_method = &MarkersDock::addAroundSelectionRequested; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
288 *result = 2;
289 return;
290 }
291 }
292 }
293}
294
295const QMetaObject *MarkersDock::metaObject() const
296{
297 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
298}
299
300void *MarkersDock::qt_metacast(const char *_clname)
301{
302 if (!_clname) return nullptr;
303 if (!strcmp(_clname, qt_meta_stringdata_CLASSMarkersDockENDCLASS.stringdata0))
304 return static_cast<void*>(this);
305 return QDockWidget::qt_metacast(_clname);
306}
307
308int MarkersDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
309{
310 _id = QDockWidget::qt_metacall(_c, _id, _a);
311 if (_id < 0)
312 return _id;
313 if (_c == QMetaObject::InvokeMetaMethod) {
314 if (_id < 22)
315 qt_static_metacall(this, _c, _id, _a);
316 _id -= 22;
317 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
318 if (_id < 22)
319 qt_static_metacall(this, _c, _id, _a);
320 _id -= 22;
321 }
322 return _id;
323}
324
325// SIGNAL 0
326void MarkersDock::seekRequested(int _t1)
327{
328 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
329 QMetaObject::activate(this, &staticMetaObject, 0, _a);
330}
331
332// SIGNAL 1
333void MarkersDock::addRequested()
334{
335 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
336}
337
338// SIGNAL 2
339void MarkersDock::addAroundSelectionRequested()
340{
341 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
342}
343QT_WARNING_POP