umbrello 25.12.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_floatingtextwidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'floatingtextwidget.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 'floatingtextwidget.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 FloatingTextWidget::qt_create_metaobjectdata<qt_meta_tag_ZN18FloatingTextWidgetE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "FloatingTextWidget",
42 "slotMenuSelection",
43 "",
44 "QAction*",
45 "action",
46 "setMessageText"
47 };
48
49 QtMocHelpers::UintData qt_methods {
50 // Slot 'slotMenuSelection'
51 QtMocHelpers::SlotData<void(QAction *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
52 { 0x80000000 | 3, 4 },
53 }}),
54 // Slot 'setMessageText'
55 QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
56 };
57 QtMocHelpers::UintData qt_properties {
58 };
59 QtMocHelpers::UintData qt_enums {
60 };
61 return QtMocHelpers::metaObjectData<FloatingTextWidget, qt_meta_tag_ZN18FloatingTextWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
62 qt_methods, qt_properties, qt_enums);
63}
64Q_CONSTINIT const QMetaObject FloatingTextWidget::staticMetaObject = { {
65 QMetaObject::SuperData::link<UMLWidget::staticMetaObject>(),
66 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18FloatingTextWidgetE_t>.stringdata,
67 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18FloatingTextWidgetE_t>.data,
68 qt_static_metacall,
69 nullptr,
70 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18FloatingTextWidgetE_t>.metaTypes,
71 nullptr
72} };
73
74void FloatingTextWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
75{
76 auto *_t = static_cast<FloatingTextWidget *>(_o);
77 if (_c == QMetaObject::InvokeMetaMethod) {
78 switch (_id) {
79 case 0: _t->slotMenuSelection((*reinterpret_cast< std::add_pointer_t<QAction*>>(_a[1]))); break;
80 case 1: _t->setMessageText(); break;
81 default: ;
82 }
83 }
84}
85
86const QMetaObject *FloatingTextWidget::metaObject() const
87{
88 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
89}
90
91void *FloatingTextWidget::qt_metacast(const char *_clname)
92{
93 if (!_clname) return nullptr;
94 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18FloatingTextWidgetE_t>.strings))
95 return static_cast<void*>(this);
96 return UMLWidget::qt_metacast(_clname);
97}
98
99int FloatingTextWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100{
101 _id = UMLWidget::qt_metacall(_c, _id, _a);
102 if (_id < 0)
103 return _id;
104 if (_c == QMetaObject::InvokeMetaMethod) {
105 if (_id < 2)
106 qt_static_metacall(this, _c, _id, _a);
107 _id -= 2;
108 }
109 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
110 if (_id < 2)
111 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
112 _id -= 2;
113 }
114 return _id;
115}
116QT_WARNING_POP
FloatingTextWidget(UMLScene *scene, Uml::TextRole::Enum role=Uml::TextRole::Floating, const QString &text=QString(), Uml::ID::Type id=Uml::ID::None)
Definition floatingtextwidget.cpp:50
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33