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_kbbindwidget.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'kbbindwidget.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 "../kbbindwidget.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'kbbindwidget.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[9];
23  char stringdata0[120];
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_KbBindWidget_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 12), // "KbBindWidget"
33 QT_MOC_LITERAL(1, 13, 10), // "updateBind"
34 QT_MOC_LITERAL(2, 24, 0), // ""
35 QT_MOC_LITERAL(3, 25, 9), // "newLayout"
36 QT_MOC_LITERAL(4, 35, 12), // "newSelection"
37 QT_MOC_LITERAL(5, 48, 9), // "selection"
38 QT_MOC_LITERAL(6, 58, 16), // "updateSelDisplay"
39 QT_MOC_LITERAL(7, 75, 22), // "on_resetButton_clicked"
40 QT_MOC_LITERAL(8, 98, 21) // "on_copyButton_clicked"
41 
42  },
43  "KbBindWidget\0updateBind\0\0newLayout\0"
44  "newSelection\0selection\0updateSelDisplay\0"
45  "on_resetButton_clicked\0on_copyButton_clicked"
46 };
47 #undef QT_MOC_LITERAL
48 
49 static const uint qt_meta_data_KbBindWidget[] = {
50 
51  // content:
52  7, // revision
53  0, // classname
54  0, 0, // classinfo
55  6, 14, // methods
56  0, 0, // properties
57  0, 0, // enums/sets
58  0, 0, // constructors
59  0, // flags
60  0, // signalCount
61 
62  // slots: name, argc, parameters, tag, flags
63  1, 0, 44, 2, 0x08 /* Private */,
64  3, 0, 45, 2, 0x08 /* Private */,
65  4, 1, 46, 2, 0x08 /* Private */,
66  6, 0, 49, 2, 0x08 /* Private */,
67  7, 0, 50, 2, 0x08 /* Private */,
68  8, 0, 51, 2, 0x08 /* Private */,
69 
70  // slots: parameters
71  QMetaType::Void,
72  QMetaType::Void,
73  QMetaType::Void, QMetaType::QStringList, 5,
74  QMetaType::Void,
75  QMetaType::Void,
76  QMetaType::Void,
77 
78  0 // eod
79 };
80 
81 void KbBindWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
82 {
83  if (_c == QMetaObject::InvokeMetaMethod) {
84  KbBindWidget *_t = static_cast<KbBindWidget *>(_o);
85  Q_UNUSED(_t)
86  switch (_id) {
87  case 0: _t->updateBind(); break;
88  case 1: _t->newLayout(); break;
89  case 2: _t->newSelection((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
90  case 3: _t->updateSelDisplay(); break;
91  case 4: _t->on_resetButton_clicked(); break;
92  case 5: _t->on_copyButton_clicked(); break;
93  default: ;
94  }
95  }
96 }
97 
98 const QMetaObject KbBindWidget::staticMetaObject = {
99  { &QWidget::staticMetaObject, qt_meta_stringdata_KbBindWidget.data,
100  qt_meta_data_KbBindWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
101 };
102 
103 
104 const QMetaObject *KbBindWidget::metaObject() const
105 {
106  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107 }
108 
109 void *KbBindWidget::qt_metacast(const char *_clname)
110 {
111  if (!_clname) return Q_NULLPTR;
112  if (!strcmp(_clname, qt_meta_stringdata_KbBindWidget.stringdata0))
113  return static_cast<void*>(const_cast< KbBindWidget*>(this));
114  return QWidget::qt_metacast(_clname);
115 }
116 
117 int KbBindWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
118 {
119  _id = QWidget::qt_metacall(_c, _id, _a);
120  if (_id < 0)
121  return _id;
122  if (_c == QMetaObject::InvokeMetaMethod) {
123  if (_id < 6)
124  qt_static_metacall(this, _c, _id, _a);
125  _id -= 6;
126  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
127  if (_id < 6)
128  *reinterpret_cast<int*>(_a[0]) = -1;
129  _id -= 6;
130  }
131  return _id;
132 }
133 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_KbBindWidget[]
void on_copyButton_clicked()
void updateSelDisplay()
void newLayout()
void on_resetButton_clicked()
void newSelection(QStringList selection)
void updateBind()
static const qt_meta_stringdata_KbBindWidget_t qt_meta_stringdata_KbBindWidget