GCC Code Coverage Report


Directory: plugins/
File: plugins/hppwidgetsplugin/moc_iconstraint.cpp
Date: 2024-12-13 15:51:58
Exec Total Coverage
Lines: 0 40 0.0%
Branches: 0 39 0.0%

Line Branch Exec Source
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'iconstraint.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 "iconstraint.hh"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'iconstraint.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__IConstraint_t {
25 QByteArrayData data[5];
26 char stringdata0[55];
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__IConstraint_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_hpp__gui__IConstraint_t qt_meta_stringdata_hpp__gui__IConstraint = {
34 {
35 QT_MOC_LITERAL(0, 0, 21), // "hpp::gui::IConstraint"
36 QT_MOC_LITERAL(1, 22, 17), // "constraintCreated"
37 QT_MOC_LITERAL(2, 40, 0), // ""
38 QT_MOC_LITERAL(3, 41, 4), // "name"
39 QT_MOC_LITERAL(4, 46, 8) // "finished"
40
41 },
42 "hpp::gui::IConstraint\0constraintCreated\0"
43 "\0name\0finished"
44 };
45 #undef QT_MOC_LITERAL
46
47 static const uint qt_meta_data_hpp__gui__IConstraint[] = {
48
49 // content:
50 8, // revision
51 0, // classname
52 0, 0, // classinfo
53 2, 14, // methods
54 0, 0, // properties
55 0, 0, // enums/sets
56 0, 0, // constructors
57 0, // flags
58 2, // signalCount
59
60 // signals: name, argc, parameters, tag, flags
61 1, 1, 24, 2, 0x06 /* Public */,
62 4, 0, 27, 2, 0x06 /* Public */,
63
64 // signals: parameters
65 QMetaType::Void, QMetaType::QString, 3,
66 QMetaType::Void,
67
68 0 // eod
69 };
70
71 void hpp::gui::IConstraint::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
72 {
73 if (_c == QMetaObject::InvokeMetaMethod) {
74 auto *_t = static_cast<IConstraint *>(_o);
75 (void)_t;
76 switch (_id) {
77 case 0: _t->constraintCreated((*reinterpret_cast< QString(*)>(_a[1]))); break;
78 case 1: _t->finished(); break;
79 default: ;
80 }
81 } else if (_c == QMetaObject::IndexOfMethod) {
82 int *result = reinterpret_cast<int *>(_a[0]);
83 {
84 using _t = void (IConstraint::*)(QString );
85 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IConstraint::constraintCreated)) {
86 *result = 0;
87 return;
88 }
89 }
90 {
91 using _t = void (IConstraint::*)();
92 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IConstraint::finished)) {
93 *result = 1;
94 return;
95 }
96 }
97 }
98 }
99
100 QT_INIT_METAOBJECT const QMetaObject hpp::gui::IConstraint::staticMetaObject = { {
101 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
102 qt_meta_stringdata_hpp__gui__IConstraint.data,
103 qt_meta_data_hpp__gui__IConstraint,
104 qt_static_metacall,
105 nullptr,
106 nullptr
107 } };
108
109
110 const QMetaObject *hpp::gui::IConstraint::metaObject() const
111 {
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
113 }
114
115 void *hpp::gui::IConstraint::qt_metacast(const char *_clname)
116 {
117 if (!_clname) return nullptr;
118 if (!strcmp(_clname, qt_meta_stringdata_hpp__gui__IConstraint.stringdata0))
119 return static_cast<void*>(this);
120 return QObject::qt_metacast(_clname);
121 }
122
123 int hpp::gui::IConstraint::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
124 {
125 _id = QObject::qt_metacall(_c, _id, _a);
126 if (_id < 0)
127 return _id;
128 if (_c == QMetaObject::InvokeMetaMethod) {
129 if (_id < 2)
130 qt_static_metacall(this, _c, _id, _a);
131 _id -= 2;
132 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133 if (_id < 2)
134 *reinterpret_cast<int*>(_a[0]) = -1;
135 _id -= 2;
136 }
137 return _id;
138 }
139
140 // SIGNAL 0
141 void hpp::gui::IConstraint::constraintCreated(QString _t1)
142 {
143 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
144 QMetaObject::activate(this, &staticMetaObject, 0, _a);
145 }
146
147 // SIGNAL 1
148 void hpp::gui::IConstraint::finished()
149 {
150 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
151 }
152 QT_WARNING_POP
153 QT_END_MOC_NAMESPACE
154