umbrello 25.12.2
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.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 'packagecontentspage.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 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 "slotMenuSelection",
48 "QAction*",
49 "action"
50 };
51
52 QtMocHelpers::UintData qt_methods {
53 // Slot 'slotDoubleClick'
54 QtMocHelpers::SlotData<void(QListWidgetItem *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
55 { 0x80000000 | 3, 4 },
56 }}),
57 // Slot 'slotShowContextMenu'
58 QtMocHelpers::SlotData<void(const QPoint &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
59 { QMetaType::QPoint, 2 },
60 }}),
61 // Slot 'slotMenuSelection'
62 QtMocHelpers::SlotData<void(QAction *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
63 { 0x80000000 | 7, 8 },
64 }}),
65 };
66 QtMocHelpers::UintData qt_properties {
67 };
68 QtMocHelpers::UintData qt_enums {
69 };
70 return QtMocHelpers::metaObjectData<PackageContentsPage, qt_meta_tag_ZN19PackageContentsPageE_t>(QMC::MetaObjectFlag{}, qt_stringData,
71 qt_methods, qt_properties, qt_enums);
72}
73Q_CONSTINIT const QMetaObject PackageContentsPage::staticMetaObject = { {
74 QMetaObject::SuperData::link<DialogPageBase::staticMetaObject>(),
75 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19PackageContentsPageE_t>.stringdata,
76 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19PackageContentsPageE_t>.data,
77 qt_static_metacall,
78 nullptr,
79 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19PackageContentsPageE_t>.metaTypes,
80 nullptr
81} };
82
83void PackageContentsPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
84{
85 auto *_t = static_cast<PackageContentsPage *>(_o);
86 if (_c == QMetaObject::InvokeMetaMethod) {
87 switch (_id) {
88 case 0: _t->slotDoubleClick((*reinterpret_cast< std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
89 case 1: _t->slotShowContextMenu((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
90 case 2: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
91 default: ;
92 }
93 }
94 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
95 switch (_id) {
96 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
97 case 2:
98 switch (*reinterpret_cast<int*>(_a[1])) {
99 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
100 case 0:
101 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
102 }
103 break;
104 }
105 }
106}
107
108const QMetaObject *PackageContentsPage::metaObject() const
109{
110 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
111}
112
113void *PackageContentsPage::qt_metacast(const char *_clname)
114{
115 if (!_clname) return nullptr;
116 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19PackageContentsPageE_t>.strings))
117 return static_cast<void*>(this);
118 return DialogPageBase::qt_metacast(_clname);
119}
120
121int PackageContentsPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
122{
123 _id = DialogPageBase::qt_metacall(_c, _id, _a);
124 if (_id < 0)
125 return _id;
126 if (_c == QMetaObject::InvokeMetaMethod) {
127 if (_id < 3)
128 qt_static_metacall(this, _c, _id, _a);
129 _id -= 3;
130 }
131 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
132 if (_id < 3)
133 qt_static_metacall(this, _c, _id, _a);
134 _id -= 3;
135 }
136 return _id;
137}
138QT_WARNING_POP
PackageContentsPage(QWidget *parent, UMLPackage *pkg)
Definition packagecontentspage.cpp:31
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33