1/****************************************************************************
2** Meta object code from reading C++ file 'qfilesystemwatcher.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 "io/qfilesystemwatcher.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qfilesystemwatcher.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_QFileSystemWatcher_t {
25 const uint offsetsAndSize[16];
26 char stringdata0[97];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QFileSystemWatcher_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QFileSystemWatcher_t qt_meta_stringdata_QFileSystemWatcher = {
31 {
32QT_MOC_LITERAL(0, 18), // "QFileSystemWatcher"
33QT_MOC_LITERAL(19, 11), // "fileChanged"
34QT_MOC_LITERAL(31, 0), // ""
35QT_MOC_LITERAL(32, 4), // "path"
36QT_MOC_LITERAL(37, 16), // "directoryChanged"
37QT_MOC_LITERAL(54, 14), // "_q_fileChanged"
38QT_MOC_LITERAL(69, 7), // "removed"
39QT_MOC_LITERAL(77, 19) // "_q_directoryChanged"
40
41 },
42 "QFileSystemWatcher\0fileChanged\0\0path\0"
43 "directoryChanged\0_q_fileChanged\0removed\0"
44 "_q_directoryChanged"
45};
46#undef QT_MOC_LITERAL
47
48static const uint qt_meta_data_QFileSystemWatcher[] = {
49
50 // content:
51 9, // revision
52 0, // classname
53 0, 0, // classinfo
54 4, 14, // methods
55 0, 0, // properties
56 0, 0, // enums/sets
57 0, 0, // constructors
58 0, // flags
59 2, // signalCount
60
61 // signals: name, argc, parameters, tag, flags, initial metatype offsets
62 1, 1, 38, 2, 0x06, 0 /* Public */,
63 4, 1, 41, 2, 0x06, 2 /* Public */,
64
65 // slots: name, argc, parameters, tag, flags, initial metatype offsets
66 5, 2, 44, 2, 0x08, 4 /* Private */,
67 7, 2, 49, 2, 0x08, 7 /* Private */,
68
69 // signals: parameters
70 QMetaType::Void, QMetaType::QString, 3,
71 QMetaType::Void, QMetaType::QString, 3,
72
73 // slots: parameters
74 QMetaType::Void, QMetaType::QString, QMetaType::Bool, 3, 6,
75 QMetaType::Void, QMetaType::QString, QMetaType::Bool, 3, 6,
76
77 0 // eod
78};
79
80void QFileSystemWatcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
81{
82 if (_c == QMetaObject::InvokeMetaMethod) {
83 Q_ASSERT(staticMetaObject.cast(_o));
84 auto *_t = static_cast<QFileSystemWatcher *>(_o);
85 Q_UNUSED(_t)
86 switch (_id) {
87 case 0: _t->fileChanged((*reinterpret_cast< const QString(*)>(_a[1])), QPrivateSignal()); break;
88 case 1: _t->directoryChanged((*reinterpret_cast< const QString(*)>(_a[1])), QPrivateSignal()); break;
89 case 2: _t->d_func()->_q_fileChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
90 case 3: _t->d_func()->_q_directoryChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
91 default: ;
92 }
93 } else if (_c == QMetaObject::IndexOfMethod) {
94 int *result = reinterpret_cast<int *>(_a[0]);
95 {
96 using _t = void (QFileSystemWatcher::*)(const QString & , QPrivateSignal);
97 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFileSystemWatcher::fileChanged)) {
98 *result = 0;
99 return;
100 }
101 }
102 {
103 using _t = void (QFileSystemWatcher::*)(const QString & , QPrivateSignal);
104 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QFileSystemWatcher::directoryChanged)) {
105 *result = 1;
106 return;
107 }
108 }
109 }
110}
111
112const QMetaObject QFileSystemWatcher::staticMetaObject = { {
113 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
114 qt_meta_stringdata_QFileSystemWatcher.offsetsAndSize,
115 qt_meta_data_QFileSystemWatcher,
116 qt_static_metacall,
117 nullptr,
118qt_incomplete_metaTypeArray<qt_meta_stringdata_QFileSystemWatcher_t
119, 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>
120, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>
121
122
123>,
124 nullptr
125} };
126
127
128const QMetaObject *QFileSystemWatcher::metaObject() const
129{
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131}
132
133void *QFileSystemWatcher::qt_metacast(const char *_clname)
134{
135 if (!_clname) return nullptr;
136 if (!strcmp(_clname, qt_meta_stringdata_QFileSystemWatcher.stringdata0))
137 return static_cast<void*>(this);
138 return QObject::qt_metacast(_clname);
139}
140
141int QFileSystemWatcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142{
143 _id = QObject::qt_metacall(_c, _id, _a);
144 if (_id < 0)
145 return _id;
146 if (_c == QMetaObject::InvokeMetaMethod) {
147 if (_id < 4)
148 qt_static_metacall(this, _c, _id, _a);
149 _id -= 4;
150 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151 if (_id < 4)
152 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
153 _id -= 4;
154 }
155 return _id;
156}
157
158// SIGNAL 0
159void QFileSystemWatcher::fileChanged(const QString & _t1, QPrivateSignal _t2)
160{
161 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
162 QMetaObject::activate(this, &staticMetaObject, 0, _a);
163}
164
165// SIGNAL 1
166void QFileSystemWatcher::directoryChanged(const QString & _t1, QPrivateSignal _t2)
167{
168 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
169 QMetaObject::activate(this, &staticMetaObject, 1, _a);
170}
171QT_WARNING_POP
172QT_END_MOC_NAMESPACE
173