9#include "../../../../src/qmltypes/messagedialog.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'messagedialog.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.1. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
34struct qt_meta_tag_ZN13MessageDialogE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN13MessageDialogE = QtMocHelpers::stringData(
58#error "qtmochelpers.h not found or too old."
61Q_CONSTINIT
static const uint qt_meta_data_ZN13MessageDialogE[] = {
75 1, 1, 50, 2, 0x06, 5 ,
76 4, 1, 53, 2, 0x06, 7 ,
77 6, 1, 56, 2, 0x06, 9 ,
78 8, 0, 59, 2, 0x06, 11 ,
79 9, 0, 60, 2, 0x06, 12 ,
82 10, 0, 61, 2, 0x02, 13 ,
85 QMetaType::Void, QMetaType::QString, 3,
86 QMetaType::Void, QMetaType::QString, 5,
87 QMetaType::Void, QMetaType::Int, 7,
95 3, QMetaType::QString, 0x00015103, uint(0), 0,
96 5, QMetaType::QString, 0x00015103, uint(1), 0,
97 7, QMetaType::Int, 0x00015103, uint(2), 0,
103 12, uint(MessageDialog::Ok),
104 13, uint(MessageDialog::Yes),
105 14, uint(MessageDialog::No),
106 15, uint(MessageDialog::Cancel),
111Q_CONSTINIT
const QMetaObject MessageDialog::staticMetaObject = { {
112 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
113 qt_meta_stringdata_ZN13MessageDialogE.offsetsAndSizes,
114 qt_meta_data_ZN13MessageDialogE,
117 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13MessageDialogE_t,
119 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
121 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
123 QtPrivate::TypeAndForceComplete<int, std::true_type>,
125 QtPrivate::TypeAndForceComplete<MessageDialog::StandardButtons, std::true_type>,
127 QtPrivate::TypeAndForceComplete<MessageDialog, std::true_type>,
129 QtPrivate::TypeAndForceComplete<void, std::false_type>,
130 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
132 QtPrivate::TypeAndForceComplete<void, std::false_type>,
133 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
135 QtPrivate::TypeAndForceComplete<void, std::false_type>,
136 QtPrivate::TypeAndForceComplete<int, std::false_type>,
138 QtPrivate::TypeAndForceComplete<void, std::false_type>,
140 QtPrivate::TypeAndForceComplete<void, std::false_type>,
142 QtPrivate::TypeAndForceComplete<void, std::false_type>
147void MessageDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
149 auto *_t =
static_cast<MessageDialog *
>(_o);
150 if (_c == QMetaObject::InvokeMetaMethod) {
152 case 0: _t->titleChanged((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
153 case 1: _t->textChanged((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
154 case 2: _t->buttonsChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
155 case 3: _t->accepted();
break;
156 case 4: _t->rejected();
break;
157 case 5: _t->open();
break;
161 if (_c == QMetaObject::IndexOfMethod) {
162 int *result =
reinterpret_cast<int *
>(_a[0]);
164 using _q_method_type = void (MessageDialog::*)(
const QString & );
165 if (_q_method_type _q_method = &MessageDialog::titleChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
171 using _q_method_type = void (MessageDialog::*)(
const QString & );
172 if (_q_method_type _q_method = &MessageDialog::textChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
178 using _q_method_type = void (MessageDialog::*)(int );
179 if (_q_method_type _q_method = &MessageDialog::buttonsChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
185 using _q_method_type = void (MessageDialog::*)();
186 if (_q_method_type _q_method = &MessageDialog::accepted; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
192 using _q_method_type = void (MessageDialog::*)();
193 if (_q_method_type _q_method = &MessageDialog::rejected; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
199 if (_c == QMetaObject::ReadProperty) {
202 case 0: *
reinterpret_cast< QString*
>(_v) = _t->title();
break;
203 case 1: *
reinterpret_cast< QString*
>(_v) = _t->text();
break;
204 case 2: *
reinterpret_cast< int*
>(_v) = _t->buttons();
break;
208 if (_c == QMetaObject::WriteProperty) {
211 case 0: _t->setTitle(*
reinterpret_cast< QString*
>(_v));
break;
212 case 1: _t->setText(*
reinterpret_cast< QString*
>(_v));
break;
213 case 2: _t->setButtons(*
reinterpret_cast< int*
>(_v));
break;
219const QMetaObject *MessageDialog::metaObject()
const
221 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
224void *MessageDialog::qt_metacast(
const char *_clname)
226 if (!_clname)
return nullptr;
227 if (!strcmp(_clname, qt_meta_stringdata_ZN13MessageDialogE.stringdata0))
228 return static_cast<void*
>(
this);
229 return QObject::qt_metacast(_clname);
232int MessageDialog::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
234 _id = QObject::qt_metacall(_c, _id, _a);
237 if (_c == QMetaObject::InvokeMetaMethod) {
239 qt_static_metacall(
this, _c, _id, _a);
242 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
244 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
247 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
248 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
249 || _c == QMetaObject::RegisterPropertyMetaType) {
250 qt_static_metacall(
this, _c, _id, _a);
257void MessageDialog::titleChanged(
const QString & _t1)
259 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
260 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
264void MessageDialog::textChanged(
const QString & _t1)
266 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
267 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
271void MessageDialog::buttonsChanged(
int _t1)
273 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
274 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
278void MessageDialog::accepted()
280 QMetaObject::activate(
this, &staticMetaObject, 3,
nullptr);
284void MessageDialog::rejected()
286 QMetaObject::activate(
this, &staticMetaObject, 4,
nullptr);