umbrello 25.11.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
moc_imagetypewidget.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'imagetypewidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.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 'imagetypewidget.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.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
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN15ImageTypeWidgetE = QtMocHelpers::stringData(
40 "ImageTypeWidget",
41 "currentIndexChanged",
42 "",
43 "index",
44 "slotCurrentIndexChanged"
45);
46#else // !QT_MOC_HAS_STRINGDATA
47#error "qtmochelpers.h not found or too old."
48#endif // !QT_MOC_HAS_STRINGDATA
49
51
52 // content:
53 12, // revision
54 0, // classname
55 0, 0, // classinfo
56 2, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 1, // signalCount
62
63 // signals: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 26, 2, 0x06, 1 /* Public */,
65
66 // slots: name, argc, parameters, tag, flags, initial metatype offsets
67 4, 1, 29, 2, 0x08, 3 /* Private */,
68
69 // signals: parameters
70 QMetaType::Void, QMetaType::QString, 3,
71
72 // slots: parameters
73 QMetaType::Void, QMetaType::QString, 3,
74
75 0 // eod
76};
77
78Q_CONSTINIT const QMetaObject ImageTypeWidget::staticMetaObject = { {
79 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
80 qt_meta_stringdata_ZN15ImageTypeWidgetE.offsetsAndSizes,
82 qt_static_metacall,
83 nullptr,
84 qt_incomplete_metaTypeArray<qt_meta_tag_ZN15ImageTypeWidgetE_t,
85 // Q_OBJECT / Q_GADGET
86 QtPrivate::TypeAndForceComplete<ImageTypeWidget, std::true_type>,
87 // method 'currentIndexChanged'
88 QtPrivate::TypeAndForceComplete<void, std::false_type>,
89 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
90 // method 'slotCurrentIndexChanged'
91 QtPrivate::TypeAndForceComplete<void, std::false_type>,
92 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
93 >,
94 nullptr
95} };
96
97void ImageTypeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
98{
99 auto *_t = static_cast<ImageTypeWidget *>(_o);
100 if (_c == QMetaObject::InvokeMetaMethod) {
101 switch (_id) {
102 case 0: _t->currentIndexChanged((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
103 case 1: _t->slotCurrentIndexChanged((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
104 default: ;
105 }
106 }
107 if (_c == QMetaObject::IndexOfMethod) {
108 int *result = reinterpret_cast<int *>(_a[0]);
109 {
110 using _q_method_type = void (ImageTypeWidget::*)(const QString & );
111 if (_q_method_type _q_method = &ImageTypeWidget::currentIndexChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
112 *result = 0;
113 return;
114 }
115 }
116 }
117}
118
119const QMetaObject *ImageTypeWidget::metaObject() const
120{
121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122}
123
124void *ImageTypeWidget::qt_metacast(const char *_clname)
125{
126 if (!_clname) return nullptr;
127 if (!strcmp(_clname, qt_meta_stringdata_ZN15ImageTypeWidgetE.stringdata0))
128 return static_cast<void*>(this);
129 return QWidget::qt_metacast(_clname);
130}
131
132int ImageTypeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
133{
134 _id = QWidget::qt_metacall(_c, _id, _a);
135 if (_id < 0)
136 return _id;
137 if (_c == QMetaObject::InvokeMetaMethod) {
138 if (_id < 2)
139 qt_static_metacall(this, _c, _id, _a);
140 _id -= 2;
141 }
142 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143 if (_id < 2)
144 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
145 _id -= 2;
146 }
147 return _id;
148}
149
150// SIGNAL 0
152{
153 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
154 QMetaObject::activate(this, &staticMetaObject, 0, _a);
155}
156QT_WARNING_POP
ImageTypeWidget(const QStringList &imageTypes, const QString &_default, QWidget *parent=nullptr)
Definition imagetypewidget.cpp:23
void currentIndexChanged(const QString &index)
Definition moc_imagetypewidget.cpp:151
static Q_CONSTINIT const uint qt_meta_data_ZN15ImageTypeWidgetE[]
Definition moc_imagetypewidget.cpp:50
#define Q_CONSTINIT
Definition moc_parser.cpp:27
Definition moc_parser.cpp:33