9 #include "../../../include/alsatimer.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'alsatimer.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.3.2. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
20 QT_BEGIN_MOC_NAMESPACE
21 struct qt_meta_stringdata_drumstick__Timer_t {
22 QByteArrayData data[5];
25 #define QT_MOC_LITERAL(idx, ofs, len) \
26 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27 qptrdiff(offsetof(qt_meta_stringdata_drumstick__Timer_t, stringdata) + ofs \
28 - idx * sizeof(QByteArrayData)) \
30 static const qt_meta_stringdata_drumstick__Timer_t qt_meta_stringdata_drumstick__Timer = {
32 QT_MOC_LITERAL(0, 0, 16),
33 QT_MOC_LITERAL(1, 17, 12),
34 QT_MOC_LITERAL(2, 30, 0),
35 QT_MOC_LITERAL(3, 31, 5),
36 QT_MOC_LITERAL(4, 37, 5)
38 "drumstick::Timer\0timerExpired\0\0ticks\0"
43 static const uint qt_meta_data_drumstick__Timer[] = {
60 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
65 void drumstick::Timer::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
67 if (_c == QMetaObject::InvokeMetaMethod) {
70 case 0: _t->timerExpired((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
73 }
else if (_c == QMetaObject::IndexOfMethod) {
74 int *result =
reinterpret_cast<int *
>(_a[0]);
75 void **func =
reinterpret_cast<void **
>(_a[1]);
77 typedef void (
Timer::*_t)(int , int );
85 const QMetaObject drumstick::Timer::staticMetaObject = {
86 { &QObject::staticMetaObject, qt_meta_stringdata_drumstick__Timer.data,
87 qt_meta_data_drumstick__Timer, qt_static_metacall, 0, 0}
91 const QMetaObject *drumstick::Timer::metaObject()
const
93 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
96 void *drumstick::Timer::qt_metacast(
const char *_clname)
98 if (!_clname)
return 0;
99 if (!strcmp(_clname, qt_meta_stringdata_drumstick__Timer.stringdata))
100 return static_cast<void*
>(
const_cast< Timer*
>(
this));
101 return QObject::qt_metacast(_clname);
104 int drumstick::Timer::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
106 _id = QObject::qt_metacall(_c, _id, _a);
109 if (_c == QMetaObject::InvokeMetaMethod) {
111 qt_static_metacall(
this, _c, _id, _a);
113 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
115 *
reinterpret_cast<int*
>(_a[0]) = -1;
124 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
125 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
The QObject class is the base class of all Qt objects.
Timer(int cls, int scls, int card, int dev, int sdev, int openMode, QObject *parent=0)
Constructor.
void timerExpired(int ticks, int msecs)
This signal is emitted when the timer has expired, if there is not an event hander installed...