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