umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_objectwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'objectwidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.13)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../../umbrello/umlwidgets/objectwidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'objectwidget.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.13. 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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[9];
26 char stringdata0[107];
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_ObjectWidget_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 12), // "ObjectWidget"
36QT_MOC_LITERAL(1, 13, 17), // "slotMenuSelection"
37QT_MOC_LITERAL(2, 31, 0), // ""
38QT_MOC_LITERAL(3, 32, 8), // "QAction*"
39QT_MOC_LITERAL(4, 41, 6), // "action"
40QT_MOC_LITERAL(5, 48, 20), // "slotFillColorChanged"
41QT_MOC_LITERAL(6, 69, 13), // "Uml::ID::Type"
42QT_MOC_LITERAL(7, 83, 6), // "viewID"
43QT_MOC_LITERAL(8, 90, 16) // "slotMessageMoved"
44
45 },
46 "ObjectWidget\0slotMenuSelection\0\0"
47 "QAction*\0action\0slotFillColorChanged\0"
48 "Uml::ID::Type\0viewID\0slotMessageMoved"
49};
50#undef QT_MOC_LITERAL
51
52static const uint qt_meta_data_ObjectWidget[] = {
53
54 // content:
55 8, // revision
56 0, // classname
57 0, 0, // classinfo
58 3, 14, // methods
59 0, 0, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 0, // signalCount
64
65 // slots: name, argc, parameters, tag, flags
66 1, 1, 29, 2, 0x0a /* Public */,
67 5, 1, 32, 2, 0x0a /* Public */,
68 8, 0, 35, 2, 0x0a /* Public */,
69
70 // slots: parameters
71 QMetaType::Void, 0x80000000 | 3, 4,
72 QMetaType::Void, 0x80000000 | 6, 7,
73 QMetaType::Void,
74
75 0 // eod
76};
77
78void ObjectWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79{
80 if (_c == QMetaObject::InvokeMetaMethod) {
81 auto *_t = static_cast<ObjectWidget *>(_o);
82 (void)_t;
83 switch (_id) {
84 case 0: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
85 case 1: _t->slotFillColorChanged((*reinterpret_cast< Uml::ID::Type(*)>(_a[1]))); break;
86 case 2: _t->slotMessageMoved(); break;
87 default: ;
88 }
89 }
90}
91
92QT_INIT_METAOBJECT const QMetaObject ObjectWidget::staticMetaObject = { {
93 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
96 qt_static_metacall,
97 nullptr,
98 nullptr
99} };
100
101
102const QMetaObject *ObjectWidget::metaObject() const
103{
104 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
105}
106
107void *ObjectWidget::qt_metacast(const char *_clname)
108{
109 if (!_clname) return nullptr;
110 if (!strcmp(_clname, qt_meta_stringdata_ObjectWidget.stringdata0))
111 return static_cast<void*>(this);
112 return UMLWidget::qt_metacast(_clname);
113}
114
115int ObjectWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
116{
117 _id = UMLWidget::qt_metacall(_c, _id, _a);
118 if (_id < 0)
119 return _id;
120 if (_c == QMetaObject::InvokeMetaMethod) {
121 if (_id < 3)
122 qt_static_metacall(this, _c, _id, _a);
123 _id -= 3;
124 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
125 if (_id < 3)
126 *reinterpret_cast<int*>(_a[0]) = -1;
127 _id -= 3;
128 }
129 return _id;
130}
131QT_WARNING_POP
132QT_END_MOC_NAMESPACE
Displays an instance of a Concept.
Definition objectwidget.h:28
void slotMenuSelection(QAction *action)
Definition objectwidget.cpp:168
static const qt_meta_stringdata_ObjectWidget_t qt_meta_stringdata_ObjectWidget
Definition moc_objectwidget.cpp:33
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_objectwidget.cpp:28
static const uint qt_meta_data_ObjectWidget[]
Definition moc_objectwidget.cpp:52
std::string Type
Definition basictypes.h:371
Definition moc_objectwidget.cpp:24
QByteArrayData data[9]
Definition moc_objectwidget.cpp:25
char stringdata0[107]
Definition moc_objectwidget.cpp:26