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_kb.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'kb.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 "../kb.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kb.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[20];
23  char stringdata0[214];
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_Kb_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 2), // "Kb"
33 QT_MOC_LITERAL(1, 3, 11), // "infoUpdated"
34 QT_MOC_LITERAL(2, 15, 0), // ""
35 QT_MOC_LITERAL(3, 16, 12), // "profileAdded"
36 QT_MOC_LITERAL(4, 29, 14), // "profileRenamed"
37 QT_MOC_LITERAL(5, 44, 11), // "modeRenamed"
38 QT_MOC_LITERAL(6, 56, 14), // "profileChanged"
39 QT_MOC_LITERAL(7, 71, 11), // "modeChanged"
40 QT_MOC_LITERAL(8, 83, 11), // "spontaneous"
41 QT_MOC_LITERAL(9, 95, 16), // "fwUpdateProgress"
42 QT_MOC_LITERAL(10, 112, 7), // "current"
43 QT_MOC_LITERAL(11, 120, 5), // "total"
44 QT_MOC_LITERAL(12, 126, 16), // "fwUpdateFinished"
45 QT_MOC_LITERAL(13, 143, 9), // "succeeded"
46 QT_MOC_LITERAL(14, 153, 11), // "frameUpdate"
47 QT_MOC_LITERAL(15, 165, 8), // "autoSave"
48 QT_MOC_LITERAL(16, 174, 10), // "readNotify"
49 QT_MOC_LITERAL(17, 185, 4), // "line"
50 QT_MOC_LITERAL(18, 190, 8), // "deleteHw"
51 QT_MOC_LITERAL(19, 199, 14) // "deletePrevious"
52 
53  },
54  "Kb\0infoUpdated\0\0profileAdded\0"
55  "profileRenamed\0modeRenamed\0profileChanged\0"
56  "modeChanged\0spontaneous\0fwUpdateProgress\0"
57  "current\0total\0fwUpdateFinished\0succeeded\0"
58  "frameUpdate\0autoSave\0readNotify\0line\0"
59  "deleteHw\0deletePrevious"
60 };
61 #undef QT_MOC_LITERAL
62 
63 static const uint qt_meta_data_Kb[] = {
64 
65  // content:
66  7, // revision
67  0, // classname
68  0, 0, // classinfo
69  13, 14, // methods
70  0, 0, // properties
71  0, 0, // enums/sets
72  0, 0, // constructors
73  0, // flags
74  8, // signalCount
75 
76  // signals: name, argc, parameters, tag, flags
77  1, 0, 79, 2, 0x06 /* Public */,
78  3, 0, 80, 2, 0x06 /* Public */,
79  4, 0, 81, 2, 0x06 /* Public */,
80  5, 0, 82, 2, 0x06 /* Public */,
81  6, 0, 83, 2, 0x06 /* Public */,
82  7, 1, 84, 2, 0x06 /* Public */,
83  9, 2, 87, 2, 0x06 /* Public */,
84  12, 1, 92, 2, 0x06 /* Public */,
85 
86  // slots: name, argc, parameters, tag, flags
87  14, 0, 95, 2, 0x0a /* Public */,
88  15, 0, 96, 2, 0x0a /* Public */,
89  16, 1, 97, 2, 0x08 /* Private */,
90  18, 0, 100, 2, 0x08 /* Private */,
91  19, 0, 101, 2, 0x08 /* Private */,
92 
93  // signals: parameters
94  QMetaType::Void,
95  QMetaType::Void,
96  QMetaType::Void,
97  QMetaType::Void,
98  QMetaType::Void,
99  QMetaType::Void, QMetaType::Bool, 8,
100  QMetaType::Void, QMetaType::Int, QMetaType::Int, 10, 11,
101  QMetaType::Void, QMetaType::Bool, 13,
102 
103  // slots: parameters
104  QMetaType::Void,
105  QMetaType::Void,
106  QMetaType::Void, QMetaType::QString, 17,
107  QMetaType::Void,
108  QMetaType::Void,
109 
110  0 // eod
111 };
112 
113 void Kb::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
114 {
115  if (_c == QMetaObject::InvokeMetaMethod) {
116  Kb *_t = static_cast<Kb *>(_o);
117  Q_UNUSED(_t)
118  switch (_id) {
119  case 0: _t->infoUpdated(); break;
120  case 1: _t->profileAdded(); break;
121  case 2: _t->profileRenamed(); break;
122  case 3: _t->modeRenamed(); break;
123  case 4: _t->profileChanged(); break;
124  case 5: _t->modeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
125  case 6: _t->fwUpdateProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
126  case 7: _t->fwUpdateFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
127  case 8: _t->frameUpdate(); break;
128  case 9: _t->autoSave(); break;
129  case 10: _t->readNotify((*reinterpret_cast< QString(*)>(_a[1]))); break;
130  case 11: _t->deleteHw(); break;
131  case 12: _t->deletePrevious(); break;
132  default: ;
133  }
134  } else if (_c == QMetaObject::IndexOfMethod) {
135  int *result = reinterpret_cast<int *>(_a[0]);
136  void **func = reinterpret_cast<void **>(_a[1]);
137  {
138  typedef void (Kb::*_t)();
139  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Kb::infoUpdated)) {
140  *result = 0;
141  return;
142  }
143  }
144  {
145  typedef void (Kb::*_t)();
146  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Kb::profileAdded)) {
147  *result = 1;
148  return;
149  }
150  }
151  {
152  typedef void (Kb::*_t)();
153  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Kb::profileRenamed)) {
154  *result = 2;
155  return;
156  }
157  }
158  {
159  typedef void (Kb::*_t)();
160  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Kb::modeRenamed)) {
161  *result = 3;
162  return;
163  }
164  }
165  {
166  typedef void (Kb::*_t)();
167  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Kb::profileChanged)) {
168  *result = 4;
169  return;
170  }
171  }
172  {
173  typedef void (Kb::*_t)(bool );
174  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Kb::modeChanged)) {
175  *result = 5;
176  return;
177  }
178  }
179  {
180  typedef void (Kb::*_t)(int , int );
181  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Kb::fwUpdateProgress)) {
182  *result = 6;
183  return;
184  }
185  }
186  {
187  typedef void (Kb::*_t)(bool );
188  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Kb::fwUpdateFinished)) {
189  *result = 7;
190  return;
191  }
192  }
193  }
194 }
195 
196 const QMetaObject Kb::staticMetaObject = {
197  { &QThread::staticMetaObject, qt_meta_stringdata_Kb.data,
198  qt_meta_data_Kb, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
199 };
200 
201 
202 const QMetaObject *Kb::metaObject() const
203 {
204  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
205 }
206 
207 void *Kb::qt_metacast(const char *_clname)
208 {
209  if (!_clname) return Q_NULLPTR;
210  if (!strcmp(_clname, qt_meta_stringdata_Kb.stringdata0))
211  return static_cast<void*>(const_cast< Kb*>(this));
212  return QThread::qt_metacast(_clname);
213 }
214 
215 int Kb::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
216 {
217  _id = QThread::qt_metacall(_c, _id, _a);
218  if (_id < 0)
219  return _id;
220  if (_c == QMetaObject::InvokeMetaMethod) {
221  if (_id < 13)
222  qt_static_metacall(this, _c, _id, _a);
223  _id -= 13;
224  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
225  if (_id < 13)
226  *reinterpret_cast<int*>(_a[0]) = -1;
227  _id -= 13;
228  }
229  return _id;
230 }
231 
232 // SIGNAL 0
234 {
235  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
236 }
237 
238 // SIGNAL 1
240 {
241  QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
242 }
243 
244 // SIGNAL 2
246 {
247  QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
248 }
249 
250 // SIGNAL 3
252 {
253  QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
254 }
255 
256 // SIGNAL 4
258 {
259  QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
260 }
261 
262 // SIGNAL 5
263 void Kb::modeChanged(bool _t1)
264 {
265  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
266  QMetaObject::activate(this, &staticMetaObject, 5, _a);
267 }
268 
269 // SIGNAL 6
270 void Kb::fwUpdateProgress(int _t1, int _t2)
271 {
272  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
273  QMetaObject::activate(this, &staticMetaObject, 6, _a);
274 }
275 
276 // SIGNAL 7
277 void Kb::fwUpdateFinished(bool _t1)
278 {
279  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
280  QMetaObject::activate(this, &staticMetaObject, 7, _a);
281 }
282 QT_END_MOC_NAMESPACE
void modeRenamed()
Definition: moc_kb.cpp:251
char stringdata0[214]
Definition: moc_kb.cpp:23
void infoUpdated()
Definition: moc_kb.cpp:233
void profileChanged()
Definition: moc_kb.cpp:257
static const qt_meta_stringdata_Kb_t qt_meta_stringdata_Kb
Definition: moc_kb.cpp:30
QByteArrayData data[20]
Definition: moc_kb.cpp:22
void frameUpdate()
Definition: kb.cpp:375
Definition: kb.h:11
void profileRenamed()
Definition: moc_kb.cpp:245
void deleteHw()
Definition: kb.cpp:441
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_kb.cpp:25
void profileAdded()
Definition: moc_kb.cpp:239
static const uint qt_meta_data_Kb[]
Definition: moc_kb.cpp:63
void modeChanged(bool spontaneous)
Definition: moc_kb.cpp:263
void fwUpdateProgress(int current, int total)
Definition: moc_kb.cpp:270
void fwUpdateFinished(bool succeeded)
Definition: moc_kb.cpp:277
void autoSave()
Definition: kb.cpp:289
void deletePrevious()
Definition: kb.cpp:426
void readNotify(QString line)
Definition: kb.cpp:471