edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
moc_textlinedata.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'textlinedata.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.6.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'textlinedata.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.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSedbeeSCOPETextLineDataManagerENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSedbeeSCOPETextLineDataManagerENDCLASS = QtMocHelpers::stringData(
41 "edbee::TextLineDataManager",
42 "lineDataChanged",
43 "",
44 "line",
45 "length",
46 "newLength"
47);
48#else // !QT_MOC_HAS_STRING_DATA
58#define QT_MOC_LITERAL(ofs, len) \
59 uint(sizeof(qt_meta_stringdata_CLASSedbeeSCOPETextLineDataManagerENDCLASS_t::offsetsAndSizes) + ofs), len
60Q_CONSTINIT static const qt_meta_stringdata_CLASSedbeeSCOPETextLineDataManagerENDCLASS_t qt_meta_stringdata_CLASSedbeeSCOPETextLineDataManagerENDCLASS = {
61 {
62 QT_MOC_LITERAL(0, 26), // "edbee::TextLineDataManager"
63 QT_MOC_LITERAL(27, 15), // "lineDataChanged"
64 QT_MOC_LITERAL(43, 0), // ""
65 QT_MOC_LITERAL(44, 4), // "line"
66 QT_MOC_LITERAL(49, 6), // "length"
67 QT_MOC_LITERAL(56, 9) // "newLength"
68 },
69 "edbee::TextLineDataManager",
70 "lineDataChanged",
71 "",
72 "line",
73 "length",
74 "newLength"
75};
76#undef QT_MOC_LITERAL
77#endif // !QT_MOC_HAS_STRING_DATA
78} // unnamed namespace
79
80Q_CONSTINIT static const uint qt_meta_data_CLASSedbeeSCOPETextLineDataManagerENDCLASS[] = {
81
82 // content:
83 12, // revision
84 0, // classname
85 0, 0, // classinfo
86 1, 14, // methods
87 0, 0, // properties
88 0, 0, // enums/sets
89 0, 0, // constructors
90 0, // flags
91 1, // signalCount
92
93 // signals: name, argc, parameters, tag, flags, initial metatype offsets
94 1, 3, 20, 2, 0x06, 1 /* Public */,
95
96 // signals: parameters
97 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
98
99 0 // eod
100};
101
102Q_CONSTINIT const QMetaObject edbee::TextLineDataManager::staticMetaObject = { {
103 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
104 qt_meta_stringdata_CLASSedbeeSCOPETextLineDataManagerENDCLASS.offsetsAndSizes,
105 qt_meta_data_CLASSedbeeSCOPETextLineDataManagerENDCLASS,
106 qt_static_metacall,
107 nullptr,
108 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSedbeeSCOPETextLineDataManagerENDCLASS_t,
109 // Q_OBJECT / Q_GADGET
110 QtPrivate::TypeAndForceComplete<TextLineDataManager, std::true_type>,
111 // method 'lineDataChanged'
112 QtPrivate::TypeAndForceComplete<void, std::false_type>,
113 QtPrivate::TypeAndForceComplete<int, std::false_type>,
114 QtPrivate::TypeAndForceComplete<int, std::false_type>,
115 QtPrivate::TypeAndForceComplete<int, std::false_type>
116 >,
117 nullptr
118} };
119
120void edbee::TextLineDataManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
121{
122 if (_c == QMetaObject::InvokeMetaMethod) {
123 auto *_t = static_cast<TextLineDataManager *>(_o);
124 (void)_t;
125 switch (_id) {
126 case 0: _t->lineDataChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
127 default: ;
128 }
129 } else if (_c == QMetaObject::IndexOfMethod) {
130 int *result = reinterpret_cast<int *>(_a[0]);
131 {
132 using _t = void (TextLineDataManager::*)(int , int , int );
133 if (_t _q_method = &TextLineDataManager::lineDataChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
134 *result = 0;
135 return;
136 }
137 }
138 }
139}
140
141const QMetaObject *edbee::TextLineDataManager::metaObject() const
142{
143 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
144}
145
146void *edbee::TextLineDataManager::qt_metacast(const char *_clname)
147{
148 if (!_clname) return nullptr;
149 if (!strcmp(_clname, qt_meta_stringdata_CLASSedbeeSCOPETextLineDataManagerENDCLASS.stringdata0))
150 return static_cast<void*>(this);
151 return QObject::qt_metacast(_clname);
152}
153
154int edbee::TextLineDataManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
155{
156 _id = QObject::qt_metacall(_c, _id, _a);
157 if (_id < 0)
158 return _id;
159 if (_c == QMetaObject::InvokeMetaMethod) {
160 if (_id < 1)
161 qt_static_metacall(this, _c, _id, _a);
162 _id -= 1;
163 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
164 if (_id < 1)
165 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
166 _id -= 1;
167 }
168 return _id;
169}
170
171// SIGNAL 0
172void edbee::TextLineDataManager::lineDataChanged(int _t1, int _t2, int _t3)
173{
174 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
175 QMetaObject::activate(this, &staticMetaObject, 0, _a);
176}
177QT_WARNING_POP
TextLineDataManager(int fieldsPerLine=PredefinedFieldCount)
Definition textlinedata.cpp:109
void lineDataChanged(int line, int length, int newLength)
This signal is emitted if line-data is changed.
Definition moc_textlinedata.cpp:172
#define Q_CONSTINIT
Definition moc_texteditorscrollarea.cpp:30
#define QT_MOC_LITERAL(ofs, len)
Definition moc_textlinedata.cpp:58
Definition moc_texteditorscrollarea.cpp:36