10#include <QtCore/qmetatype.h>
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'textdocumentscopes.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.3. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
35QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSedbeeSCOPETextDocumentScopesENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSedbeeSCOPETextDocumentScopesENDCLASS = QtMocHelpers::stringData(
41 "edbee::TextDocumentScopes",
42 "lastScopedOffsetChanged",
58#define QT_MOC_LITERAL(ofs, len) \
59 uint(sizeof(qt_meta_stringdata_CLASSedbeeSCOPETextDocumentScopesENDCLASS_t::offsetsAndSizes) + ofs), len
58#define QT_MOC_LITERAL(ofs, len) \ …
60Q_CONSTINIT static const qt_meta_stringdata_CLASSedbeeSCOPETextDocumentScopesENDCLASS_t qt_meta_stringdata_CLASSedbeeSCOPETextDocumentScopesENDCLASS = {
69 "edbee::TextDocumentScopes",
70 "lastScopedOffsetChanged",
80Q_CONSTINIT static const uint qt_meta_data_CLASSedbeeSCOPETextDocumentScopesENDCLASS[] = {
94 1, 2, 26, 2, 0x06, 1 ,
97 5, 0, 31, 2, 0x09, 4 ,
100 QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
108Q_CONSTINIT const QMetaObject edbee::TextDocumentScopes::staticMetaObject = { {
109 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
110 qt_meta_stringdata_CLASSedbeeSCOPETextDocumentScopesENDCLASS.
offsetsAndSizes,
111 qt_meta_data_CLASSedbeeSCOPETextDocumentScopesENDCLASS,
114 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSedbeeSCOPETextDocumentScopesENDCLASS_t,
116 QtPrivate::TypeAndForceComplete<TextDocumentScopes, std::true_type>,
118 QtPrivate::TypeAndForceComplete<void, std::false_type>,
119 QtPrivate::TypeAndForceComplete<int, std::false_type>,
120 QtPrivate::TypeAndForceComplete<int, std::false_type>,
122 QtPrivate::TypeAndForceComplete<void, std::false_type>
127void edbee::TextDocumentScopes::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
129 if (_c == QMetaObject::InvokeMetaMethod) {
133 case 0: _t->lastScopedOffsetChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
134 case 1: _t->grammarChanged();
break;
137 }
else if (_c == QMetaObject::IndexOfMethod) {
138 int *result =
reinterpret_cast<int *
>(_a[0]);
149const QMetaObject *edbee::TextDocumentScopes::metaObject()
const
151 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
154void *edbee::TextDocumentScopes::qt_metacast(
const char *_clname)
156 if (!_clname)
return nullptr;
157 if (!strcmp(_clname, qt_meta_stringdata_CLASSedbeeSCOPETextDocumentScopesENDCLASS.
stringdata0))
158 return static_cast<void*
>(
this);
159 return QObject::qt_metacast(_clname);
162int edbee::TextDocumentScopes::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
164 _id = QObject::qt_metacall(_c, _id, _a);
167 if (_c == QMetaObject::InvokeMetaMethod) {
169 qt_static_metacall(
this, _c, _id, _a);
171 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
173 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
182 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
183 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
void lastScopedOffsetChanged(int previousOffset, int lastScopedOffset)
Definition moc_textdocumentscopes.cpp:180
TextDocumentScopes(TextDocument *textDocument)
The constructor for storing/managing the textdocument scopes.
Definition textdocumentscopes.cpp:768
#define QT_MOC_LITERAL(ofs, len)
Definition moc_textdocumentscopes.cpp:58
#define Q_CONSTINIT
Definition moc_texteditorscrollarea.cpp:30
Definition moc_texteditorscrollarea.cpp:36