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_kbwidget.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'kbwidget.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 "../kbwidget.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kbwidget.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[29];
23  char stringdata0[442];
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_KbWidget_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 8), // "KbWidget"
33 QT_MOC_LITERAL(1, 9, 12), // "showFirstTab"
34 QT_MOC_LITERAL(2, 22, 0), // ""
35 QT_MOC_LITERAL(3, 23, 11), // "showLastTab"
36 QT_MOC_LITERAL(4, 35, 12), // "showFwUpdate"
37 QT_MOC_LITERAL(5, 48, 17), // "updateProfileList"
38 QT_MOC_LITERAL(6, 66, 14), // "profileChanged"
39 QT_MOC_LITERAL(7, 81, 23), // "on_profileBox_activated"
40 QT_MOC_LITERAL(8, 105, 5), // "index"
41 QT_MOC_LITERAL(9, 111, 8), // "modeIcon"
42 QT_MOC_LITERAL(10, 120, 1), // "i"
43 QT_MOC_LITERAL(11, 122, 14), // "addNewModeItem"
44 QT_MOC_LITERAL(12, 137, 11), // "modeChanged"
45 QT_MOC_LITERAL(13, 149, 11), // "spontaneous"
46 QT_MOC_LITERAL(14, 161, 31), // "on_modesList_currentItemChanged"
47 QT_MOC_LITERAL(15, 193, 16), // "QListWidgetItem*"
48 QT_MOC_LITERAL(16, 210, 7), // "current"
49 QT_MOC_LITERAL(17, 218, 8), // "previous"
50 QT_MOC_LITERAL(18, 227, 19), // "modesList_reordered"
51 QT_MOC_LITERAL(19, 247, 24), // "on_modesList_itemChanged"
52 QT_MOC_LITERAL(20, 272, 4), // "item"
53 QT_MOC_LITERAL(21, 277, 24), // "on_modesList_itemClicked"
54 QT_MOC_LITERAL(22, 302, 39), // "on_modesList_customContextMen..."
55 QT_MOC_LITERAL(23, 342, 3), // "pos"
56 QT_MOC_LITERAL(24, 346, 9), // "devUpdate"
57 QT_MOC_LITERAL(25, 356, 10), // "modeUpdate"
58 QT_MOC_LITERAL(26, 367, 23), // "on_hwSaveButton_clicked"
59 QT_MOC_LITERAL(27, 391, 27), // "on_tabWidget_currentChanged"
60 QT_MOC_LITERAL(28, 419, 22) // "on_fwUpdButton_clicked"
61 
62  },
63  "KbWidget\0showFirstTab\0\0showLastTab\0"
64  "showFwUpdate\0updateProfileList\0"
65  "profileChanged\0on_profileBox_activated\0"
66  "index\0modeIcon\0i\0addNewModeItem\0"
67  "modeChanged\0spontaneous\0"
68  "on_modesList_currentItemChanged\0"
69  "QListWidgetItem*\0current\0previous\0"
70  "modesList_reordered\0on_modesList_itemChanged\0"
71  "item\0on_modesList_itemClicked\0"
72  "on_modesList_customContextMenuRequested\0"
73  "pos\0devUpdate\0modeUpdate\0"
74  "on_hwSaveButton_clicked\0"
75  "on_tabWidget_currentChanged\0"
76  "on_fwUpdButton_clicked"
77 };
78 #undef QT_MOC_LITERAL
79 
80 static const uint qt_meta_data_KbWidget[] = {
81 
82  // content:
83  7, // revision
84  0, // classname
85  0, 0, // classinfo
86  20, 14, // methods
87  0, 0, // properties
88  0, 0, // enums/sets
89  0, 0, // constructors
90  0, // flags
91  0, // signalCount
92 
93  // slots: name, argc, parameters, tag, flags
94  1, 0, 114, 2, 0x0a /* Public */,
95  3, 0, 115, 2, 0x0a /* Public */,
96  4, 0, 116, 2, 0x0a /* Public */,
97  5, 0, 117, 2, 0x08 /* Private */,
98  6, 0, 118, 2, 0x08 /* Private */,
99  7, 1, 119, 2, 0x08 /* Private */,
100  9, 1, 122, 2, 0x08 /* Private */,
101  11, 0, 125, 2, 0x08 /* Private */,
102  12, 1, 126, 2, 0x08 /* Private */,
103  12, 0, 129, 2, 0x28 /* Private | MethodCloned */,
104  14, 2, 130, 2, 0x08 /* Private */,
105  18, 0, 135, 2, 0x08 /* Private */,
106  19, 1, 136, 2, 0x08 /* Private */,
107  21, 1, 139, 2, 0x08 /* Private */,
108  22, 1, 142, 2, 0x08 /* Private */,
109  24, 0, 145, 2, 0x08 /* Private */,
110  25, 0, 146, 2, 0x08 /* Private */,
111  26, 0, 147, 2, 0x08 /* Private */,
112  27, 1, 148, 2, 0x08 /* Private */,
113  28, 0, 151, 2, 0x08 /* Private */,
114 
115  // slots: parameters
116  QMetaType::Void,
117  QMetaType::Void,
118  QMetaType::Void,
119  QMetaType::Void,
120  QMetaType::Void,
121  QMetaType::Void, QMetaType::Int, 8,
122  QMetaType::QIcon, QMetaType::Int, 10,
123  QMetaType::Void,
124  QMetaType::Void, QMetaType::Bool, 13,
125  QMetaType::Void,
126  QMetaType::Void, 0x80000000 | 15, 0x80000000 | 15, 16, 17,
127  QMetaType::Void,
128  QMetaType::Void, 0x80000000 | 15, 20,
129  QMetaType::Void, 0x80000000 | 15, 20,
130  QMetaType::Void, QMetaType::QPoint, 23,
131  QMetaType::Void,
132  QMetaType::Void,
133  QMetaType::Void,
134  QMetaType::Void, QMetaType::Int, 8,
135  QMetaType::Void,
136 
137  0 // eod
138 };
139 
140 void KbWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
141 {
142  if (_c == QMetaObject::InvokeMetaMethod) {
143  KbWidget *_t = static_cast<KbWidget *>(_o);
144  Q_UNUSED(_t)
145  switch (_id) {
146  case 0: _t->showFirstTab(); break;
147  case 1: _t->showLastTab(); break;
148  case 2: _t->showFwUpdate(); break;
149  case 3: _t->updateProfileList(); break;
150  case 4: _t->profileChanged(); break;
151  case 5: _t->on_profileBox_activated((*reinterpret_cast< int(*)>(_a[1]))); break;
152  case 6: { QIcon _r = _t->modeIcon((*reinterpret_cast< int(*)>(_a[1])));
153  if (_a[0]) *reinterpret_cast< QIcon*>(_a[0]) = _r; } break;
154  case 7: _t->addNewModeItem(); break;
155  case 8: _t->modeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
156  case 9: _t->modeChanged(); break;
157  case 10: _t->on_modesList_currentItemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
158  case 11: _t->modesList_reordered(); break;
159  case 12: _t->on_modesList_itemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
160  case 13: _t->on_modesList_itemClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
161  case 14: _t->on_modesList_customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
162  case 15: _t->devUpdate(); break;
163  case 16: _t->modeUpdate(); break;
164  case 17: _t->on_hwSaveButton_clicked(); break;
165  case 18: _t->on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
166  case 19: _t->on_fwUpdButton_clicked(); break;
167  default: ;
168  }
169  }
170 }
171 
172 const QMetaObject KbWidget::staticMetaObject = {
173  { &QWidget::staticMetaObject, qt_meta_stringdata_KbWidget.data,
174  qt_meta_data_KbWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
175 };
176 
177 
178 const QMetaObject *KbWidget::metaObject() const
179 {
180  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
181 }
182 
183 void *KbWidget::qt_metacast(const char *_clname)
184 {
185  if (!_clname) return Q_NULLPTR;
186  if (!strcmp(_clname, qt_meta_stringdata_KbWidget.stringdata0))
187  return static_cast<void*>(const_cast< KbWidget*>(this));
188  return QWidget::qt_metacast(_clname);
189 }
190 
191 int KbWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
192 {
193  _id = QWidget::qt_metacall(_c, _id, _a);
194  if (_id < 0)
195  return _id;
196  if (_c == QMetaObject::InvokeMetaMethod) {
197  if (_id < 20)
198  qt_static_metacall(this, _c, _id, _a);
199  _id -= 20;
200  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
201  if (_id < 20)
202  *reinterpret_cast<int*>(_a[0]) = -1;
203  _id -= 20;
204  }
205  return _id;
206 }
207 QT_END_MOC_NAMESPACE
void modeUpdate()
Definition: kbwidget.cpp:307
static const uint qt_meta_data_KbWidget[]
void on_modesList_itemClicked(QListWidgetItem *item)
Definition: kbwidget.cpp:207
void on_tabWidget_currentChanged(int index)
Definition: kbwidget.cpp:317
static const qt_meta_stringdata_KbWidget_t qt_meta_stringdata_KbWidget
void on_hwSaveButton_clicked()
Definition: kbwidget.cpp:310
void modeChanged(bool spontaneous=true)
Definition: kbwidget.cpp:148
void showFwUpdate()
Definition: kbwidget.h:38
void showLastTab()
Definition: kbwidget.cpp:68
void on_profileBox_activated(int index)
Definition: kbwidget.cpp:113
void showFirstTab()
Definition: kbwidget.cpp:64
void modesList_reordered()
Definition: kbwidget.cpp:177
void devUpdate()
Definition: kbwidget.cpp:300
void profileChanged()
Definition: kbwidget.cpp:91
void on_fwUpdButton_clicked()
Definition: kbwidget.cpp:339
void on_modesList_itemChanged(QListWidgetItem *item)
Definition: kbwidget.cpp:199
void addNewModeItem()
Definition: kbwidget.cpp:136
void on_modesList_customContextMenuRequested(const QPoint &pos)
KbWidget::on_modesList_customContextMenuRequested.
Definition: kbwidget.cpp:236
QIcon modeIcon(int i)
Definition: kbwidget.cpp:127
#define QT_MOC_LITERAL(idx, ofs, len)
void on_modesList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
Definition: kbwidget.cpp:168
void updateProfileList()
Definition: kbwidget.cpp:73