drumstick  1.0.2
moc_netmidiinput_p.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'netmidiinput_p.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.1)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "netmidiinput_p.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'netmidiinput_p.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.9.1. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
23 struct qt_meta_stringdata_drumstick__rt__NetMIDIInputPrivate_t {
24  QByteArrayData data[3];
25  char stringdata0[60];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_drumstick__rt__NetMIDIInputPrivate_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
32 static const qt_meta_stringdata_drumstick__rt__NetMIDIInputPrivate_t qt_meta_stringdata_drumstick__rt__NetMIDIInputPrivate = {
33  {
34 QT_MOC_LITERAL(0, 0, 34), // "drumstick::rt::NetMIDIInputPr..."
35 QT_MOC_LITERAL(1, 35, 23), // "processIncomingMessages"
36 QT_MOC_LITERAL(2, 59, 0) // ""
37 
38  },
39  "drumstick::rt::NetMIDIInputPrivate\0"
40  "processIncomingMessages\0"
41 };
42 #undef QT_MOC_LITERAL
43 
44 static const uint qt_meta_data_drumstick__rt__NetMIDIInputPrivate[] = {
45 
46  // content:
47  7, // revision
48  0, // classname
49  0, 0, // classinfo
50  1, 14, // methods
51  0, 0, // properties
52  0, 0, // enums/sets
53  0, 0, // constructors
54  0, // flags
55  0, // signalCount
56 
57  // slots: name, argc, parameters, tag, flags
58  1, 0, 19, 2, 0x0a /* Public */,
59 
60  // slots: parameters
61  QMetaType::Void,
62 
63  0 // eod
64 };
65 
66 void drumstick::rt::NetMIDIInputPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67 {
68  if (_c == QMetaObject::InvokeMetaMethod) {
69  NetMIDIInputPrivate *_t = static_cast<NetMIDIInputPrivate *>(_o);
70  Q_UNUSED(_t)
71  switch (_id) {
72  case 0: _t->processIncomingMessages(); break;
73  default: ;
74  }
75  }
76  Q_UNUSED(_a);
77 }
78 
79 const QMetaObject drumstick::rt::NetMIDIInputPrivate::staticMetaObject = {
80  { &QObject::staticMetaObject, qt_meta_stringdata_drumstick__rt__NetMIDIInputPrivate.data,
81  qt_meta_data_drumstick__rt__NetMIDIInputPrivate, qt_static_metacall, nullptr, nullptr}
82 };
83 
84 
85 const QMetaObject *drumstick::rt::NetMIDIInputPrivate::metaObject() const
86 {
87  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
88 }
89 
90 void *drumstick::rt::NetMIDIInputPrivate::qt_metacast(const char *_clname)
91 {
92  if (!_clname) return nullptr;
93  if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__NetMIDIInputPrivate.stringdata0))
94  return static_cast<void*>(const_cast< NetMIDIInputPrivate*>(this));
95  return QObject::qt_metacast(_clname);
96 }
97 
98 int drumstick::rt::NetMIDIInputPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
99 {
100  _id = QObject::qt_metacall(_c, _id, _a);
101  if (_id < 0)
102  return _id;
103  if (_c == QMetaObject::InvokeMetaMethod) {
104  if (_id < 1)
105  qt_static_metacall(this, _c, _id, _a);
106  _id -= 1;
107  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
108  if (_id < 1)
109  *reinterpret_cast<int*>(_a[0]) = -1;
110  _id -= 1;
111  }
112  return _id;
113 }
114 QT_WARNING_POP
115 QT_END_MOC_NAMESPACE
The QObject class is the base class of all Qt objects.