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_kbanimwidget.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'kbanimwidget.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 "../kbanimwidget.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kbanimwidget.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[25];
23  char stringdata0[383];
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_KbAnimWidget_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 12), // "KbAnimWidget"
33 QT_MOC_LITERAL(1, 13, 11), // "animChanged"
34 QT_MOC_LITERAL(2, 25, 0), // ""
35 QT_MOC_LITERAL(3, 26, 7), // "KbAnim*"
36 QT_MOC_LITERAL(4, 34, 9), // "selection"
37 QT_MOC_LITERAL(5, 44, 18), // "didUpdateSelection"
38 QT_MOC_LITERAL(6, 63, 4), // "keys"
39 QT_MOC_LITERAL(7, 68, 30), // "on_animList_currentItemChanged"
40 QT_MOC_LITERAL(8, 99, 16), // "QListWidgetItem*"
41 QT_MOC_LITERAL(9, 116, 7), // "current"
42 QT_MOC_LITERAL(10, 124, 8), // "previous"
43 QT_MOC_LITERAL(11, 133, 23), // "on_animList_itemChanged"
44 QT_MOC_LITERAL(12, 157, 4), // "item"
45 QT_MOC_LITERAL(13, 162, 38), // "on_animList_customContextMenu..."
46 QT_MOC_LITERAL(14, 201, 3), // "pos"
47 QT_MOC_LITERAL(15, 205, 21), // "on_nameBox_textEdited"
48 QT_MOC_LITERAL(16, 227, 4), // "arg1"
49 QT_MOC_LITERAL(17, 232, 26), // "on_opacityBox_valueChanged"
50 QT_MOC_LITERAL(18, 259, 21), // "on_blendBox_activated"
51 QT_MOC_LITERAL(19, 281, 5), // "index"
52 QT_MOC_LITERAL(20, 287, 20), // "on_keyButton_clicked"
53 QT_MOC_LITERAL(21, 308, 23), // "on_deleteButton_clicked"
54 QT_MOC_LITERAL(22, 332, 11), // "refreshList"
55 QT_MOC_LITERAL(23, 344, 12), // "reorderAnims"
56 QT_MOC_LITERAL(24, 357, 25) // "on_propertyButton_clicked"
57 
58  },
59  "KbAnimWidget\0animChanged\0\0KbAnim*\0"
60  "selection\0didUpdateSelection\0keys\0"
61  "on_animList_currentItemChanged\0"
62  "QListWidgetItem*\0current\0previous\0"
63  "on_animList_itemChanged\0item\0"
64  "on_animList_customContextMenuRequested\0"
65  "pos\0on_nameBox_textEdited\0arg1\0"
66  "on_opacityBox_valueChanged\0"
67  "on_blendBox_activated\0index\0"
68  "on_keyButton_clicked\0on_deleteButton_clicked\0"
69  "refreshList\0reorderAnims\0"
70  "on_propertyButton_clicked"
71 };
72 #undef QT_MOC_LITERAL
73 
74 static const uint qt_meta_data_KbAnimWidget[] = {
75 
76  // content:
77  7, // revision
78  0, // classname
79  0, 0, // classinfo
80  13, 14, // methods
81  0, 0, // properties
82  0, 0, // enums/sets
83  0, 0, // constructors
84  0, // flags
85  2, // signalCount
86 
87  // signals: name, argc, parameters, tag, flags
88  1, 1, 79, 2, 0x06 /* Public */,
89  5, 1, 82, 2, 0x06 /* Public */,
90 
91  // slots: name, argc, parameters, tag, flags
92  7, 2, 85, 2, 0x08 /* Private */,
93  11, 1, 90, 2, 0x08 /* Private */,
94  13, 1, 93, 2, 0x08 /* Private */,
95  15, 1, 96, 2, 0x08 /* Private */,
96  17, 1, 99, 2, 0x08 /* Private */,
97  18, 1, 102, 2, 0x08 /* Private */,
98  20, 0, 105, 2, 0x08 /* Private */,
99  21, 0, 106, 2, 0x08 /* Private */,
100  22, 0, 107, 2, 0x08 /* Private */,
101  23, 0, 108, 2, 0x08 /* Private */,
102  24, 0, 109, 2, 0x08 /* Private */,
103 
104  // signals: parameters
105  QMetaType::Void, 0x80000000 | 3, 4,
106  QMetaType::Void, QMetaType::QStringList, 6,
107 
108  // slots: parameters
109  QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8, 9, 10,
110  QMetaType::Void, 0x80000000 | 8, 12,
111  QMetaType::Void, QMetaType::QPoint, 14,
112  QMetaType::Void, QMetaType::QString, 16,
113  QMetaType::Void, QMetaType::Double, 16,
114  QMetaType::Void, QMetaType::Int, 19,
115  QMetaType::Void,
116  QMetaType::Void,
117  QMetaType::Void,
118  QMetaType::Void,
119  QMetaType::Void,
120 
121  0 // eod
122 };
123 
124 void KbAnimWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
125 {
126  if (_c == QMetaObject::InvokeMetaMethod) {
127  KbAnimWidget *_t = static_cast<KbAnimWidget *>(_o);
128  Q_UNUSED(_t)
129  switch (_id) {
130  case 0: _t->animChanged((*reinterpret_cast< KbAnim*(*)>(_a[1]))); break;
131  case 1: _t->didUpdateSelection((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
132  case 2: _t->on_animList_currentItemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
133  case 3: _t->on_animList_itemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
134  case 4: _t->on_animList_customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
135  case 5: _t->on_nameBox_textEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
136  case 6: _t->on_opacityBox_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
137  case 7: _t->on_blendBox_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
138  case 8: _t->on_keyButton_clicked(); break;
139  case 9: _t->on_deleteButton_clicked(); break;
140  case 10: _t->refreshList(); break;
141  case 11: _t->reorderAnims(); break;
142  case 12: _t->on_propertyButton_clicked(); break;
143  default: ;
144  }
145  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
146  switch (_id) {
147  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
148  case 0:
149  switch (*reinterpret_cast<int*>(_a[1])) {
150  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
151  case 0:
152  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KbAnim* >(); break;
153  }
154  break;
155  }
156  } else if (_c == QMetaObject::IndexOfMethod) {
157  int *result = reinterpret_cast<int *>(_a[0]);
158  void **func = reinterpret_cast<void **>(_a[1]);
159  {
160  typedef void (KbAnimWidget::*_t)(KbAnim * );
161  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KbAnimWidget::animChanged)) {
162  *result = 0;
163  return;
164  }
165  }
166  {
167  typedef void (KbAnimWidget::*_t)(QStringList );
168  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KbAnimWidget::didUpdateSelection)) {
169  *result = 1;
170  return;
171  }
172  }
173  }
174 }
175 
176 const QMetaObject KbAnimWidget::staticMetaObject = {
177  { &QWidget::staticMetaObject, qt_meta_stringdata_KbAnimWidget.data,
178  qt_meta_data_KbAnimWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
179 };
180 
181 
182 const QMetaObject *KbAnimWidget::metaObject() const
183 {
184  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
185 }
186 
187 void *KbAnimWidget::qt_metacast(const char *_clname)
188 {
189  if (!_clname) return Q_NULLPTR;
190  if (!strcmp(_clname, qt_meta_stringdata_KbAnimWidget.stringdata0))
191  return static_cast<void*>(const_cast< KbAnimWidget*>(this));
192  return QWidget::qt_metacast(_clname);
193 }
194 
195 int KbAnimWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
196 {
197  _id = QWidget::qt_metacall(_c, _id, _a);
198  if (_id < 0)
199  return _id;
200  if (_c == QMetaObject::InvokeMetaMethod) {
201  if (_id < 13)
202  qt_static_metacall(this, _c, _id, _a);
203  _id -= 13;
204  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
205  if (_id < 13)
206  qt_static_metacall(this, _c, _id, _a);
207  _id -= 13;
208  }
209  return _id;
210 }
211 
212 // SIGNAL 0
214 {
215  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
216  QMetaObject::activate(this, &staticMetaObject, 0, _a);
217 }
218 
219 // SIGNAL 1
220 void KbAnimWidget::didUpdateSelection(QStringList _t1)
221 {
222  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
223  QMetaObject::activate(this, &staticMetaObject, 1, _a);
224 }
225 QT_END_MOC_NAMESPACE
void on_propertyButton_clicked()
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_KbAnimWidget[]
void on_nameBox_textEdited(const QString &arg1)
void on_deleteButton_clicked()
void reorderAnims()
static const qt_meta_stringdata_KbAnimWidget_t qt_meta_stringdata_KbAnimWidget
void on_animList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
void on_blendBox_activated(int index)
void refreshList()
Definition: kbanim.h:11
void on_animList_itemChanged(QListWidgetItem *item)
void animChanged(KbAnim *selection)
void on_opacityBox_valueChanged(double arg1)
void on_keyButton_clicked()
void didUpdateSelection(QStringList keys)
void on_animList_customContextMenuRequested(const QPoint &pos)