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 "stop",
44 "seek",
45 "position",
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 11, 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, 80, 2, 0x0a, 1 /* Public */,
75 1, 0, 83, 2, 0x2a, 3 /* Public | MethodCloned */,
76 4, 0, 84, 2, 0x0a, 4 /* Public */,
77 5, 0, 85, 2, 0x0a, 5 /* Public */,
78 6, 1, 86, 2, 0x0a, 6 /* Public */,
79 8, 1, 89, 2, 0x0a, 8 /* Public */,
80 10, 1, 92, 2, 0x0a, 10 /* Public */,
81 11, 1, 95, 2, 0x0a, 12 /* Public */,
82 13, 1, 98, 2, 0x0a, 14 /* Public */,
83 14, 1, 101, 2, 0x0a, 16 /* Public */,
84 15, 1, 104, 2, 0x0a, 18 /* Public */,
85
86 // slots: parameters
87 QMetaType::Void, QMetaType::Double, 3,
88 QMetaType::Void,
89 QMetaType::Void,
90 QMetaType::Void,
91 QMetaType::Void, QMetaType::Int, 7,
92 QMetaType::Void, QMetaType::Bool, 9,
93 QMetaType::Void, QMetaType::Bool, 9,
94 QMetaType::Void, QMetaType::Int, 12,
95 QMetaType::Void, QMetaType::Int, 12,
96 QMetaType::Void, QMetaType::Int, 2,
97 QMetaType::Void, QMetaType::Int, 2,
98
99 0 // eod
100};
101
102Q_CONSTINIT const QMetaObject TransportControllable::staticMetaObject = { {
103 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
104 qt_meta_stringdata_CLASSTransportControllableENDCLASS.offsetsAndSizes,
105 qt_meta_data_CLASSTransportControllableENDCLASS,
106 qt_static_metacall,
107 nullptr,
108 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSTransportControllableENDCLASS_t,
109 // Q_OBJECT / Q_GADGET
110 QtPrivate::TypeAndForceComplete<TransportControllable, std::true_type>,
111 // method 'play'
112 QtPrivate::TypeAndForceComplete<void, std::false_type>,
113 QtPrivate::TypeAndForceComplete<double, std::false_type>,
114 // method 'play'
115 QtPrivate::TypeAndForceComplete<void, std::false_type>,
116 // method 'pause'
117 QtPrivate::TypeAndForceComplete<void, std::false_type>,
118 // method 'stop'
119 QtPrivate::TypeAndForceComplete<void, std::false_type>,
120 // method 'seek'
121 QtPrivate::TypeAndForceComplete<void, std::false_type>,
122 QtPrivate::TypeAndForceComplete<int, std::false_type>,
123 // method 'rewind'
124 QtPrivate::TypeAndForceComplete<void, std::false_type>,
125 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
126 // method 'fastForward'
127 QtPrivate::TypeAndForceComplete<void, std::false_type>,
128 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
129 // method 'previous'
130 QtPrivate::TypeAndForceComplete<void, std::false_type>,
131 QtPrivate::TypeAndForceComplete<int, std::false_type>,
132 // method 'next'
133 QtPrivate::TypeAndForceComplete<void, std::false_type>,
134 QtPrivate::TypeAndForceComplete<int, std::false_type>,
135 // method 'setIn'
136 QtPrivate::TypeAndForceComplete<void, std::false_type>,
137 QtPrivate::TypeAndForceComplete<int, std::false_type>,
138 // method 'setOut'
139 QtPrivate::TypeAndForceComplete<void, std::false_type>,
140 QtPrivate::TypeAndForceComplete<int, std::false_type>
141 >,
142 nullptr
143} };
144
145void TransportControllable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
146{
147 if (_c == QMetaObject::InvokeMetaMethod) {
148 auto *_t = static_cast<TransportControllable *>(_o);
149 (void)_t;
150 switch (_id) {
151 case 0: _t->play((*reinterpret_cast< std::add_pointer_t<double>>(_a[1]))); break;
152 case 1: _t->play(); break;
153 case 2: _t->pause(); break;
154 case 3: _t->stop(); break;
155 case 4: _t->seek((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
156 case 5: _t->rewind((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
157 case 6: _t->fastForward((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
158 case 7: _t->previous((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
159 case 8: _t->next((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
160 case 9: _t->setIn((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
161 case 10: _t->setOut((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
162 default: ;
163 }
164 }
165}
166
167const QMetaObject *TransportControllable::metaObject() const
168{
169 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
170}
171
172void *TransportControllable::qt_metacast(const char *_clname)
173{
174 if (!_clname) return nullptr;
175 if (!strcmp(_clname, qt_meta_stringdata_CLASSTransportControllableENDCLASS.stringdata0))
176 return static_cast<void*>(this);
177 return QObject::qt_metacast(_clname);
178}
179
180int TransportControllable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
181{
182 _id = QObject::qt_metacall(_c, _id, _a);
183 if (_id < 0)
184 return _id;
185 if (_c == QMetaObject::InvokeMetaMethod) {
186 if (_id < 11)
187 qt_static_metacall(this, _c, _id, _a);
188 _id -= 11;
189 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
190 if (_id < 11)
191 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
192 _id -= 11;
193 }
194 return _id;
195}
196QT_WARNING_POP