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