10 #include "../../../../include/drumstick/alsatimer.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'alsatimer.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.0. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
21 QT_BEGIN_MOC_NAMESPACE
23 QT_WARNING_DISABLE_DEPRECATED
24 struct qt_meta_stringdata_drumstick__Timer_t {
25 QByteArrayData data[5];
28 #define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_drumstick__Timer_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
33 static const qt_meta_stringdata_drumstick__Timer_t qt_meta_stringdata_drumstick__Timer = {
35 QT_MOC_LITERAL(0, 0, 16),
36 QT_MOC_LITERAL(1, 17, 12),
37 QT_MOC_LITERAL(2, 30, 0),
38 QT_MOC_LITERAL(3, 31, 5),
39 QT_MOC_LITERAL(4, 37, 5)
42 "drumstick::Timer\0timerExpired\0\0ticks\0"
47 static const uint qt_meta_data_drumstick__Timer[] = {
64 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
69 void drumstick::Timer::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
71 if (_c == QMetaObject::InvokeMetaMethod) {
72 auto *_t =
static_cast<Timer *
>(_o);
75 case 0: _t->timerExpired((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
78 }
else if (_c == QMetaObject::IndexOfMethod) {
79 int *result =
reinterpret_cast<int *
>(_a[0]);
81 using _t = void (
Timer::*)(int , int );
90 QT_INIT_METAOBJECT
const QMetaObject drumstick::Timer::staticMetaObject = { {
91 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
92 qt_meta_stringdata_drumstick__Timer.data,
93 qt_meta_data_drumstick__Timer,
100 const QMetaObject *drumstick::Timer::metaObject()
const
102 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
105 void *drumstick::Timer::qt_metacast(
const char *_clname)
107 if (!_clname)
return nullptr;
108 if (!strcmp(_clname, qt_meta_stringdata_drumstick__Timer.stringdata0))
109 return static_cast<void*
>(
this);
110 return QObject::qt_metacast(_clname);
113 int drumstick::Timer::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
115 _id = QObject::qt_metacall(_c, _id, _a);
118 if (_c == QMetaObject::InvokeMetaMethod) {
120 qt_static_metacall(
this, _c, _id, _a);
122 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
124 *
reinterpret_cast<int*
>(_a[0]) = -1;
133 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
134 QMetaObject::activate(
this, &staticMetaObject, 0, _a);