1/****************************************************************************
2** Meta object code from reading C++ file 'droparea.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 "droparea.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'droparea.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_DropArea_t {
25 const uint offsetsAndSize[12];
26 char stringdata0[50];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_DropArea_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_DropArea_t qt_meta_stringdata_DropArea = {
31 {
32QT_MOC_LITERAL(0, 8), // "DropArea"
33QT_MOC_LITERAL(9, 7), // "changed"
34QT_MOC_LITERAL(17, 0), // ""
35QT_MOC_LITERAL(18, 16), // "const QMimeData*"
36QT_MOC_LITERAL(35, 8), // "mimeData"
37QT_MOC_LITERAL(44, 5) // "clear"
38
39 },
40 "DropArea\0changed\0\0const QMimeData*\0"
41 "mimeData\0clear"
42};
43#undef QT_MOC_LITERAL
44
45static const uint qt_meta_data_DropArea[] = {
46
47 // content:
48 9, // revision
49 0, // classname
50 0, 0, // classinfo
51 3, 14, // methods
52 0, 0, // properties
53 0, 0, // enums/sets
54 0, 0, // constructors
55 0, // flags
56 2, // signalCount
57
58 // signals: name, argc, parameters, tag, flags, initial metatype offsets
59 1, 1, 32, 2, 0x06, 0 /* Public */,
60 1, 0, 35, 2, 0x26, 2 /* Public | MethodCloned */,
61
62 // slots: name, argc, parameters, tag, flags, initial metatype offsets
63 5, 0, 36, 2, 0x0a, 3 /* Public */,
64
65 // signals: parameters
66 QMetaType::Void, 0x80000000 | 3, 4,
67 QMetaType::Void,
68
69 // slots: parameters
70 QMetaType::Void,
71
72 0 // eod
73};
74
75void DropArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76{
77 if (_c == QMetaObject::InvokeMetaMethod) {
78 Q_ASSERT(staticMetaObject.cast(_o));
79 auto *_t = static_cast<DropArea *>(_o);
80 Q_UNUSED(_t)
81 switch (_id) {
82 case 0: _t->changed((*reinterpret_cast< const QMimeData*(*)>(_a[1]))); break;
83 case 1: _t->changed(); break;
84 case 2: _t->clear(); break;
85 default: ;
86 }
87 } else if (_c == QMetaObject::IndexOfMethod) {
88 int *result = reinterpret_cast<int *>(_a[0]);
89 {
90 using _t = void (DropArea::*)(const QMimeData * );
91 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DropArea::changed)) {
92 *result = 0;
93 return;
94 }
95 }
96 }
97}
98
99const QMetaObject DropArea::staticMetaObject = { {
100 QMetaObject::SuperData::link<QLabel::staticMetaObject>(),
101 qt_meta_stringdata_DropArea.offsetsAndSize,
102 qt_meta_data_DropArea,
103 qt_static_metacall,
104 nullptr,
105qt_incomplete_metaTypeArray<qt_meta_stringdata_DropArea_t
106, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QMimeData *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
107, QtPrivate::TypeAndForceComplete<void, std::false_type>
108
109
110>,
111 nullptr
112} };
113
114
115const QMetaObject *DropArea::metaObject() const
116{
117 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
118}
119
120void *DropArea::qt_metacast(const char *_clname)
121{
122 if (!_clname) return nullptr;
123 if (!strcmp(_clname, qt_meta_stringdata_DropArea.stringdata0))
124 return static_cast<void*>(this);
125 return QLabel::qt_metacast(_clname);
126}
127
128int DropArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
129{
130 _id = QLabel::qt_metacall(_c, _id, _a);
131 if (_id < 0)
132 return _id;
133 if (_c == QMetaObject::InvokeMetaMethod) {
134 if (_id < 3)
135 qt_static_metacall(this, _c, _id, _a);
136 _id -= 3;
137 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
138 if (_id < 3)
139 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
140 _id -= 3;
141 }
142 return _id;
143}
144
145// SIGNAL 0
146void DropArea::changed(const QMimeData * _t1)
147{
148 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
149 QMetaObject::activate(this, &staticMetaObject, 0, _a);
150}
151QT_WARNING_POP
152QT_END_MOC_NAMESPACE
153