umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_objectswindow.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'objectswindow.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'objectswindow.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.9.3. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
35} // unnamed namespace
36
37template <> constexpr inline auto ObjectsWindow::qt_create_metaobjectdata<qt_meta_tag_ZN13ObjectsWindowE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "ObjectsWindow",
42 "modified",
43 "",
44 "slotObjectsDoubleClicked",
45 "QModelIndex",
46 "index",
47 "slotObjectsClicked"
48 };
49
50 QtMocHelpers::UintData qt_methods {
51 // Slot 'modified'
52 QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
53 // Slot 'slotObjectsDoubleClicked'
54 QtMocHelpers::SlotData<void(QModelIndex)>(3, 2, QMC::AccessProtected, QMetaType::Void, {{
55 { 0x80000000 | 4, 5 },
56 }}),
57 // Slot 'slotObjectsClicked'
58 QtMocHelpers::SlotData<void(QModelIndex)>(6, 2, QMC::AccessProtected, QMetaType::Void, {{
59 { 0x80000000 | 4, 5 },
60 }}),
61 };
62 QtMocHelpers::UintData qt_properties {
63 };
64 QtMocHelpers::UintData qt_enums {
65 };
66 return QtMocHelpers::metaObjectData<ObjectsWindow, qt_meta_tag_ZN13ObjectsWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
67 qt_methods, qt_properties, qt_enums);
68}
69Q_CONSTINIT const QMetaObject ObjectsWindow::staticMetaObject = { {
70 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
71 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ObjectsWindowE_t>.stringdata,
72 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ObjectsWindowE_t>.data,
73 qt_static_metacall,
74 nullptr,
75 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13ObjectsWindowE_t>.metaTypes,
76 nullptr
77} };
78
79void ObjectsWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80{
81 auto *_t = static_cast<ObjectsWindow *>(_o);
82 if (_c == QMetaObject::InvokeMetaMethod) {
83 switch (_id) {
84 case 0: _t->modified(); break;
85 case 1: _t->slotObjectsDoubleClicked((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
86 case 2: _t->slotObjectsClicked((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
87 default: ;
88 }
89 }
90}
91
92const QMetaObject *ObjectsWindow::metaObject() const
93{
94 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
95}
96
97void *ObjectsWindow::qt_metacast(const char *_clname)
98{
99 if (!_clname) return nullptr;
100 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ObjectsWindowE_t>.strings))
101 return static_cast<void*>(this);
102 return QDockWidget::qt_metacast(_clname);
103}
104
105int ObjectsWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
106{
107 _id = QDockWidget::qt_metacall(_c, _id, _a);
108 if (_id < 0)
109 return _id;
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 if (_id < 3)
112 qt_static_metacall(this, _c, _id, _a);
113 _id -= 3;
114 }
115 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116 if (_id < 3)
117 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
118 _id -= 3;
119 }
120 return _id;
121}
122QT_WARNING_POP
ObjectsWindow(const QString &title, QWidget *parent=nullptr)
Definition objectswindow.cpp:23
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33