Line |
Branch |
Exec |
Source |
1 |
|
|
/**************************************************************************** |
2 |
|
|
** Meta object code from reading C++ file 'constraintwidget.hh' |
3 |
|
|
** |
4 |
|
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3) |
5 |
|
|
** |
6 |
|
|
** WARNING! All changes made in this file will be lost! |
7 |
|
|
*****************************************************************************/ |
8 |
|
|
|
9 |
|
|
#include <memory> |
10 |
|
|
#include "constraintwidget.hh" |
11 |
|
|
#include <QtCore/qbytearray.h> |
12 |
|
|
#include <QtCore/qmetatype.h> |
13 |
|
|
#if !defined(Q_MOC_OUTPUT_REVISION) |
14 |
|
|
#error "The header file 'constraintwidget.hh' doesn't include <QObject>." |
15 |
|
|
#elif Q_MOC_OUTPUT_REVISION != 67 |
16 |
|
|
#error "This file was generated using the moc from 5.15.3. It" |
17 |
|
|
#error "cannot be used with the include files from this version of Qt." |
18 |
|
|
#error "(The moc has changed too much.)" |
19 |
|
|
#endif |
20 |
|
|
|
21 |
|
|
QT_BEGIN_MOC_NAMESPACE |
22 |
|
|
QT_WARNING_PUSH |
23 |
|
|
QT_WARNING_DISABLE_DEPRECATED |
24 |
|
|
struct qt_meta_stringdata_hpp__gui__ConstraintWidget_t { |
25 |
|
|
QByteArrayData data[16]; |
26 |
|
|
char stringdata0[192]; |
27 |
|
|
}; |
28 |
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \ |
29 |
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
30 |
|
|
qptrdiff(offsetof(qt_meta_stringdata_hpp__gui__ConstraintWidget_t, stringdata0) + ofs \ |
31 |
|
|
- idx * sizeof(QByteArrayData)) \ |
32 |
|
|
) |
33 |
|
|
static const qt_meta_stringdata_hpp__gui__ConstraintWidget_t qt_meta_stringdata_hpp__gui__ConstraintWidget = { |
34 |
|
|
{ |
35 |
|
|
QT_MOC_LITERAL(0, 0, 26), // "hpp::gui::ConstraintWidget" |
36 |
|
|
QT_MOC_LITERAL(1, 27, 6), // "reload" |
37 |
|
|
QT_MOC_LITERAL(2, 34, 0), // "" |
38 |
|
|
QT_MOC_LITERAL(3, 35, 13), // "addConstraint" |
39 |
|
|
QT_MOC_LITERAL(4, 49, 12), // "IConstraint*" |
40 |
|
|
QT_MOC_LITERAL(5, 62, 10), // "constraint" |
41 |
|
|
QT_MOC_LITERAL(6, 73, 7), // "refresh" |
42 |
|
|
QT_MOC_LITERAL(7, 81, 16), // "createConstraint" |
43 |
|
|
QT_MOC_LITERAL(8, 98, 16), // "confirmNumerical" |
44 |
|
|
QT_MOC_LITERAL(9, 115, 16), // "applyConstraints" |
45 |
|
|
QT_MOC_LITERAL(10, 132, 5), // "reset" |
46 |
|
|
QT_MOC_LITERAL(11, 138, 19), // "onConstraintCreated" |
47 |
|
|
QT_MOC_LITERAL(12, 158, 4), // "name" |
48 |
|
|
QT_MOC_LITERAL(13, 163, 10), // "onFinished" |
49 |
|
|
QT_MOC_LITERAL(14, 174, 11), // "typeChanged" |
50 |
|
|
QT_MOC_LITERAL(15, 186, 5) // "index" |
51 |
|
|
|
52 |
|
|
}, |
53 |
|
|
"hpp::gui::ConstraintWidget\0reload\0\0" |
54 |
|
|
"addConstraint\0IConstraint*\0constraint\0" |
55 |
|
|
"refresh\0createConstraint\0confirmNumerical\0" |
56 |
|
|
"applyConstraints\0reset\0onConstraintCreated\0" |
57 |
|
|
"name\0onFinished\0typeChanged\0index" |
58 |
|
|
}; |
59 |
|
|
#undef QT_MOC_LITERAL |
60 |
|
|
|
61 |
|
|
static const uint qt_meta_data_hpp__gui__ConstraintWidget[] = { |
62 |
|
|
|
63 |
|
|
// content: |
64 |
|
|
8, // revision |
65 |
|
|
0, // classname |
66 |
|
|
0, 0, // classinfo |
67 |
|
|
10, 14, // methods |
68 |
|
|
0, 0, // properties |
69 |
|
|
0, 0, // enums/sets |
70 |
|
|
0, 0, // constructors |
71 |
|
|
0, // flags |
72 |
|
|
0, // signalCount |
73 |
|
|
|
74 |
|
|
// slots: name, argc, parameters, tag, flags |
75 |
|
|
1, 0, 64, 2, 0x0a /* Public */, |
76 |
|
|
3, 1, 65, 2, 0x0a /* Public */, |
77 |
|
|
6, 0, 68, 2, 0x0a /* Public */, |
78 |
|
|
7, 0, 69, 2, 0x08 /* Private */, |
79 |
|
|
8, 0, 70, 2, 0x08 /* Private */, |
80 |
|
|
9, 0, 71, 2, 0x08 /* Private */, |
81 |
|
|
10, 0, 72, 2, 0x08 /* Private */, |
82 |
|
|
11, 1, 73, 2, 0x08 /* Private */, |
83 |
|
|
13, 0, 76, 2, 0x08 /* Private */, |
84 |
|
|
14, 1, 77, 2, 0x08 /* Private */, |
85 |
|
|
|
86 |
|
|
// slots: parameters |
87 |
|
|
QMetaType::Void, |
88 |
|
|
QMetaType::Void, 0x80000000 | 4, 5, |
89 |
|
|
QMetaType::Void, |
90 |
|
|
QMetaType::Void, |
91 |
|
|
QMetaType::Void, |
92 |
|
|
QMetaType::Void, |
93 |
|
|
QMetaType::Void, |
94 |
|
|
QMetaType::Void, QMetaType::QString, 12, |
95 |
|
|
QMetaType::Void, |
96 |
|
|
QMetaType::Void, QMetaType::Int, 15, |
97 |
|
|
|
98 |
|
|
0 // eod |
99 |
|
|
}; |
100 |
|
|
|
101 |
|
✗ |
void hpp::gui::ConstraintWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
102 |
|
|
{ |
103 |
|
✗ |
if (_c == QMetaObject::InvokeMetaMethod) { |
104 |
|
✗ |
auto *_t = static_cast<ConstraintWidget *>(_o); |
105 |
|
|
(void)_t; |
106 |
|
✗ |
switch (_id) { |
107 |
|
✗ |
case 0: _t->reload(); break; |
108 |
|
✗ |
case 1: _t->addConstraint((*reinterpret_cast< IConstraint*(*)>(_a[1]))); break; |
109 |
|
✗ |
case 2: _t->refresh(); break; |
110 |
|
✗ |
case 3: _t->createConstraint(); break; |
111 |
|
✗ |
case 4: _t->confirmNumerical(); break; |
112 |
|
✗ |
case 5: _t->applyConstraints(); break; |
113 |
|
✗ |
case 6: _t->reset(); break; |
114 |
|
✗ |
case 7: _t->onConstraintCreated((*reinterpret_cast< QString(*)>(_a[1]))); break; |
115 |
|
✗ |
case 8: _t->onFinished(); break; |
116 |
|
✗ |
case 9: _t->typeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
117 |
|
✗ |
default: ; |
118 |
|
|
} |
119 |
|
✗ |
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
120 |
|
✗ |
switch (_id) { |
121 |
|
✗ |
default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
122 |
|
✗ |
case 1: |
123 |
|
✗ |
switch (*reinterpret_cast<int*>(_a[1])) { |
124 |
|
✗ |
default: *reinterpret_cast<int*>(_a[0]) = -1; break; |
125 |
|
✗ |
case 0: |
126 |
|
✗ |
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< IConstraint* >(); break; |
127 |
|
|
} |
128 |
|
✗ |
break; |
129 |
|
|
} |
130 |
|
|
} |
131 |
|
|
} |
132 |
|
|
|
133 |
|
|
QT_INIT_METAOBJECT const QMetaObject hpp::gui::ConstraintWidget::staticMetaObject = { { |
134 |
|
|
QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
135 |
|
|
qt_meta_stringdata_hpp__gui__ConstraintWidget.data, |
136 |
|
|
qt_meta_data_hpp__gui__ConstraintWidget, |
137 |
|
|
qt_static_metacall, |
138 |
|
|
nullptr, |
139 |
|
|
nullptr |
140 |
|
|
} }; |
141 |
|
|
|
142 |
|
|
|
143 |
|
✗ |
const QMetaObject *hpp::gui::ConstraintWidget::metaObject() const |
144 |
|
|
{ |
145 |
|
✗ |
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
146 |
|
|
} |
147 |
|
|
|
148 |
|
✗ |
void *hpp::gui::ConstraintWidget::qt_metacast(const char *_clname) |
149 |
|
|
{ |
150 |
|
✗ |
if (!_clname) return nullptr; |
151 |
|
✗ |
if (!strcmp(_clname, qt_meta_stringdata_hpp__gui__ConstraintWidget.stringdata0)) |
152 |
|
✗ |
return static_cast<void*>(this); |
153 |
|
✗ |
return QWidget::qt_metacast(_clname); |
154 |
|
|
} |
155 |
|
|
|
156 |
|
✗ |
int hpp::gui::ConstraintWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
157 |
|
|
{ |
158 |
|
✗ |
_id = QWidget::qt_metacall(_c, _id, _a); |
159 |
|
✗ |
if (_id < 0) |
160 |
|
✗ |
return _id; |
161 |
|
✗ |
if (_c == QMetaObject::InvokeMetaMethod) { |
162 |
|
✗ |
if (_id < 10) |
163 |
|
✗ |
qt_static_metacall(this, _c, _id, _a); |
164 |
|
✗ |
_id -= 10; |
165 |
|
✗ |
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
166 |
|
✗ |
if (_id < 10) |
167 |
|
✗ |
qt_static_metacall(this, _c, _id, _a); |
168 |
|
✗ |
_id -= 10; |
169 |
|
|
} |
170 |
|
✗ |
return _id; |
171 |
|
|
} |
172 |
|
|
QT_WARNING_POP |
173 |
|
|
QT_END_MOC_NAMESPACE |
174 |
|
|
|