umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_activitypage.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'activitypage.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 'activitypage.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 ActivityPage::qt_create_metaobjectdata<qt_meta_tag_ZN12ActivityPageE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "ActivityPage",
42 "slotMenuSelection",
43 "",
44 "QAction*",
45 "action",
46 "slotClicked",
47 "QListWidgetItem*",
48 "item",
49 "slotDoubleClicked",
50 "slotRightButtonPressed",
51 "p",
52 "slotTopClicked",
53 "slotUpClicked",
54 "slotDownClicked",
55 "slotBottomClicked",
56 "slotNewActivity",
57 "slotDelete",
58 "slotRename"
59 };
60
61 QtMocHelpers::UintData qt_methods {
62 // Slot 'slotMenuSelection'
63 QtMocHelpers::SlotData<void(QAction *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
64 { 0x80000000 | 3, 4 },
65 }}),
66 // Slot 'slotClicked'
67 QtMocHelpers::SlotData<void(QListWidgetItem *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
68 { 0x80000000 | 6, 7 },
69 }}),
70 // Slot 'slotDoubleClicked'
71 QtMocHelpers::SlotData<void(QListWidgetItem *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
72 { 0x80000000 | 6, 7 },
73 }}),
74 // Slot 'slotRightButtonPressed'
75 QtMocHelpers::SlotData<void(const QPoint &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
76 { QMetaType::QPoint, 10 },
77 }}),
78 // Slot 'slotTopClicked'
79 QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
80 // Slot 'slotUpClicked'
81 QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
82 // Slot 'slotDownClicked'
83 QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
84 // Slot 'slotBottomClicked'
85 QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
86 // Slot 'slotNewActivity'
87 QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
88 // Slot 'slotDelete'
89 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
90 // Slot 'slotRename'
91 QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
92 };
93 QtMocHelpers::UintData qt_properties {
94 };
95 QtMocHelpers::UintData qt_enums {
96 };
97 return QtMocHelpers::metaObjectData<ActivityPage, qt_meta_tag_ZN12ActivityPageE_t>(QMC::MetaObjectFlag{}, qt_stringData,
98 qt_methods, qt_properties, qt_enums);
99}
100Q_CONSTINIT const QMetaObject ActivityPage::staticMetaObject = { {
101 QMetaObject::SuperData::link<DialogPageBase::staticMetaObject>(),
102 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12ActivityPageE_t>.stringdata,
103 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12ActivityPageE_t>.data,
104 qt_static_metacall,
105 nullptr,
106 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12ActivityPageE_t>.metaTypes,
107 nullptr
108} };
109
110void ActivityPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
111{
112 auto *_t = static_cast<ActivityPage *>(_o);
113 if (_c == QMetaObject::InvokeMetaMethod) {
114 switch (_id) {
115 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
116 case 1: _t->slotClicked((*reinterpret_cast< std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
117 case 2: _t->slotDoubleClicked((*reinterpret_cast< std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
118 case 3: _t->slotRightButtonPressed((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
119 case 4: _t->slotTopClicked(); break;
120 case 5: _t->slotUpClicked(); break;
121 case 6: _t->slotDownClicked(); break;
122 case 7: _t->slotBottomClicked(); break;
123 case 8: _t->slotNewActivity(); break;
124 case 9: _t->slotDelete(); break;
125 case 10: _t->slotRename(); break;
126 default: ;
127 }
128 }
129 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
130 switch (_id) {
131 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
132 case 0:
133 switch (*reinterpret_cast<int*>(_a[1])) {
134 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
135 case 0:
136 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
137 }
138 break;
139 }
140 }
141}
142
143const QMetaObject *ActivityPage::metaObject() const
144{
145 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
146}
147
148void *ActivityPage::qt_metacast(const char *_clname)
149{
150 if (!_clname) return nullptr;
151 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12ActivityPageE_t>.strings))
152 return static_cast<void*>(this);
153 return DialogPageBase::qt_metacast(_clname);
154}
155
156int ActivityPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
157{
158 _id = DialogPageBase::qt_metacall(_c, _id, _a);
159 if (_id < 0)
160 return _id;
161 if (_c == QMetaObject::InvokeMetaMethod) {
162 if (_id < 11)
163 qt_static_metacall(this, _c, _id, _a);
164 _id -= 11;
165 }
166 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
167 if (_id < 11)
168 qt_static_metacall(this, _c, _id, _a);
169 _id -= 11;
170 }
171 return _id;
172}
173QT_WARNING_POP
ActivityPage(QWidget *pParent, StateWidget *pWidget)
Definition activitypage.cpp:31
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33