CuteLogger
Fast and simple logging solution for Qt based applications
moc_transportcontrol.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'transportcontrol.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/transportcontrol.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'transportcontrol.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.7.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSTransportControllableENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSTransportControllableENDCLASS = QtMocHelpers::stringData(
38 "TransportControllable",
39 "play",
40 "",
41 "speed",
42 "pause",
43 "position",
44 "stop",
45 "seek",
46 "rewind",
47 "forceChangeDirection",
48 "fastForward",
49 "previous",
50 "currentPosition",
51 "next",
52 "setIn",
53 "setOut"
54);
55#else // !QT_MOC_HAS_STRINGDATA
56#error "qtmochelpers.h not found or too old."
57#endif // !QT_MOC_HAS_STRINGDATA
58} // unnamed namespace
59
60Q_CONSTINIT static const uint qt_meta_data_CLASSTransportControllableENDCLASS[] = {
61
62 // content:
63 12, // revision
64 0, // classname
65 0, 0, // classinfo
66 12, 14, // methods
67 0, 0, // properties
68 0, 0, // enums/sets
69 0, 0, // constructors
70 0, // flags
71 0, // signalCount
72
73 // slots: name, argc, parameters, tag, flags, initial metatype offsets
74 1, 1, 86, 2, 0x0a, 1 /* Public */,
75 1, 0, 89, 2, 0x2a, 3 /* Public | MethodCloned */,
76 4, 1, 90, 2, 0x0a, 4 /* Public */,
77 4, 0, 93, 2, 0x2a, 6 /* Public | MethodCloned */,
78 6, 0, 94, 2, 0x0a, 7 /* Public */,
79 7, 1, 95, 2, 0x0a, 8 /* Public */,
80 8, 1, 98, 2, 0x0a, 10 /* Public */,
81 10, 1, 101, 2, 0x0a, 12 /* Public */,
82 11, 1, 104, 2, 0x0a, 14 /* Public */,
83 13, 1, 107, 2, 0x0a, 16 /* Public */,
84 14, 1, 110, 2, 0x0a, 18 /* Public */,
85 15, 1, 113, 2, 0x0a, 20 /* Public */,
86
87 // slots: parameters
88 QMetaType::Void, QMetaType::Double, 3,
89 QMetaType::Void,
90 QMetaType::Void, QMetaType::Int, 5,
91 QMetaType::Void,
92 QMetaType::Void,
93 QMetaType::Void, QMetaType::Int, 5,
94 QMetaType::Void, QMetaType::Bool, 9,
95 QMetaType::Void, QMetaType::Bool, 9,
96 QMetaType::Void, QMetaType::Int, 12,
97 QMetaType::Void, QMetaType::Int, 12,
98 QMetaType::Void, QMetaType::Int, 2,
99 QMetaType::Void, QMetaType::Int, 2,
100
101 0 // eod
102};
103
104Q_CONSTINIT const QMetaObject TransportControllable::staticMetaObject = { {
105 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
106 qt_meta_stringdata_CLASSTransportControllableENDCLASS.offsetsAndSizes,
107 qt_meta_data_CLASSTransportControllableENDCLASS,
108 qt_static_metacall,
109 nullptr,
110 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTransportControllableENDCLASS_t,
111 // Q_OBJECT / Q_GADGET
112 QtPrivate::TypeAndForceComplete<TransportControllable, std::true_type>,
113 // method 'play'
114 QtPrivate::TypeAndForceComplete<void, std::false_type>,
115 QtPrivate::TypeAndForceComplete<double, std::false_type>,
116 // method 'play'
117 QtPrivate::TypeAndForceComplete<void, std::false_type>,
118 // method 'pause'
119 QtPrivate::TypeAndForceComplete<void, std::false_type>,
120 QtPrivate::TypeAndForceComplete<int, std::false_type>,
121 // method 'pause'
122 QtPrivate::TypeAndForceComplete<void, std::false_type>,
123 // method 'stop'
124 QtPrivate::TypeAndForceComplete<void, std::false_type>,
125 // method 'seek'
126 QtPrivate::TypeAndForceComplete<void, std::false_type>,
127 QtPrivate::TypeAndForceComplete<int, std::false_type>,
128 // method 'rewind'
129 QtPrivate::TypeAndForceComplete<void, std::false_type>,
130 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
131 // method 'fastForward'
132 QtPrivate::TypeAndForceComplete<void, std::false_type>,
133 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
134 // method 'previous'
135 QtPrivate::TypeAndForceComplete<void, std::false_type>,
136 QtPrivate::TypeAndForceComplete<int, std::false_type>,
137 // method 'next'
138 QtPrivate::TypeAndForceComplete<void, std::false_type>,
139 QtPrivate::TypeAndForceComplete<int, std::false_type>,
140 // method 'setIn'
141 QtPrivate::TypeAndForceComplete<void, std::false_type>,
142 QtPrivate::TypeAndForceComplete<int, std::false_type>,
143 // method 'setOut'
144 QtPrivate::TypeAndForceComplete<void, std::false_type>,
145 QtPrivate::TypeAndForceComplete<int, std::false_type>
146 >,
147 nullptr
148} };
149
150void TransportControllable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
151{
152 if (_c == QMetaObject::InvokeMetaMethod) {
153 auto *_t = static_cast<TransportControllable *>(_o);
154 (void)_t;
155 switch (_id) {
156 case 0: _t->play((*reinterpret_cast< std::add_pointer_t<double>>(_a[1]))); break;
157 case 1: _t->play(); break;
158 case 2: _t->pause((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
159 case 3: _t->pause(); break;
160 case 4: _t->stop(); break;
161 case 5: _t->seek((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
162 case 6: _t->rewind((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
163 case 7: _t->fastForward((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
164 case 8: _t->previous((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
165 case 9: _t->next((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
166 case 10: _t->setIn((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
167 case 11: _t->setOut((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
168 default: ;
169 }
170 }
171}
172
173const QMetaObject *TransportControllable::metaObject() const
174{
175 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
176}
177
178void *TransportControllable::qt_metacast(const char *_clname)
179{
180 if (!_clname) return nullptr;
181 if (!strcmp(_clname, qt_meta_stringdata_CLASSTransportControllableENDCLASS.stringdata0))
182 return static_cast<void*>(this);
183 return QObject::qt_metacast(_clname);
184}
185
186int TransportControllable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
187{
188 _id = QObject::qt_metacall(_c, _id, _a);
189 if (_id < 0)
190 return _id;
191 if (_c == QMetaObject::InvokeMetaMethod) {
192 if (_id < 12)
193 qt_static_metacall(this, _c, _id, _a);
194 _id -= 12;
195 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
196 if (_id < 12)
197 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
198 _id -= 12;
199 }
200 return _id;
201}
202QT_WARNING_POP