1/****************************************************************************
2** Meta object code from reading C++ file 'qwidgetaction.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 "kernel/qwidgetaction.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qwidgetaction.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_QWidgetAction_t {
25 const uint offsetsAndSize[6];
26 char stringdata0[34];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QWidgetAction_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QWidgetAction_t qt_meta_stringdata_QWidgetAction = {
31 {
32QT_MOC_LITERAL(0, 13), // "QWidgetAction"
33QT_MOC_LITERAL(14, 18), // "_q_widgetDestroyed"
34QT_MOC_LITERAL(33, 0) // ""
35
36 },
37 "QWidgetAction\0_q_widgetDestroyed\0"
38};
39#undef QT_MOC_LITERAL
40
41static const uint qt_meta_data_QWidgetAction[] = {
42
43 // content:
44 9, // revision
45 0, // classname
46 0, 0, // classinfo
47 1, 14, // methods
48 0, 0, // properties
49 0, 0, // enums/sets
50 0, 0, // constructors
51 0, // flags
52 0, // signalCount
53
54 // slots: name, argc, parameters, tag, flags, initial metatype offsets
55 1, 1, 20, 2, 0x08, 0 /* Private */,
56
57 // slots: parameters
58 QMetaType::Void, QMetaType::QObjectStar, 2,
59
60 0 // eod
61};
62
63void QWidgetAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
64{
65 if (_c == QMetaObject::InvokeMetaMethod) {
66 Q_ASSERT(staticMetaObject.cast(_o));
67 auto *_t = static_cast<QWidgetAction *>(_o);
68 Q_UNUSED(_t)
69 switch (_id) {
70 case 0: _t->d_func()->_q_widgetDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
71 default: ;
72 }
73 }
74}
75
76const QMetaObject QWidgetAction::staticMetaObject = { {
77 QMetaObject::SuperData::link<QAction::staticMetaObject>(),
78 qt_meta_stringdata_QWidgetAction.offsetsAndSize,
79 qt_meta_data_QWidgetAction,
80 qt_static_metacall,
81 nullptr,
82qt_incomplete_metaTypeArray<qt_meta_stringdata_QWidgetAction_t
83
84, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QObject *, std::false_type>
85
86
87>,
88 nullptr
89} };
90
91
92const QMetaObject *QWidgetAction::metaObject() const
93{
94 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
95}
96
97void *QWidgetAction::qt_metacast(const char *_clname)
98{
99 if (!_clname) return nullptr;
100 if (!strcmp(_clname, qt_meta_stringdata_QWidgetAction.stringdata0))
101 return static_cast<void*>(this);
102 return QAction::qt_metacast(_clname);
103}
104
105int QWidgetAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
106{
107 _id = QAction::qt_metacall(_c, _id, _a);
108 if (_id < 0)
109 return _id;
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 if (_id < 1)
112 qt_static_metacall(this, _c, _id, _a);
113 _id -= 1;
114 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
115 if (_id < 1)
116 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
117 _id -= 1;
118 }
119 return _id;
120}
121QT_WARNING_POP
122QT_END_MOC_NAMESPACE
123