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