umbrello 26.04.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_packagecontentspage.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'packagecontentspage.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
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 'packagecontentspage.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.11.1. 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 PackageContentsPage::qt_create_metaobjectdata<qt_meta_tag_ZN19PackageContentsPageE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "PackageContentsPage",
42 "slotDoubleClick",
43 "",
44 "QListWidgetItem*",
45 "item",
46 "slotShowContextMenu",
47 "QPoint",
48 "slotMenuSelection",
49 "QAction*",
50 "action"
51 };
52
53 QtMocHelpers::UintData qt_methods {
54 // Slot 'slotDoubleClick'
55 QtMocHelpers::SlotData<void(QListWidgetItem *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
56 { 0x80000000 | 3, 4 },
57 }}),
58 // Slot 'slotShowContextMenu'
59 QtMocHelpers::SlotData<void(const QPoint &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
60 { 0x80000000 | 6, 2 },
61 }}),
62 // Slot 'slotMenuSelection'
63 QtMocHelpers::SlotData<void(QAction *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
64 { 0x80000000 | 8, 9 },
65 }}),
66 };
67 QtMocHelpers::UintData qt_properties {
68 };
69 QtMocHelpers::UintData qt_enums {
70 };
71 return QtMocHelpers::metaObjectData<PackageContentsPage, qt_meta_tag_ZN19PackageContentsPageE_t>(QMC::MetaObjectFlag{}, qt_stringData,
72 qt_methods, qt_properties, qt_enums);
73}
74Q_CONSTINIT const QMetaObject PackageContentsPage::staticMetaObject = { {
75 QMetaObject::SuperData::link<DialogPageBase::staticMetaObject>(),
76 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19PackageContentsPageE_t>.stringdata,
77 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19PackageContentsPageE_t>.data,
78 qt_static_metacall,
79 nullptr,
80 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19PackageContentsPageE_t>.metaTypes,
81 nullptr
82} };
83
84void PackageContentsPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
85{
86 auto *_t = static_cast<PackageContentsPage *>(_o);
87 if (_c == QMetaObject::InvokeMetaMethod) {
88 switch (_id) {
89 case 0: _t->slotDoubleClick((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
90 case 1: _t->slotShowContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
91 case 2: _t->slotMenuSelection((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
92 default: ;
93 }
94 }
95 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
96 switch (_id) {
97 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
98 case 2:
99 switch (*reinterpret_cast<int*>(_a[1])) {
100 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
101 case 0:
102 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
103 }
104 break;
105 }
106 }
107}
108
109const QMetaObject *PackageContentsPage::metaObject() const
110{
111 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
112}
113
114void *PackageContentsPage::qt_metacast(const char *_clname)
115{
116 if (!_clname) return nullptr;
117 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19PackageContentsPageE_t>.strings))
118 return static_cast<void*>(this);
119 return DialogPageBase::qt_metacast(_clname);
120}
121
122int PackageContentsPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
123{
124 _id = DialogPageBase::qt_metacall(_c, _id, _a);
125 if (_id < 0)
126 return _id;
127 if (_c == QMetaObject::InvokeMetaMethod) {
128 if (_id < 3)
129 qt_static_metacall(this, _c, _id, _a);
130 _id -= 3;
131 }
132 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133 if (_id < 3)
134 qt_static_metacall(this, _c, _id, _a);
135 _id -= 3;
136 }
137 return _id;
138}
139QT_WARNING_POP
PackageContentsPage(QWidget *parent, UMLPackage *pkg)
Definition packagecontentspage.cpp:31
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33