1/****************************************************************************
2** Meta object code from reading C++ file 'qpluginloader.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 "plugin/qpluginloader.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qpluginloader.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_QPluginLoader_t {
25 const uint offsetsAndSize[8];
26 char stringdata0[53];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QPluginLoader_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QPluginLoader_t qt_meta_stringdata_QPluginLoader = {
31 {
32QT_MOC_LITERAL(0, 13), // "QPluginLoader"
33QT_MOC_LITERAL(14, 8), // "fileName"
34QT_MOC_LITERAL(23, 9), // "loadHints"
35QT_MOC_LITERAL(33, 19) // "QLibrary::LoadHints"
36
37 },
38 "QPluginLoader\0fileName\0loadHints\0"
39 "QLibrary::LoadHints"
40};
41#undef QT_MOC_LITERAL
42
43static const uint qt_meta_data_QPluginLoader[] = {
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::QString, 0x00015103, uint(-1), 0,
58 2, 0x80000000 | 3, 0x0001510b, uint(-1), 0,
59
60 0 // eod
61};
62
63void QPluginLoader::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<QPluginLoader *>(_o);
70 Q_UNUSED(_t)
71 void *_v = _a[0];
72 switch (_id) {
73 case 0: *reinterpret_cast< QString*>(_v) = _t->fileName(); break;
74 case 1: *reinterpret_cast< QLibrary::LoadHints*>(_v) = _t->loadHints(); break;
75 default: break;
76 }
77 } else if (_c == QMetaObject::WriteProperty) {
78 Q_ASSERT(staticMetaObject.cast(_o));
79 auto *_t = static_cast<QPluginLoader *>(_o);
80 Q_UNUSED(_t)
81 void *_v = _a[0];
82 switch (_id) {
83 case 0: _t->setFileName(*reinterpret_cast< QString*>(_v)); break;
84 case 1: _t->setLoadHints(*reinterpret_cast< QLibrary::LoadHints*>(_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
97static const QMetaObject::SuperData qt_meta_extradata_QPluginLoader[] = {
98 QMetaObject::SuperData::link<QLibrary::staticMetaObject>(),
99 nullptr
100};
101
102const QMetaObject QPluginLoader::staticMetaObject = { {
103 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
104 qt_meta_stringdata_QPluginLoader.offsetsAndSize,
105 qt_meta_data_QPluginLoader,
106 qt_static_metacall,
107 qt_meta_extradata_QPluginLoader,
108qt_incomplete_metaTypeArray<qt_meta_stringdata_QPluginLoader_t
109, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QLibrary::LoadHints, std::true_type>
110
111
112
113>,
114 nullptr
115} };
116
117
118const QMetaObject *QPluginLoader::metaObject() const
119{
120 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
121}
122
123void *QPluginLoader::qt_metacast(const char *_clname)
124{
125 if (!_clname) return nullptr;
126 if (!strcmp(_clname, qt_meta_stringdata_QPluginLoader.stringdata0))
127 return static_cast<void*>(this);
128 return QObject::qt_metacast(_clname);
129}
130
131int QPluginLoader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
132{
133 _id = QObject::qt_metacall(_c, _id, _a);
134 if (_id < 0)
135 return _id;
136
137#ifndef QT_NO_PROPERTIES
138 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
139 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
140 || _c == QMetaObject::RegisterPropertyMetaType) {
141 qt_static_metacall(this, _c, _id, _a);
142 _id -= 2;
143 }
144#endif // QT_NO_PROPERTIES
145 return _id;
146}
147QT_WARNING_POP
148QT_END_MOC_NAMESPACE
149