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_gradientdialog.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'gradientdialog.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 "../gradientdialog.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'gradientdialog.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[17];
23  char stringdata0[266];
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_GradientDialog_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 14), // "GradientDialog"
33 QT_MOC_LITERAL(1, 15, 14), // "currentChanged"
34 QT_MOC_LITERAL(2, 30, 0), // ""
35 QT_MOC_LITERAL(3, 31, 5), // "color"
36 QT_MOC_LITERAL(4, 37, 11), // "spontaneous"
37 QT_MOC_LITERAL(5, 49, 8), // "position"
38 QT_MOC_LITERAL(6, 58, 12), // "colorChanged"
39 QT_MOC_LITERAL(7, 71, 32), // "on_presetList_currentItemChanged"
40 QT_MOC_LITERAL(8, 104, 16), // "QListWidgetItem*"
41 QT_MOC_LITERAL(9, 121, 7), // "current"
42 QT_MOC_LITERAL(10, 129, 8), // "previous"
43 QT_MOC_LITERAL(11, 138, 24), // "on_presetName_textEdited"
44 QT_MOC_LITERAL(12, 163, 4), // "arg1"
45 QT_MOC_LITERAL(13, 168, 21), // "on_presetSave_clicked"
46 QT_MOC_LITERAL(14, 190, 23), // "on_presetDelete_clicked"
47 QT_MOC_LITERAL(15, 214, 23), // "on_stopPos_valueChanged"
48 QT_MOC_LITERAL(16, 238, 27) // "on_stopOpacity_valueChanged"
49 
50  },
51  "GradientDialog\0currentChanged\0\0color\0"
52  "spontaneous\0position\0colorChanged\0"
53  "on_presetList_currentItemChanged\0"
54  "QListWidgetItem*\0current\0previous\0"
55  "on_presetName_textEdited\0arg1\0"
56  "on_presetSave_clicked\0on_presetDelete_clicked\0"
57  "on_stopPos_valueChanged\0"
58  "on_stopOpacity_valueChanged"
59 };
60 #undef QT_MOC_LITERAL
61 
62 static const uint qt_meta_data_GradientDialog[] = {
63 
64  // content:
65  7, // revision
66  0, // classname
67  0, 0, // classinfo
68  8, 14, // methods
69  0, 0, // properties
70  0, 0, // enums/sets
71  0, 0, // constructors
72  0, // flags
73  0, // signalCount
74 
75  // slots: name, argc, parameters, tag, flags
76  1, 3, 54, 2, 0x08 /* Private */,
77  6, 1, 61, 2, 0x08 /* Private */,
78  7, 2, 64, 2, 0x08 /* Private */,
79  11, 1, 69, 2, 0x08 /* Private */,
80  13, 0, 72, 2, 0x08 /* Private */,
81  14, 0, 73, 2, 0x08 /* Private */,
82  15, 1, 74, 2, 0x08 /* Private */,
83  16, 1, 77, 2, 0x08 /* Private */,
84 
85  // slots: parameters
86  QMetaType::Void, QMetaType::QColor, QMetaType::Bool, QMetaType::Int, 3, 4, 5,
87  QMetaType::Void, QMetaType::QColor, 3,
88  QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8, 9, 10,
89  QMetaType::Void, QMetaType::QString, 12,
90  QMetaType::Void,
91  QMetaType::Void,
92  QMetaType::Void, QMetaType::Int, 12,
93  QMetaType::Void, QMetaType::Int, 12,
94 
95  0 // eod
96 };
97 
98 void GradientDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
99 {
100  if (_c == QMetaObject::InvokeMetaMethod) {
101  GradientDialog *_t = static_cast<GradientDialog *>(_o);
102  Q_UNUSED(_t)
103  switch (_id) {
104  case 0: _t->currentChanged((*reinterpret_cast< QColor(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
105  case 1: _t->colorChanged((*reinterpret_cast< QColor(*)>(_a[1]))); break;
106  case 2: _t->on_presetList_currentItemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
107  case 3: _t->on_presetName_textEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
108  case 4: _t->on_presetSave_clicked(); break;
109  case 5: _t->on_presetDelete_clicked(); break;
110  case 6: _t->on_stopPos_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
111  case 7: _t->on_stopOpacity_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
112  default: ;
113  }
114  }
115 }
116 
117 const QMetaObject GradientDialog::staticMetaObject = {
118  { &QDialog::staticMetaObject, qt_meta_stringdata_GradientDialog.data,
119  qt_meta_data_GradientDialog, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
120 };
121 
122 
123 const QMetaObject *GradientDialog::metaObject() const
124 {
125  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
126 }
127 
128 void *GradientDialog::qt_metacast(const char *_clname)
129 {
130  if (!_clname) return Q_NULLPTR;
131  if (!strcmp(_clname, qt_meta_stringdata_GradientDialog.stringdata0))
132  return static_cast<void*>(const_cast< GradientDialog*>(this));
133  return QDialog::qt_metacast(_clname);
134 }
135 
136 int GradientDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
137 {
138  _id = QDialog::qt_metacall(_c, _id, _a);
139  if (_id < 0)
140  return _id;
141  if (_c == QMetaObject::InvokeMetaMethod) {
142  if (_id < 8)
143  qt_static_metacall(this, _c, _id, _a);
144  _id -= 8;
145  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
146  if (_id < 8)
147  *reinterpret_cast<int*>(_a[0]) = -1;
148  _id -= 8;
149  }
150  return _id;
151 }
152 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_GradientDialog[]
void currentChanged(QColor color, bool spontaneous, int position)
static const qt_meta_stringdata_GradientDialog_t qt_meta_stringdata_GradientDialog
void on_presetDelete_clicked()
void on_stopPos_valueChanged(int arg1)
void on_presetList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
void on_stopOpacity_valueChanged(int arg1)
void on_presetName_textEdited(const QString &arg1)
void on_presetSave_clicked()
void colorChanged(QColor color)
#define QT_MOC_LITERAL(idx, ofs, len)