1/****************************************************************************
2** Meta object code from reading C++ file 'qfileinfogatherer_p.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 "itemmodels/qfileinfogatherer_p.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#include <QtCore/QList>
14#if !defined(Q_MOC_OUTPUT_REVISION)
15#error "The header file 'qfileinfogatherer_p.h' doesn't include <QObject>."
16#elif Q_MOC_OUTPUT_REVISION != 68
17#error "This file was generated using the moc from 6.0.0. It"
18#error "cannot be used with the include files from this version of Qt."
19#error "(The moc has changed too much.)"
20#endif
21
22QT_BEGIN_MOC_NAMESPACE
23QT_WARNING_PUSH
24QT_WARNING_DISABLE_DEPRECATED
25struct qt_meta_stringdata_QFileInfoGatherer_t {
26 const uint offsetsAndSize[48];
27 char stringdata0[319];
28};
29#define QT_MOC_LITERAL(ofs, len) \
30 uint(offsetof(qt_meta_stringdata_QFileInfoGatherer_t, stringdata0) + ofs), len
31static const qt_meta_stringdata_QFileInfoGatherer_t qt_meta_stringdata_QFileInfoGatherer = {
32 {
33QT_MOC_LITERAL(0, 17), // "QFileInfoGatherer"
34QT_MOC_LITERAL(18, 7), // "updates"
35QT_MOC_LITERAL(26, 0), // ""
36QT_MOC_LITERAL(27, 9), // "directory"
37QT_MOC_LITERAL(37, 35), // "QList<std::pair<QString,QFile..."
38QT_MOC_LITERAL(73, 14), // "newListOfFiles"
39QT_MOC_LITERAL(88, 11), // "listOfFiles"
40QT_MOC_LITERAL(100, 12), // "nameResolved"
41QT_MOC_LITERAL(113, 8), // "fileName"
42QT_MOC_LITERAL(122, 12), // "resolvedName"
43QT_MOC_LITERAL(135, 15), // "directoryLoaded"
44QT_MOC_LITERAL(151, 4), // "path"
45QT_MOC_LITERAL(156, 4), // "list"
46QT_MOC_LITERAL(161, 13), // "directoryPath"
47QT_MOC_LITERAL(175, 24), // "fetchExtendedInformation"
48QT_MOC_LITERAL(200, 5), // "files"
49QT_MOC_LITERAL(206, 10), // "updateFile"
50QT_MOC_LITERAL(217, 18), // "setResolveSymlinks"
51QT_MOC_LITERAL(236, 6), // "enable"
52QT_MOC_LITERAL(243, 15), // "setIconProvider"
53QT_MOC_LITERAL(259, 26), // "QAbstractFileIconProvider*"
54QT_MOC_LITERAL(286, 8), // "provider"
55QT_MOC_LITERAL(295, 10), // "driveAdded"
56QT_MOC_LITERAL(306, 12) // "driveRemoved"
57
58 },
59 "QFileInfoGatherer\0updates\0\0directory\0"
60 "QList<std::pair<QString,QFileInfo>>\0"
61 "newListOfFiles\0listOfFiles\0nameResolved\0"
62 "fileName\0resolvedName\0directoryLoaded\0"
63 "path\0list\0directoryPath\0"
64 "fetchExtendedInformation\0files\0"
65 "updateFile\0setResolveSymlinks\0enable\0"
66 "setIconProvider\0QAbstractFileIconProvider*\0"
67 "provider\0driveAdded\0driveRemoved"
68};
69#undef QT_MOC_LITERAL
70
71static const uint qt_meta_data_QFileInfoGatherer[] = {
72
73 // content:
74 9, // revision
75 0, // classname
76 0, 0, // classinfo
77 11, 14, // methods
78 0, 0, // properties
79 0, 0, // enums/sets
80 0, 0, // constructors
81 0, // flags
82 4, // signalCount
83
84 // signals: name, argc, parameters, tag, flags, initial metatype offsets
85 1, 2, 80, 2, 0x06, 0 /* Public */,
86 5, 2, 85, 2, 0x06, 3 /* Public */,
87 7, 2, 90, 2, 0x06, 6 /* Public */,
88 10, 1, 95, 2, 0x06, 9 /* Public */,
89
90 // slots: name, argc, parameters, tag, flags, initial metatype offsets
91 12, 1, 98, 2, 0x0a, 11 /* Public */,
92 14, 2, 101, 2, 0x0a, 13 /* Public */,
93 16, 1, 106, 2, 0x0a, 16 /* Public */,
94 17, 1, 109, 2, 0x0a, 18 /* Public */,
95 19, 1, 112, 2, 0x0a, 20 /* Public */,
96 22, 0, 115, 2, 0x08, 22 /* Private */,
97 23, 0, 116, 2, 0x08, 23 /* Private */,
98
99 // signals: parameters
100 QMetaType::Void, QMetaType::QString, 0x80000000 | 4, 3, 1,
101 QMetaType::Void, QMetaType::QString, QMetaType::QStringList, 3, 6,
102 QMetaType::Void, QMetaType::QString, QMetaType::QString, 8, 9,
103 QMetaType::Void, QMetaType::QString, 11,
104
105 // slots: parameters
106 QMetaType::Void, QMetaType::QString, 13,
107 QMetaType::Void, QMetaType::QString, QMetaType::QStringList, 11, 15,
108 QMetaType::Void, QMetaType::QString, 11,
109 QMetaType::Void, QMetaType::Bool, 18,
110 QMetaType::Void, 0x80000000 | 20, 21,
111 QMetaType::Void,
112 QMetaType::Void,
113
114 0 // eod
115};
116
117void QFileInfoGatherer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
118{
119 if (_c == QMetaObject::InvokeMetaMethod) {
120 Q_ASSERT(staticMetaObject.cast(_o));
121 auto *_t = static_cast<QFileInfoGatherer *>(_o);
122 Q_UNUSED(_t)
123 switch (_id) {
124 case 0: _t->updates((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<std::pair<QString,QFileInfo>>(*)>(_a[2]))); break;
125 case 1: _t->newListOfFiles((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
126 case 2: _t->nameResolved((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
127 case 3: _t->directoryLoaded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
128 case 4: _t->list((*reinterpret_cast< const QString(*)>(_a[1]))); break;
129 case 5: _t->fetchExtendedInformation((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
130 case 6: _t->updateFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
131 case 7: _t->setResolveSymlinks((*reinterpret_cast< bool(*)>(_a[1]))); break;
132 case 8: _t->setIconProvider((*reinterpret_cast< QAbstractFileIconProvider*(*)>(_a[1]))); break;
133 case 9: _t->driveAdded(); break;
134 case 10: _t->driveRemoved(); break;
135 default: ;
136 }
137 } else if (_c == QMetaObject::IndexOfMethod) {
138 int *result = reinterpret_cast<int *>(_a[0]);
139 {
140 using _t = void (QFileInfoGatherer::*)(const QString & , const QList<QPair<QString,QFileInfo>> & );
141 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFileInfoGatherer::updates)) {
142 *result = 0;
143 return;
144 }
145 }
146 {
147 using _t = void (QFileInfoGatherer::*)(const QString & , const QStringList & ) const;
148 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFileInfoGatherer::newListOfFiles)) {
149 *result = 1;
150 return;
151 }
152 }
153 {
154 using _t = void (QFileInfoGatherer::*)(const QString & , const QString & ) const;
155 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFileInfoGatherer::nameResolved)) {
156 *result = 2;
157 return;
158 }
159 }
160 {
161 using _t = void (QFileInfoGatherer::*)(const QString & );
162 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFileInfoGatherer::directoryLoaded)) {
163 *result = 3;
164 return;
165 }
166 }
167 }
168}
169
170const QMetaObject QFileInfoGatherer::staticMetaObject = { {
171 QMetaObject::SuperData::link<QThread::staticMetaObject>(),
172 qt_meta_stringdata_QFileInfoGatherer.offsetsAndSize,
173 qt_meta_data_QFileInfoGatherer,
174 qt_static_metacall,
175 nullptr,
176qt_incomplete_metaTypeArray<qt_meta_stringdata_QFileInfoGatherer_t
177, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QPair<QString,QFileInfo>> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
178, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractFileIconProvider *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
179
180
181>,
182 nullptr
183} };
184
185
186const QMetaObject *QFileInfoGatherer::metaObject() const
187{
188 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
189}
190
191void *QFileInfoGatherer::qt_metacast(const char *_clname)
192{
193 if (!_clname) return nullptr;
194 if (!strcmp(_clname, qt_meta_stringdata_QFileInfoGatherer.stringdata0))
195 return static_cast<void*>(this);
196 return QThread::qt_metacast(_clname);
197}
198
199int QFileInfoGatherer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
200{
201 _id = QThread::qt_metacall(_c, _id, _a);
202 if (_id < 0)
203 return _id;
204 if (_c == QMetaObject::InvokeMetaMethod) {
205 if (_id < 11)
206 qt_static_metacall(this, _c, _id, _a);
207 _id -= 11;
208 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
209 if (_id < 11)
210 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
211 _id -= 11;
212 }
213 return _id;
214}
215
216// SIGNAL 0
217void QFileInfoGatherer::updates(const QString & _t1, const QList<QPair<QString,QFileInfo>> & _t2)
218{
219 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
220 QMetaObject::activate(this, &staticMetaObject, 0, _a);
221}
222
223// SIGNAL 1
224void QFileInfoGatherer::newListOfFiles(const QString & _t1, const QStringList & _t2)const
225{
226 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
227 QMetaObject::activate(const_cast< QFileInfoGatherer *>(this), &staticMetaObject, 1, _a);
228}
229
230// SIGNAL 2
231void QFileInfoGatherer::nameResolved(const QString & _t1, const QString & _t2)const
232{
233 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
234 QMetaObject::activate(const_cast< QFileInfoGatherer *>(this), &staticMetaObject, 2, _a);
235}
236
237// SIGNAL 3
238void QFileInfoGatherer::directoryLoaded(const QString & _t1)
239{
240 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
241 QMetaObject::activate(this, &staticMetaObject, 3, _a);
242}
243QT_WARNING_POP
244QT_END_MOC_NAMESPACE
245