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