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