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