umbrello 25.04.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_codemethodblock.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'codemethodblock.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/codegenerators/codemethodblock.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'codemethodblock.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[3];
26 char stringdata0[30];
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_CodeMethodBlock_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 15), // "CodeMethodBlock"
36QT_MOC_LITERAL(1, 16, 12), // "syncToParent"
37QT_MOC_LITERAL(2, 29, 0) // ""
38
39 },
40 "CodeMethodBlock\0syncToParent\0"
41};
42#undef QT_MOC_LITERAL
43
44static const uint qt_meta_data_CodeMethodBlock[] = {
45
46 // content:
47 8, // revision
48 0, // classname
49 0, 0, // classinfo
50 1, 14, // methods
51 0, 0, // properties
52 0, 0, // enums/sets
53 0, 0, // constructors
54 0, // flags
55 0, // signalCount
56
57 // slots: name, argc, parameters, tag, flags
58 1, 0, 19, 2, 0x0a /* Public */,
59
60 // slots: parameters
61 QMetaType::Void,
62
63 0 // eod
64};
65
66void CodeMethodBlock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67{
68 if (_c == QMetaObject::InvokeMetaMethod) {
69 auto *_t = static_cast<CodeMethodBlock *>(_o);
70 (void)_t;
71 switch (_id) {
72 case 0: _t->syncToParent(); break;
73 default: ;
74 }
75 }
76 (void)_a;
77}
78
79QT_INIT_METAOBJECT const QMetaObject CodeMethodBlock::staticMetaObject = { {
80 QMetaObject::SuperData::link<OwnedCodeBlock::staticMetaObject>(),
83 qt_static_metacall,
84 nullptr,
85 nullptr
86} };
87
88
89const QMetaObject *CodeMethodBlock::metaObject() const
90{
91 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
92}
93
94void *CodeMethodBlock::qt_metacast(const char *_clname)
95{
96 if (!_clname) return nullptr;
98 return static_cast<void*>(this);
99 if (!strcmp(_clname, "CodeBlockWithComments"))
100 return static_cast< CodeBlockWithComments*>(this);
101 return OwnedCodeBlock::qt_metacast(_clname);
102}
103
104int CodeMethodBlock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
105{
106 _id = OwnedCodeBlock::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
Definition codeblockwithcomments.h:20
Definition codemethodblock.h:26
virtual void syncToParent()
Definition codemethodblock.cpp:167
static const qt_meta_stringdata_CodeMethodBlock_t qt_meta_stringdata_CodeMethodBlock
Definition moc_codemethodblock.cpp:33
#define QT_MOC_LITERAL(idx, ofs, len)
Definition moc_codemethodblock.cpp:28
static const uint qt_meta_data_CodeMethodBlock[]
Definition moc_codemethodblock.cpp:44
Definition moc_codemethodblock.cpp:24
QByteArrayData data[3]
Definition moc_codemethodblock.cpp:25
char stringdata0[30]
Definition moc_codemethodblock.cpp:26