umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_portwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'portwidget.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/portwidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'portwidget.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[5];
26 char stringdata0[46];
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_PortWidget_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 10), // "PortWidget"
36QT_MOC_LITERAL(1, 11, 17), // "slotMenuSelection"
37QT_MOC_LITERAL(2, 29, 0), // ""
38QT_MOC_LITERAL(3, 30, 8), // "QAction*"
39QT_MOC_LITERAL(4, 39, 6) // "action"
40
41 },
42 "PortWidget\0slotMenuSelection\0\0QAction*\0"
43 "action"
44};
45#undef QT_MOC_LITERAL
46
47static const uint qt_meta_data_PortWidget[] = {
48
49 // content:
50 8, // revision
51 0, // classname
52 0, 0, // classinfo
53 1, 14, // methods
54 0, 0, // properties
55 0, 0, // enums/sets
56 0, 0, // constructors
57 0, // flags
58 0, // signalCount
59
60 // slots: name, argc, parameters, tag, flags
61 1, 1, 19, 2, 0x0a /* Public */,
62
63 // slots: parameters
64 QMetaType::Void, 0x80000000 | 3, 4,
65
66 0 // eod
67};
68
69void PortWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
70{
71 if (_c == QMetaObject::InvokeMetaMethod) {
72 auto *_t = static_cast<PortWidget *>(_o);
73 (void)_t;
74 switch (_id) {
75 case 0: _t->slotMenuSelection((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
76 default: ;
77 }
78 }
79}
80
81QT_INIT_METAOBJECT const QMetaObject PortWidget::staticMetaObject = { {
82 QMetaObject::SuperData::link<PinPortBase::staticMetaObject>(),
85 qt_static_metacall,
86 nullptr,
87 nullptr
88} };
89
90
91const QMetaObject *PortWidget::metaObject() const
92{
93 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
94}
95
96void *PortWidget::qt_metacast(const char *_clname)
97{
98 if (!_clname) return nullptr;
99 if (!strcmp(_clname, qt_meta_stringdata_PortWidget.stringdata0))
100 return static_cast<void*>(this);
101 return PinPortBase::qt_metacast(_clname);
102}
103
104int PortWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
105{
106 _id = PinPortBase::qt_metacall(_c, _id, _a);
107 if (_id < 0)
108 return _id;
109 if (_c == QMetaObject::InvokeMetaMethod) {
110 if (_id < 1)
111 qt_static_metacall(this, _c, _id, _a);
112 _id -= 1;
113 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
114 if (_id < 1)
115 *reinterpret_cast<int*>(_a[0]) = -1;
116 _id -= 1;
117 }
118 return _id;
119}
120QT_WARNING_POP
121QT_END_MOC_NAMESPACE
A graphical version of a port on a component.
Definition portwidget.h:23
void slotMenuSelection(QAction *action)
Definition portwidget.cpp:62
static const qt_meta_stringdata_PortWidget_t qt_meta_stringdata_PortWidget
Definition moc_portwidget.cpp:33
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_portwidget.cpp:28
static const uint qt_meta_data_PortWidget[]
Definition moc_portwidget.cpp:47
Definition moc_portwidget.cpp:24
char stringdata0[46]
Definition moc_portwidget.cpp:26
QByteArrayData data[5]
Definition moc_portwidget.cpp:25