1/****************************************************************************
2** Meta object code from reading C++ file 'textedit.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 "textedit.h"
11#include <QtGui/qtextcursor.h>
12#include <QtCore/qbytearray.h>
13#include <QtCore/qmetatype.h>
14#if !defined(Q_MOC_OUTPUT_REVISION)
15#error "The header file 'textedit.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_TextEdit_t {
26 const uint offsetsAndSize[8];
27 char stringdata0[38];
28};
29#define QT_MOC_LITERAL(ofs, len) \
30 uint(offsetof(qt_meta_stringdata_TextEdit_t, stringdata0) + ofs), len
31static const qt_meta_stringdata_TextEdit_t qt_meta_stringdata_TextEdit = {
32 {
33QT_MOC_LITERAL(0, 8), // "TextEdit"
34QT_MOC_LITERAL(9, 16), // "insertCompletion"
35QT_MOC_LITERAL(26, 0), // ""
36QT_MOC_LITERAL(27, 10) // "completion"
37
38 },
39 "TextEdit\0insertCompletion\0\0completion"
40};
41#undef QT_MOC_LITERAL
42
43static const uint qt_meta_data_TextEdit[] = {
44
45 // content:
46 9, // revision
47 0, // classname
48 0, 0, // classinfo
49 1, 14, // methods
50 0, 0, // 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, 0x08, 0 /* Private */,
58
59 // slots: parameters
60 QMetaType::Void, QMetaType::QString, 3,
61
62 0 // eod
63};
64
65void TextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
66{
67 if (_c == QMetaObject::InvokeMetaMethod) {
68 Q_ASSERT(staticMetaObject.cast(_o));
69 auto *_t = static_cast<TextEdit *>(_o);
70 Q_UNUSED(_t)
71 switch (_id) {
72 case 0: _t->insertCompletion((*reinterpret_cast< const QString(*)>(_a[1]))); break;
73 default: ;
74 }
75 }
76}
77
78const QMetaObject TextEdit::staticMetaObject = { {
79 QMetaObject::SuperData::link<QTextEdit::staticMetaObject>(),
80 qt_meta_stringdata_TextEdit.offsetsAndSize,
81 qt_meta_data_TextEdit,
82 qt_static_metacall,
83 nullptr,
84qt_incomplete_metaTypeArray<qt_meta_stringdata_TextEdit_t
85
86, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
87
88
89>,
90 nullptr
91} };
92
93
94const QMetaObject *TextEdit::metaObject() const
95{
96 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
97}
98
99void *TextEdit::qt_metacast(const char *_clname)
100{
101 if (!_clname) return nullptr;
102 if (!strcmp(_clname, qt_meta_stringdata_TextEdit.stringdata0))
103 return static_cast<void*>(this);
104 return QTextEdit::qt_metacast(_clname);
105}
106
107int TextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
108{
109 _id = QTextEdit::qt_metacall(_c, _id, _a);
110 if (_id < 0)
111 return _id;
112 if (_c == QMetaObject::InvokeMetaMethod) {
113 if (_id < 1)
114 qt_static_metacall(this, _c, _id, _a);
115 _id -= 1;
116 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
117 if (_id < 1)
118 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
119 _id -= 1;
120 }
121 return _id;
122}
123QT_WARNING_POP
124QT_END_MOC_NAMESPACE
125