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