1/****************************************************************************
2** Meta object code from reading C++ file 'qgtk3dialoghelpers.cpp'
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 <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'qgtk3dialoghelpers.cpp' doesn't include <QObject>."
14#elif Q_MOC_OUTPUT_REVISION != 68
15#error "This file was generated using the moc from 6.0.0. It"
16#error "cannot be used with the include files from this version of Qt."
17#error "(The moc has changed too much.)"
18#endif
19
20QT_BEGIN_MOC_NAMESPACE
21QT_WARNING_PUSH
22QT_WARNING_DISABLE_DEPRECATED
23struct qt_meta_stringdata_QGtk3Dialog_t {
24 const uint offsetsAndSize[10];
25 char stringdata0[51];
26};
27#define QT_MOC_LITERAL(ofs, len) \
28 uint(offsetof(qt_meta_stringdata_QGtk3Dialog_t, stringdata0) + ofs), len
29static const qt_meta_stringdata_QGtk3Dialog_t qt_meta_stringdata_QGtk3Dialog = {
30 {
31QT_MOC_LITERAL(0, 11), // "QGtk3Dialog"
32QT_MOC_LITERAL(12, 6), // "accept"
33QT_MOC_LITERAL(19, 0), // ""
34QT_MOC_LITERAL(20, 6), // "reject"
35QT_MOC_LITERAL(27, 23) // "onParentWindowDestroyed"
36
37 },
38 "QGtk3Dialog\0accept\0\0reject\0"
39 "onParentWindowDestroyed"
40};
41#undef QT_MOC_LITERAL
42
43static const uint qt_meta_data_QGtk3Dialog[] = {
44
45 // content:
46 9, // revision
47 0, // classname
48 0, 0, // classinfo
49 3, 14, // methods
50 0, 0, // properties
51 0, 0, // enums/sets
52 0, 0, // constructors
53 0, // flags
54 2, // signalCount
55
56 // signals: name, argc, parameters, tag, flags, initial metatype offsets
57 1, 0, 32, 2, 0x06, 0 /* Public */,
58 3, 0, 33, 2, 0x06, 1 /* Public */,
59
60 // slots: name, argc, parameters, tag, flags, initial metatype offsets
61 4, 0, 34, 2, 0x08, 2 /* Private */,
62
63 // signals: parameters
64 QMetaType::Void,
65 QMetaType::Void,
66
67 // slots: parameters
68 QMetaType::Void,
69
70 0 // eod
71};
72
73void QGtk3Dialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
74{
75 if (_c == QMetaObject::InvokeMetaMethod) {
76 Q_ASSERT(staticMetaObject.cast(_o));
77 auto *_t = static_cast<QGtk3Dialog *>(_o);
78 Q_UNUSED(_t)
79 switch (_id) {
80 case 0: _t->accept(); break;
81 case 1: _t->reject(); break;
82 case 2: _t->onParentWindowDestroyed(); break;
83 default: ;
84 }
85 } else if (_c == QMetaObject::IndexOfMethod) {
86 int *result = reinterpret_cast<int *>(_a[0]);
87 {
88 using _t = void (QGtk3Dialog::*)();
89 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGtk3Dialog::accept)) {
90 *result = 0;
91 return;
92 }
93 }
94 {
95 using _t = void (QGtk3Dialog::*)();
96 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGtk3Dialog::reject)) {
97 *result = 1;
98 return;
99 }
100 }
101 }
102 Q_UNUSED(_a);
103}
104
105const QMetaObject QGtk3Dialog::staticMetaObject = { {
106 QMetaObject::SuperData::link<QWindow::staticMetaObject>(),
107 qt_meta_stringdata_QGtk3Dialog.offsetsAndSize,
108 qt_meta_data_QGtk3Dialog,
109 qt_static_metacall,
110 nullptr,
111qt_incomplete_metaTypeArray<qt_meta_stringdata_QGtk3Dialog_t
112, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
113, QtPrivate::TypeAndForceComplete<void, std::false_type>
114
115
116>,
117 nullptr
118} };
119
120
121const QMetaObject *QGtk3Dialog::metaObject() const
122{
123 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
124}
125
126void *QGtk3Dialog::qt_metacast(const char *_clname)
127{
128 if (!_clname) return nullptr;
129 if (!strcmp(_clname, qt_meta_stringdata_QGtk3Dialog.stringdata0))
130 return static_cast<void*>(this);
131 return QWindow::qt_metacast(_clname);
132}
133
134int QGtk3Dialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
135{
136 _id = QWindow::qt_metacall(_c, _id, _a);
137 if (_id < 0)
138 return _id;
139 if (_c == QMetaObject::InvokeMetaMethod) {
140 if (_id < 3)
141 qt_static_metacall(this, _c, _id, _a);
142 _id -= 3;
143 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
144 if (_id < 3)
145 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
146 _id -= 3;
147 }
148 return _id;
149}
150
151// SIGNAL 0
152void QGtk3Dialog::accept()
153{
154 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
155}
156
157// SIGNAL 1
158void QGtk3Dialog::reject()
159{
160 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
161}
162QT_WARNING_POP
163QT_END_MOC_NAMESPACE
164