ckb-next  v0.2.8 at branch master
ckb-next driver for corsair devices
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
moc_kbperf.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'kbperf.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "../kbperf.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kbperf.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.7.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
22  QByteArrayData data[4];
23  char stringdata0[32];
24 };
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_KbPerf_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 6), // "KbPerf"
33 QT_MOC_LITERAL(1, 7, 7), // "didLoad"
34 QT_MOC_LITERAL(2, 15, 0), // ""
35 QT_MOC_LITERAL(3, 16, 15) // "settingsUpdated"
36 
37  },
38  "KbPerf\0didLoad\0\0settingsUpdated"
39 };
40 #undef QT_MOC_LITERAL
41 
42 static const uint qt_meta_data_KbPerf[] = {
43 
44  // content:
45  7, // revision
46  0, // classname
47  0, 0, // classinfo
48  2, 14, // methods
49  0, 0, // properties
50  0, 0, // enums/sets
51  0, 0, // constructors
52  0, // flags
53  2, // signalCount
54 
55  // signals: name, argc, parameters, tag, flags
56  1, 0, 24, 2, 0x06 /* Public */,
57  3, 0, 25, 2, 0x06 /* Public */,
58 
59  // signals: parameters
60  QMetaType::Void,
61  QMetaType::Void,
62 
63  0 // eod
64 };
65 
66 void KbPerf::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67 {
68  if (_c == QMetaObject::InvokeMetaMethod) {
69  KbPerf *_t = static_cast<KbPerf *>(_o);
70  Q_UNUSED(_t)
71  switch (_id) {
72  case 0: _t->didLoad(); break;
73  case 1: _t->settingsUpdated(); break;
74  default: ;
75  }
76  } else if (_c == QMetaObject::IndexOfMethod) {
77  int *result = reinterpret_cast<int *>(_a[0]);
78  void **func = reinterpret_cast<void **>(_a[1]);
79  {
80  typedef void (KbPerf::*_t)();
81  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KbPerf::didLoad)) {
82  *result = 0;
83  return;
84  }
85  }
86  {
87  typedef void (KbPerf::*_t)();
88  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KbPerf::settingsUpdated)) {
89  *result = 1;
90  return;
91  }
92  }
93  }
94  Q_UNUSED(_a);
95 }
96 
97 const QMetaObject KbPerf::staticMetaObject = {
98  { &QObject::staticMetaObject, qt_meta_stringdata_KbPerf.data,
99  qt_meta_data_KbPerf, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
100 };
101 
102 
103 const QMetaObject *KbPerf::metaObject() const
104 {
105  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
106 }
107 
108 void *KbPerf::qt_metacast(const char *_clname)
109 {
110  if (!_clname) return Q_NULLPTR;
111  if (!strcmp(_clname, qt_meta_stringdata_KbPerf.stringdata0))
112  return static_cast<void*>(const_cast< KbPerf*>(this));
113  return QObject::qt_metacast(_clname);
114 }
115 
116 int KbPerf::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
117 {
118  _id = QObject::qt_metacall(_c, _id, _a);
119  if (_id < 0)
120  return _id;
121  if (_c == QMetaObject::InvokeMetaMethod) {
122  if (_id < 2)
123  qt_static_metacall(this, _c, _id, _a);
124  _id -= 2;
125  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
126  if (_id < 2)
127  *reinterpret_cast<int*>(_a[0]) = -1;
128  _id -= 2;
129  }
130  return _id;
131 }
132 
133 // SIGNAL 0
135 {
136  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
137 }
138 
139 // SIGNAL 1
141 {
142  QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
143 }
144 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_KbPerf_t qt_meta_stringdata_KbPerf
Definition: moc_kbperf.cpp:30
QByteArrayData data[4]
Definition: moc_kbperf.cpp:22
static const uint qt_meta_data_KbPerf[]
Definition: moc_kbperf.cpp:42
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_kbperf.cpp:25
void didLoad()
Definition: moc_kbperf.cpp:134
Definition: kbperf.h:15
void settingsUpdated()
Definition: moc_kbperf.cpp:140