Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
moc_mdichild.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'mdichild.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 "mdichild.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'mdichild.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_MdiChild_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 8), // "MdiChild"
36QT_MOC_LITERAL(1, 9, 19), // "documentWasModified"
37QT_MOC_LITERAL(2, 29, 0) // ""
38
39 },
40 "MdiChild\0documentWasModified\0"
41};
42#undef QT_MOC_LITERAL
43
44static const uint qt_meta_data_MdiChild[] = {
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, 0x08 /* Private */,
59
60 // slots: parameters
61 QMetaType::Void,
62
63 0 // eod
64};
65
66void MdiChild::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67{
68 if (_c == QMetaObject::InvokeMetaMethod) {
69 auto *_t = static_cast<MdiChild *>(_o);
70 (void)_t;
71 switch (_id) {
72 case 0: _t->documentWasModified(); break;
73 default: ;
74 }
75 }
76 (void)_a;
77}
78
79QT_INIT_METAOBJECT const QMetaObject MdiChild::staticMetaObject = { {
80 QMetaObject::SuperData::link<QTextEdit::staticMetaObject>(),
83 qt_static_metacall,
84 nullptr,
85 nullptr
86} };
87
88
89const QMetaObject *MdiChild::metaObject() const
90{
91 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
92}
93
94void *MdiChild::qt_metacast(const char *_clname)
95{
96 if (!_clname) return nullptr;
97 if (!strcmp(_clname, qt_meta_stringdata_MdiChild.stringdata0))
98 return static_cast<void*>(this);
99 return QTextEdit::qt_metacast(_clname);
100}
101
102int MdiChild::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
103{
104 _id = QTextEdit::qt_metacall(_c, _id, _a);
105 if (_id < 0)
106 return _id;
107 if (_c == QMetaObject::InvokeMetaMethod) {
108 if (_id < 1)
109 qt_static_metacall(this, _c, _id, _a);
110 _id -= 1;
111 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
112 if (_id < 1)
113 *reinterpret_cast<int*>(_a[0]) = -1;
114 _id -= 1;
115 }
116 return _id;
117}
118QT_WARNING_POP
119QT_END_MOC_NAMESPACE
static const uint qt_meta_data_MdiChild[]
static const qt_meta_stringdata_MdiChild_t qt_meta_stringdata_MdiChild
#define QT_MOC_LITERAL(idx, ofs, len)
Definition legal.c:50