umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_associationwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'associationwidget.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/associationwidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'associationwidget.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[10];
26 char stringdata0[143];
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_AssociationWidget_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 17), // "AssociationWidget"
36QT_MOC_LITERAL(1, 18, 17), // "slotMenuSelection"
37QT_MOC_LITERAL(2, 36, 0), // ""
38QT_MOC_LITERAL(3, 37, 8), // "QAction*"
39QT_MOC_LITERAL(4, 46, 6), // "action"
40QT_MOC_LITERAL(5, 53, 29), // "slotClassifierListItemRemoved"
41QT_MOC_LITERAL(6, 83, 22), // "UMLClassifierListItem*"
42QT_MOC_LITERAL(7, 106, 3), // "obj"
43QT_MOC_LITERAL(8, 110, 20), // "slotAttributeChanged"
44QT_MOC_LITERAL(9, 131, 11) // "syncToModel"
45
46 },
47 "AssociationWidget\0slotMenuSelection\0"
48 "\0QAction*\0action\0slotClassifierListItemRemoved\0"
49 "UMLClassifierListItem*\0obj\0"
50 "slotAttributeChanged\0syncToModel"
51};
52#undef QT_MOC_LITERAL
53
54static const uint qt_meta_data_AssociationWidget[] = {
55
56 // content:
57 8, // revision
58 0, // classname
59 0, 0, // classinfo
60 4, 14, // methods
61 0, 0, // properties
62 0, 0, // enums/sets
63 0, 0, // constructors
64 0, // flags
65 0, // signalCount
66
67 // slots: name, argc, parameters, tag, flags
68 1, 1, 34, 2, 0x0a /* Public */,
69 5, 1, 37, 2, 0x0a /* Public */,
70 8, 0, 40, 2, 0x0a /* Public */,
71 9, 0, 41, 2, 0x0a /* Public */,
72
73 // slots: parameters
74 QMetaType::Void, 0x80000000 | 3, 4,
75 QMetaType::Void, 0x80000000 | 6, 7,
76 QMetaType::Void,
77 QMetaType::Void,
78
79 0 // eod
80};
81
82void AssociationWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83{
84 if (_c == QMetaObject::InvokeMetaMethod) {
85 auto *_t = static_cast<AssociationWidget *>(_o);
86 (void)_t;
87 switch (_id) {
88 case 0: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
89 case 1: _t->slotClassifierListItemRemoved((*reinterpret_cast< UMLClassifierListItem*(*)>(_a[1]))); break;
90 case 2: _t->slotAttributeChanged(); break;
91 case 3: _t->syncToModel(); break;
92 default: ;
93 }
94 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
95 switch (_id) {
96 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
97 case 0:
98 switch (*reinterpret_cast<int*>(_a[1])) {
99 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
100 case 0:
101 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
102 }
103 break;
104 }
105 }
106}
107
108QT_INIT_METAOBJECT const QMetaObject AssociationWidget::staticMetaObject = { {
109 QMetaObject::SuperData::link<WidgetBase::staticMetaObject>(),
112 qt_static_metacall,
113 nullptr,
114 nullptr
115} };
116
117
118const QMetaObject *AssociationWidget::metaObject() const
119{
120 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
121}
122
123void *AssociationWidget::qt_metacast(const char *_clname)
124{
125 if (!_clname) return nullptr;
127 return static_cast<void*>(this);
128 if (!strcmp(_clname, "LinkWidget"))
129 return static_cast< LinkWidget*>(this);
130 return WidgetBase::qt_metacast(_clname);
131}
132
133int AssociationWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
134{
135 _id = WidgetBase::qt_metacall(_c, _id, _a);
136 if (_id < 0)
137 return _id;
138 if (_c == QMetaObject::InvokeMetaMethod) {
139 if (_id < 4)
140 qt_static_metacall(this, _c, _id, _a);
141 _id -= 4;
142 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143 if (_id < 4)
144 qt_static_metacall(this, _c, _id, _a);
145 _id -= 4;
146 }
147 return _id;
148}
149QT_WARNING_POP
150QT_END_MOC_NAMESPACE
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition associationwidget.h:47
virtual void slotMenuSelection(QAction *action)
Definition associationwidget.cpp:2598
Interface to FloatingTextWidget for AssociationWidget and MessageWidget.
Definition linkwidget.h:32
A base class for classifier list items (e.g. attributes)
Definition classifierlistitem.h:25
static const qt_meta_stringdata_AssociationWidget_t qt_meta_stringdata_AssociationWidget
Definition moc_associationwidget.cpp:33
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_associationwidget.cpp:28
static const uint qt_meta_data_AssociationWidget[]
Definition moc_associationwidget.cpp:54
Definition moc_associationwidget.cpp:24
QByteArrayData data[10]
Definition moc_associationwidget.cpp:25
char stringdata0[143]
Definition moc_associationwidget.cpp:26