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_kblightwidget.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'kblightwidget.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 "../kblightwidget.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kblightwidget.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[19];
23  char stringdata0[240];
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_KbLightWidget_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 13), // "KbLightWidget"
33 QT_MOC_LITERAL(1, 14, 11), // "updateLight"
34 QT_MOC_LITERAL(2, 26, 0), // ""
35 QT_MOC_LITERAL(3, 27, 12), // "newSelection"
36 QT_MOC_LITERAL(4, 40, 9), // "selection"
37 QT_MOC_LITERAL(5, 50, 11), // "changeColor"
38 QT_MOC_LITERAL(6, 62, 8), // "newColor"
39 QT_MOC_LITERAL(7, 71, 10), // "changeAnim"
40 QT_MOC_LITERAL(8, 82, 7), // "KbAnim*"
41 QT_MOC_LITERAL(9, 90, 7), // "newAnim"
42 QT_MOC_LITERAL(10, 98, 14), // "changeAnimKeys"
43 QT_MOC_LITERAL(11, 113, 4), // "keys"
44 QT_MOC_LITERAL(12, 118, 26), // "on_brightnessBox_activated"
45 QT_MOC_LITERAL(13, 145, 5), // "index"
46 QT_MOC_LITERAL(14, 151, 21), // "on_animButton_clicked"
47 QT_MOC_LITERAL(15, 173, 19), // "on_bgButton_clicked"
48 QT_MOC_LITERAL(16, 193, 22), // "on_showAnimBox_clicked"
49 QT_MOC_LITERAL(17, 216, 7), // "checked"
50 QT_MOC_LITERAL(18, 224, 15) // "toggleSidelight"
51 
52  },
53  "KbLightWidget\0updateLight\0\0newSelection\0"
54  "selection\0changeColor\0newColor\0"
55  "changeAnim\0KbAnim*\0newAnim\0changeAnimKeys\0"
56  "keys\0on_brightnessBox_activated\0index\0"
57  "on_animButton_clicked\0on_bgButton_clicked\0"
58  "on_showAnimBox_clicked\0checked\0"
59  "toggleSidelight"
60 };
61 #undef QT_MOC_LITERAL
62 
63 static const uint qt_meta_data_KbLightWidget[] = {
64 
65  // content:
66  7, // revision
67  0, // classname
68  0, 0, // classinfo
69  10, 14, // methods
70  0, 0, // properties
71  0, 0, // enums/sets
72  0, 0, // constructors
73  0, // flags
74  0, // signalCount
75 
76  // slots: name, argc, parameters, tag, flags
77  1, 0, 64, 2, 0x08 /* Private */,
78  3, 1, 65, 2, 0x08 /* Private */,
79  5, 1, 68, 2, 0x08 /* Private */,
80  7, 1, 71, 2, 0x08 /* Private */,
81  10, 1, 74, 2, 0x08 /* Private */,
82  12, 1, 77, 2, 0x08 /* Private */,
83  14, 0, 80, 2, 0x08 /* Private */,
84  15, 0, 81, 2, 0x08 /* Private */,
85  16, 1, 82, 2, 0x08 /* Private */,
86  18, 0, 85, 2, 0x08 /* Private */,
87 
88  // slots: parameters
89  QMetaType::Void,
90  QMetaType::Void, QMetaType::QStringList, 4,
91  QMetaType::Void, QMetaType::QColor, 6,
92  QMetaType::Void, 0x80000000 | 8, 9,
93  QMetaType::Void, QMetaType::QStringList, 11,
94  QMetaType::Void, QMetaType::Int, 13,
95  QMetaType::Void,
96  QMetaType::Void,
97  QMetaType::Void, QMetaType::Bool, 17,
98  QMetaType::Void,
99 
100  0 // eod
101 };
102 
103 void KbLightWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
104 {
105  if (_c == QMetaObject::InvokeMetaMethod) {
106  KbLightWidget *_t = static_cast<KbLightWidget *>(_o);
107  Q_UNUSED(_t)
108  switch (_id) {
109  case 0: _t->updateLight(); break;
110  case 1: _t->newSelection((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
111  case 2: _t->changeColor((*reinterpret_cast< QColor(*)>(_a[1]))); break;
112  case 3: _t->changeAnim((*reinterpret_cast< KbAnim*(*)>(_a[1]))); break;
113  case 4: _t->changeAnimKeys((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
114  case 5: _t->on_brightnessBox_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
115  case 6: _t->on_animButton_clicked(); break;
116  case 7: _t->on_bgButton_clicked(); break;
117  case 8: _t->on_showAnimBox_clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
118  case 9: _t->toggleSidelight(); break;
119  default: ;
120  }
121  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
122  switch (_id) {
123  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
124  case 3:
125  switch (*reinterpret_cast<int*>(_a[1])) {
126  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
127  case 0:
128  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KbAnim* >(); break;
129  }
130  break;
131  }
132  }
133 }
134 
135 const QMetaObject KbLightWidget::staticMetaObject = {
136  { &QWidget::staticMetaObject, qt_meta_stringdata_KbLightWidget.data,
137  qt_meta_data_KbLightWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
138 };
139 
140 
141 const QMetaObject *KbLightWidget::metaObject() const
142 {
143  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
144 }
145 
146 void *KbLightWidget::qt_metacast(const char *_clname)
147 {
148  if (!_clname) return Q_NULLPTR;
149  if (!strcmp(_clname, qt_meta_stringdata_KbLightWidget.stringdata0))
150  return static_cast<void*>(const_cast< KbLightWidget*>(this));
151  return QWidget::qt_metacast(_clname);
152 }
153 
154 int KbLightWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
155 {
156  _id = QWidget::qt_metacall(_c, _id, _a);
157  if (_id < 0)
158  return _id;
159  if (_c == QMetaObject::InvokeMetaMethod) {
160  if (_id < 10)
161  qt_static_metacall(this, _c, _id, _a);
162  _id -= 10;
163  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
164  if (_id < 10)
165  qt_static_metacall(this, _c, _id, _a);
166  _id -= 10;
167  }
168  return _id;
169 }
170 QT_END_MOC_NAMESPACE
void changeAnimKeys(QStringList keys)
void toggleSidelight()
void on_brightnessBox_activated(int index)
void on_animButton_clicked()
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_KbLightWidget[]
void changeAnim(KbAnim *newAnim)
void on_showAnimBox_clicked(bool checked)
void on_bgButton_clicked()
void newSelection(QStringList selection)
void changeColor(QColor newColor)
Definition: kbanim.h:11
static const qt_meta_stringdata_KbLightWidget_t qt_meta_stringdata_KbLightWidget