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