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 69 (Qt 6.9.1)
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 != 69
22#error "This file was generated using the moc from 6.9.1. 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
38template <> constexpr inline auto MarkersDock::qt_create_metaobjectdata<qt_meta_tag_ZN11MarkersDockE_t>()
39{
40 namespace QMC = QtMocConstants;
41 QtMocHelpers::StringRefStorage qt_stringData {
42 "MarkersDock",
43 "seekRequested",
44 "",
45 "pos",
46 "addRequested",
47 "addAroundSelectionRequested",
48 "onMarkerSelectionRequest",
49 "markerIndex",
50 "onSelectionChanged",
51 "QModelIndex&",
52 "index",
53 "onRowClicked",
54 "QModelIndex",
55 "onAddRequested",
56 "onRemoveRequested",
57 "onClearSelectionRequested",
58 "onRemoveAllRequested",
59 "onSearchChanged",
60 "onColorColumnToggled",
61 "checked",
62 "onTextColumnToggled",
63 "onStartColumnToggled",
64 "onEndColumnToggled",
65 "onDurationColumnToggled",
66 "onRowsInserted",
67 "parent",
68 "first",
69 "last",
70 "onDataChanged",
71 "topLeft",
72 "bottomRight",
73 "QList<int>",
74 "roles",
75 "onValuesChanged",
76 "onModelReset",
77 "onSortIndicatorChanged",
78 "logicalIndex",
79 "Qt::SortOrder",
80 "order"
81 };
82
83 QtMocHelpers::UintData qt_methods {
84 // Signal 'seekRequested'
85 QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
86 { QMetaType::Int, 3 },
87 }}),
88 // Signal 'addRequested'
89 QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
90 // Signal 'addAroundSelectionRequested'
91 QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
92 // Slot 'onMarkerSelectionRequest'
93 QtMocHelpers::SlotData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
94 { QMetaType::Int, 7 },
95 }}),
96 // Slot 'onSelectionChanged'
97 QtMocHelpers::SlotData<void(QModelIndex &)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
98 { 0x80000000 | 9, 10 },
99 }}),
100 // Slot 'onRowClicked'
101 QtMocHelpers::SlotData<void(const QModelIndex &)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
102 { 0x80000000 | 12, 10 },
103 }}),
104 // Slot 'onAddRequested'
105 QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
106 // Slot 'onRemoveRequested'
107 QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
108 // Slot 'onClearSelectionRequested'
109 QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
110 // Slot 'onRemoveAllRequested'
111 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
112 // Slot 'onSearchChanged'
113 QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
114 // Slot 'onColorColumnToggled'
115 QtMocHelpers::SlotData<void(bool)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
116 { QMetaType::Bool, 19 },
117 }}),
118 // Slot 'onTextColumnToggled'
119 QtMocHelpers::SlotData<void(bool)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
120 { QMetaType::Bool, 19 },
121 }}),
122 // Slot 'onStartColumnToggled'
123 QtMocHelpers::SlotData<void(bool)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
124 { QMetaType::Bool, 19 },
125 }}),
126 // Slot 'onEndColumnToggled'
127 QtMocHelpers::SlotData<void(bool)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
128 { QMetaType::Bool, 19 },
129 }}),
130 // Slot 'onDurationColumnToggled'
131 QtMocHelpers::SlotData<void(bool)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
132 { QMetaType::Bool, 19 },
133 }}),
134 // Slot 'onRowsInserted'
135 QtMocHelpers::SlotData<void(const QModelIndex &, int, int)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
136 { 0x80000000 | 12, 25 }, { QMetaType::Int, 26 }, { QMetaType::Int, 27 },
137 }}),
138 // Slot 'onDataChanged'
139 QtMocHelpers::SlotData<void(const QModelIndex &, const QModelIndex &, const QVector<int> &)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
140 { 0x80000000 | 12, 29 }, { 0x80000000 | 12, 30 }, { 0x80000000 | 31, 32 },
141 }}),
142 // Slot 'onDataChanged'
143 QtMocHelpers::SlotData<void(const QModelIndex &, const QModelIndex &)>(28, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
144 { 0x80000000 | 12, 29 }, { 0x80000000 | 12, 30 },
145 }}),
146 // Slot 'onValuesChanged'
147 QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
148 // Slot 'onModelReset'
149 QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
150 // Slot 'onSortIndicatorChanged'
151 QtMocHelpers::SlotData<void(int, Qt::SortOrder)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
152 { QMetaType::Int, 36 }, { 0x80000000 | 37, 38 },
153 }}),
154 };
155 QtMocHelpers::UintData qt_properties {
156 };
157 QtMocHelpers::UintData qt_enums {
158 };
159 return QtMocHelpers::metaObjectData<MarkersDock, qt_meta_tag_ZN11MarkersDockE_t>(QMC::MetaObjectFlag{}, qt_stringData,
160 qt_methods, qt_properties, qt_enums);
161}
162Q_CONSTINIT const QMetaObject MarkersDock::staticMetaObject = { {
163 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
164 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11MarkersDockE_t>.stringdata,
165 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11MarkersDockE_t>.data,
166 qt_static_metacall,
167 nullptr,
168 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11MarkersDockE_t>.metaTypes,
169 nullptr
170} };
171
172void MarkersDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
173{
174 auto *_t = static_cast<MarkersDock *>(_o);
175 if (_c == QMetaObject::InvokeMetaMethod) {
176 switch (_id) {
177 case 0: _t->seekRequested((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
178 case 1: _t->addRequested(); break;
179 case 2: _t->addAroundSelectionRequested(); break;
180 case 3: _t->onMarkerSelectionRequest((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
181 case 4: _t->onSelectionChanged((*reinterpret_cast< std::add_pointer_t<QModelIndex&>>(_a[1]))); break;
182 case 5: _t->onRowClicked((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
183 case 6: _t->onAddRequested(); break;
184 case 7: _t->onRemoveRequested(); break;
185 case 8: _t->onClearSelectionRequested(); break;
186 case 9: _t->onRemoveAllRequested(); break;
187 case 10: _t->onSearchChanged(); break;
188 case 11: _t->onColorColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
189 case 12: _t->onTextColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
190 case 13: _t->onStartColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
191 case 14: _t->onEndColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
192 case 15: _t->onDurationColumnToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
193 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;
194 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;
195 case 18: _t->onDataChanged((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[2]))); break;
196 case 19: _t->onValuesChanged(); break;
197 case 20: _t->onModelReset(); break;
198 case 21: _t->onSortIndicatorChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<Qt::SortOrder>>(_a[2]))); break;
199 default: ;
200 }
201 }
202 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
203 switch (_id) {
204 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
205 case 17:
206 switch (*reinterpret_cast<int*>(_a[1])) {
207 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
208 case 2:
209 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
210 }
211 break;
212 }
213 }
214 if (_c == QMetaObject::IndexOfMethod) {
215 if (QtMocHelpers::indexOfMethod<void (MarkersDock::*)(int )>(_a, &MarkersDock::seekRequested, 0))
216 return;
217 if (QtMocHelpers::indexOfMethod<void (MarkersDock::*)()>(_a, &MarkersDock::addRequested, 1))
218 return;
219 if (QtMocHelpers::indexOfMethod<void (MarkersDock::*)()>(_a, &MarkersDock::addAroundSelectionRequested, 2))
220 return;
221 }
222}
223
224const QMetaObject *MarkersDock::metaObject() const
225{
226 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
227}
228
229void *MarkersDock::qt_metacast(const char *_clname)
230{
231 if (!_clname) return nullptr;
232 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11MarkersDockE_t>.strings))
233 return static_cast<void*>(this);
234 return QDockWidget::qt_metacast(_clname);
235}
236
237int MarkersDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
238{
239 _id = QDockWidget::qt_metacall(_c, _id, _a);
240 if (_id < 0)
241 return _id;
242 if (_c == QMetaObject::InvokeMetaMethod) {
243 if (_id < 22)
244 qt_static_metacall(this, _c, _id, _a);
245 _id -= 22;
246 }
247 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
248 if (_id < 22)
249 qt_static_metacall(this, _c, _id, _a);
250 _id -= 22;
251 }
252 return _id;
253}
254
255// SIGNAL 0
256void MarkersDock::seekRequested(int _t1)
257{
258 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
259}
260
261// SIGNAL 1
262void MarkersDock::addRequested()
263{
264 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
265}
266
267// SIGNAL 2
268void MarkersDock::addAroundSelectionRequested()
269{
270 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
271}
272QT_WARNING_POP