1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qsyntaxhighlighter.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 "text/qsyntaxhighlighter.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qsyntaxhighlighter.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 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QSyntaxHighlighter_t { |
25 | const uint offsetsAndSize[22]; |
26 | char stringdata0[135]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QSyntaxHighlighter_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QSyntaxHighlighter_t qt_meta_stringdata_QSyntaxHighlighter = { |
31 | { |
32 | QT_MOC_LITERAL(0, 18), // "QSyntaxHighlighter" |
33 | QT_MOC_LITERAL(19, 11), // "rehighlight" |
34 | QT_MOC_LITERAL(31, 0), // "" |
35 | QT_MOC_LITERAL(32, 16), // "rehighlightBlock" |
36 | QT_MOC_LITERAL(49, 10), // "QTextBlock" |
37 | QT_MOC_LITERAL(60, 5), // "block" |
38 | QT_MOC_LITERAL(66, 17), // "_q_reformatBlocks" |
39 | QT_MOC_LITERAL(84, 4), // "from" |
40 | QT_MOC_LITERAL(89, 12), // "charsRemoved" |
41 | QT_MOC_LITERAL(102, 10), // "charsAdded" |
42 | QT_MOC_LITERAL(113, 21) // "_q_delayedRehighlight" |
43 | |
44 | }, |
45 | "QSyntaxHighlighter\0rehighlight\0\0" |
46 | "rehighlightBlock\0QTextBlock\0block\0" |
47 | "_q_reformatBlocks\0from\0charsRemoved\0" |
48 | "charsAdded\0_q_delayedRehighlight" |
49 | }; |
50 | #undef QT_MOC_LITERAL |
51 | |
52 | static const uint qt_meta_data_QSyntaxHighlighter[] = { |
53 | |
54 | // content: |
55 | 9, // revision |
56 | 0, // classname |
57 | 0, 0, // classinfo |
58 | 4, 14, // methods |
59 | 0, 0, // properties |
60 | 0, 0, // enums/sets |
61 | 0, 0, // constructors |
62 | 0, // flags |
63 | 0, // signalCount |
64 | |
65 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
66 | 1, 0, 38, 2, 0x0a, 0 /* Public */, |
67 | 3, 1, 39, 2, 0x0a, 1 /* Public */, |
68 | 6, 3, 42, 2, 0x08, 3 /* Private */, |
69 | 10, 0, 49, 2, 0x08, 7 /* Private */, |
70 | |
71 | // slots: parameters |
72 | QMetaType::Void, |
73 | QMetaType::Void, 0x80000000 | 4, 5, |
74 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 7, 8, 9, |
75 | QMetaType::Void, |
76 | |
77 | 0 // eod |
78 | }; |
79 | |
80 | void QSyntaxHighlighter::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<QSyntaxHighlighter *>(_o); |
85 | Q_UNUSED(_t) |
86 | switch (_id) { |
87 | case 0: _t->rehighlight(); break; |
88 | case 1: _t->rehighlightBlock((*reinterpret_cast< const QTextBlock(*)>(_a[1]))); break; |
89 | case 2: _t->d_func()->_q_reformatBlocks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
90 | case 3: _t->d_func()->_q_delayedRehighlight(); break; |
91 | default: ; |
92 | } |
93 | } |
94 | } |
95 | |
96 | const QMetaObject QSyntaxHighlighter::staticMetaObject = { { |
97 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
98 | qt_meta_stringdata_QSyntaxHighlighter.offsetsAndSize, |
99 | qt_meta_data_QSyntaxHighlighter, |
100 | qt_static_metacall, |
101 | nullptr, |
102 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QSyntaxHighlighter_t |
103 | |
104 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTextBlock &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
105 | |
106 | |
107 | >, |
108 | nullptr |
109 | } }; |
110 | |
111 | |
112 | const QMetaObject *QSyntaxHighlighter::metaObject() const |
113 | { |
114 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
115 | } |
116 | |
117 | void *QSyntaxHighlighter::qt_metacast(const char *_clname) |
118 | { |
119 | if (!_clname) return nullptr; |
120 | if (!strcmp(_clname, qt_meta_stringdata_QSyntaxHighlighter.stringdata0)) |
121 | return static_cast<void*>(this); |
122 | return QObject::qt_metacast(_clname); |
123 | } |
124 | |
125 | int QSyntaxHighlighter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
126 | { |
127 | _id = QObject::qt_metacall(_c, _id, _a); |
128 | if (_id < 0) |
129 | return _id; |
130 | if (_c == QMetaObject::InvokeMetaMethod) { |
131 | if (_id < 4) |
132 | qt_static_metacall(this, _c, _id, _a); |
133 | _id -= 4; |
134 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
135 | if (_id < 4) |
136 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
137 | _id -= 4; |
138 | } |
139 | return _id; |
140 | } |
141 | QT_WARNING_POP |
142 | QT_END_MOC_NAMESPACE |
143 | |