1/****************************************************************************
2** Meta object code from reading C++ file 'qerrormessage.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "dialogs/qerrormessage.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qerrormessage.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 68
16#error "This file was generated using the moc from 6.0.0. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_QErrorMessage_t {
25 const uint offsetsAndSize[10];
26 char stringdata0[40];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QErrorMessage_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QErrorMessage_t qt_meta_stringdata_QErrorMessage = {
31 {
32QT_MOC_LITERAL(0, 13), // "QErrorMessage"
33QT_MOC_LITERAL(14, 11), // "showMessage"
34QT_MOC_LITERAL(26, 0), // ""
35QT_MOC_LITERAL(27, 7), // "message"
36QT_MOC_LITERAL(35, 4) // "type"
37
38 },
39 "QErrorMessage\0showMessage\0\0message\0"
40 "type"
41};
42#undef QT_MOC_LITERAL
43
44static const uint qt_meta_data_QErrorMessage[] = {
45
46 // content:
47 9, // revision
48 0, // classname
49 0, 0, // classinfo
50 2, 14, // methods
51 0, 0, // properties
52 0, 0, // enums/sets
53 0, 0, // constructors
54 0, // flags
55 0, // signalCount
56
57 // slots: name, argc, parameters, tag, flags, initial metatype offsets
58 1, 1, 26, 2, 0x0a, 0 /* Public */,
59 1, 2, 29, 2, 0x0a, 2 /* Public */,
60
61 // slots: parameters
62 QMetaType::Void, QMetaType::QString, 3,
63 QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
64
65 0 // eod
66};
67
68void QErrorMessage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
69{
70 if (_c == QMetaObject::InvokeMetaMethod) {
71 Q_ASSERT(staticMetaObject.cast(_o));
72 auto *_t = static_cast<QErrorMessage *>(_o);
73 Q_UNUSED(_t)
74 switch (_id) {
75 case 0: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
76 case 1: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
77 default: ;
78 }
79 }
80}
81
82const QMetaObject QErrorMessage::staticMetaObject = { {
83 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
84 qt_meta_stringdata_QErrorMessage.offsetsAndSize,
85 qt_meta_data_QErrorMessage,
86 qt_static_metacall,
87 nullptr,
88qt_incomplete_metaTypeArray<qt_meta_stringdata_QErrorMessage_t
89
90, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
91
92
93>,
94 nullptr
95} };
96
97
98const QMetaObject *QErrorMessage::metaObject() const
99{
100 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
101}
102
103void *QErrorMessage::qt_metacast(const char *_clname)
104{
105 if (!_clname) return nullptr;
106 if (!strcmp(_clname, qt_meta_stringdata_QErrorMessage.stringdata0))
107 return static_cast<void*>(this);
108 return QDialog::qt_metacast(_clname);
109}
110
111int QErrorMessage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
112{
113 _id = QDialog::qt_metacall(_c, _id, _a);
114 if (_id < 0)
115 return _id;
116 if (_c == QMetaObject::InvokeMetaMethod) {
117 if (_id < 2)
118 qt_static_metacall(this, _c, _id, _a);
119 _id -= 2;
120 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
121 if (_id < 2)
122 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
123 _id -= 2;
124 }
125 return _id;
126}
127QT_WARNING_POP
128QT_END_MOC_NAMESPACE
129