1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qpropertyanimation.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 "animation/qpropertyanimation.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qpropertyanimation.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_QPropertyAnimation_t { |
25 | const uint offsetsAndSize[6]; |
26 | char stringdata0[45]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QPropertyAnimation_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QPropertyAnimation_t qt_meta_stringdata_QPropertyAnimation = { |
31 | { |
32 | QT_MOC_LITERAL(0, 18), // "QPropertyAnimation" |
33 | QT_MOC_LITERAL(19, 12), // "propertyName" |
34 | QT_MOC_LITERAL(32, 12) // "targetObject" |
35 | |
36 | }, |
37 | "QPropertyAnimation\0propertyName\0" |
38 | "targetObject" |
39 | }; |
40 | #undef QT_MOC_LITERAL |
41 | |
42 | static const uint qt_meta_data_QPropertyAnimation[] = { |
43 | |
44 | // content: |
45 | 9, // revision |
46 | 0, // classname |
47 | 0, 0, // classinfo |
48 | 0, 0, // methods |
49 | 2, 14, // properties |
50 | 0, 0, // enums/sets |
51 | 0, 0, // constructors |
52 | 0, // flags |
53 | 0, // signalCount |
54 | |
55 | // properties: name, type, flags |
56 | 1, QMetaType::QByteArray, 0x00015103, uint(-1), 0, |
57 | 2, QMetaType::QObjectStar, 0x00015103, uint(-1), 0, |
58 | |
59 | 0 // eod |
60 | }; |
61 | |
62 | void QPropertyAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
63 | { |
64 | |
65 | #ifndef QT_NO_PROPERTIES |
66 | if (_c == QMetaObject::ReadProperty) { |
67 | Q_ASSERT(staticMetaObject.cast(_o)); |
68 | auto *_t = static_cast<QPropertyAnimation *>(_o); |
69 | Q_UNUSED(_t) |
70 | void *_v = _a[0]; |
71 | switch (_id) { |
72 | case 0: *reinterpret_cast< QByteArray*>(_v) = _t->propertyName(); break; |
73 | case 1: *reinterpret_cast< QObject**>(_v) = _t->targetObject(); break; |
74 | default: break; |
75 | } |
76 | } else if (_c == QMetaObject::WriteProperty) { |
77 | Q_ASSERT(staticMetaObject.cast(_o)); |
78 | auto *_t = static_cast<QPropertyAnimation *>(_o); |
79 | Q_UNUSED(_t) |
80 | void *_v = _a[0]; |
81 | switch (_id) { |
82 | case 0: _t->setPropertyName(*reinterpret_cast< QByteArray*>(_v)); break; |
83 | case 1: _t->setTargetObject(*reinterpret_cast< QObject**>(_v)); break; |
84 | default: break; |
85 | } |
86 | } else if (_c == QMetaObject::ResetProperty) { |
87 | } else if (_c == QMetaObject::BindableProperty) { |
88 | } |
89 | #endif // QT_NO_PROPERTIES |
90 | Q_UNUSED(_o); |
91 | Q_UNUSED(_id); |
92 | Q_UNUSED(_c); |
93 | Q_UNUSED(_a); |
94 | } |
95 | |
96 | const QMetaObject QPropertyAnimation::staticMetaObject = { { |
97 | QMetaObject::SuperData::link<QVariantAnimation::staticMetaObject>(), |
98 | qt_meta_stringdata_QPropertyAnimation.offsetsAndSize, |
99 | qt_meta_data_QPropertyAnimation, |
100 | qt_static_metacall, |
101 | nullptr, |
102 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPropertyAnimation_t |
103 | , QtPrivate::TypeAndForceComplete<QByteArray, std::true_type>, QtPrivate::TypeAndForceComplete<QObject*, std::true_type> |
104 | |
105 | |
106 | |
107 | >, |
108 | nullptr |
109 | } }; |
110 | |
111 | |
112 | const QMetaObject *QPropertyAnimation::metaObject() const |
113 | { |
114 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
115 | } |
116 | |
117 | void *QPropertyAnimation::qt_metacast(const char *_clname) |
118 | { |
119 | if (!_clname) return nullptr; |
120 | if (!strcmp(_clname, qt_meta_stringdata_QPropertyAnimation.stringdata0)) |
121 | return static_cast<void*>(this); |
122 | return QVariantAnimation::qt_metacast(_clname); |
123 | } |
124 | |
125 | int QPropertyAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
126 | { |
127 | _id = QVariantAnimation::qt_metacall(_c, _id, _a); |
128 | if (_id < 0) |
129 | return _id; |
130 | |
131 | #ifndef QT_NO_PROPERTIES |
132 | if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
133 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
134 | || _c == QMetaObject::RegisterPropertyMetaType) { |
135 | qt_static_metacall(this, _c, _id, _a); |
136 | _id -= 2; |
137 | } |
138 | #endif // QT_NO_PROPERTIES |
139 | return _id; |
140 | } |
141 | QT_WARNING_POP |
142 | QT_END_MOC_NAMESPACE |
143 | |