edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
moc_textsearcher.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'textsearcher.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 'textsearcher.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_CLASSedbeeSCOPETextSearcherENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSedbeeSCOPETextSearcherENDCLASS = QtMocHelpers::stringData(
41 "edbee::TextSearcher",
42 "findNext",
43 "",
44 "TextEditorWidget*",
45 "widget",
46 "findPrev",
47 "selectNext",
48 "selectPrev",
49 "selectAll",
50 "selectUnderExpand",
51 "selectAllTexts"
52);
53#else // !QT_MOC_HAS_STRING_DATA
68#define QT_MOC_LITERAL(ofs, len) \
69 uint(sizeof(qt_meta_stringdata_CLASSedbeeSCOPETextSearcherENDCLASS_t::offsetsAndSizes) + ofs), len
70Q_CONSTINIT static const qt_meta_stringdata_CLASSedbeeSCOPETextSearcherENDCLASS_t qt_meta_stringdata_CLASSedbeeSCOPETextSearcherENDCLASS = {
71 {
72 QT_MOC_LITERAL(0, 19), // "edbee::TextSearcher"
73 QT_MOC_LITERAL(20, 8), // "findNext"
74 QT_MOC_LITERAL(29, 0), // ""
75 QT_MOC_LITERAL(30, 17), // "TextEditorWidget*"
76 QT_MOC_LITERAL(48, 6), // "widget"
77 QT_MOC_LITERAL(55, 8), // "findPrev"
78 QT_MOC_LITERAL(64, 10), // "selectNext"
79 QT_MOC_LITERAL(75, 10), // "selectPrev"
80 QT_MOC_LITERAL(86, 9), // "selectAll"
81 QT_MOC_LITERAL(96, 17), // "selectUnderExpand"
82 QT_MOC_LITERAL(114, 14) // "selectAllTexts"
83 },
84 "edbee::TextSearcher",
85 "findNext",
86 "",
87 "TextEditorWidget*",
88 "widget",
89 "findPrev",
90 "selectNext",
91 "selectPrev",
92 "selectAll",
93 "selectUnderExpand",
94 "selectAllTexts"
95};
96#undef QT_MOC_LITERAL
97#endif // !QT_MOC_HAS_STRING_DATA
98} // unnamed namespace
99
100Q_CONSTINIT static const uint qt_meta_data_CLASSedbeeSCOPETextSearcherENDCLASS[] = {
101
102 // content:
103 12, // revision
104 0, // classname
105 0, 0, // classinfo
106 6, 14, // methods
107 0, 0, // properties
108 0, 0, // enums/sets
109 0, 0, // constructors
110 0, // flags
111 0, // signalCount
112
113 // slots: name, argc, parameters, tag, flags, initial metatype offsets
114 1, 1, 50, 2, 0x0a, 1 /* Public */,
115 5, 1, 53, 2, 0x0a, 3 /* Public */,
116 6, 1, 56, 2, 0x0a, 5 /* Public */,
117 7, 1, 59, 2, 0x0a, 7 /* Public */,
118 8, 1, 62, 2, 0x0a, 9 /* Public */,
119 9, 2, 65, 2, 0x0a, 11 /* Public */,
120
121 // slots: parameters
122 QMetaType::Bool, 0x80000000 | 3, 4,
123 QMetaType::Bool, 0x80000000 | 3, 4,
124 QMetaType::Bool, 0x80000000 | 3, 4,
125 QMetaType::Bool, 0x80000000 | 3, 4,
126 QMetaType::Bool, 0x80000000 | 3, 4,
127 QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 10,
128
129 0 // eod
130};
131
132Q_CONSTINIT const QMetaObject edbee::TextSearcher::staticMetaObject = { {
133 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
134 qt_meta_stringdata_CLASSedbeeSCOPETextSearcherENDCLASS.offsetsAndSizes,
135 qt_meta_data_CLASSedbeeSCOPETextSearcherENDCLASS,
136 qt_static_metacall,
137 nullptr,
138 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSedbeeSCOPETextSearcherENDCLASS_t,
139 // Q_OBJECT / Q_GADGET
140 QtPrivate::TypeAndForceComplete<TextSearcher, std::true_type>,
141 // method 'findNext'
142 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
143 QtPrivate::TypeAndForceComplete<TextEditorWidget *, std::false_type>,
144 // method 'findPrev'
145 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
146 QtPrivate::TypeAndForceComplete<TextEditorWidget *, std::false_type>,
147 // method 'selectNext'
148 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
149 QtPrivate::TypeAndForceComplete<TextEditorWidget *, std::false_type>,
150 // method 'selectPrev'
151 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
152 QtPrivate::TypeAndForceComplete<TextEditorWidget *, std::false_type>,
153 // method 'selectAll'
154 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
155 QtPrivate::TypeAndForceComplete<TextEditorWidget *, std::false_type>,
156 // method 'selectUnderExpand'
157 QtPrivate::TypeAndForceComplete<void, std::false_type>,
158 QtPrivate::TypeAndForceComplete<TextEditorWidget *, std::false_type>,
159 QtPrivate::TypeAndForceComplete<bool, std::false_type>
160 >,
161 nullptr
162} };
163
164void edbee::TextSearcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
165{
166 if (_c == QMetaObject::InvokeMetaMethod) {
167 auto *_t = static_cast<TextSearcher *>(_o);
168 (void)_t;
169 switch (_id) {
170 case 0: { bool _r = _t->findNext((*reinterpret_cast< std::add_pointer_t<TextEditorWidget*>>(_a[1])));
171 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
172 case 1: { bool _r = _t->findPrev((*reinterpret_cast< std::add_pointer_t<TextEditorWidget*>>(_a[1])));
173 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
174 case 2: { bool _r = _t->selectNext((*reinterpret_cast< std::add_pointer_t<TextEditorWidget*>>(_a[1])));
175 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
176 case 3: { bool _r = _t->selectPrev((*reinterpret_cast< std::add_pointer_t<TextEditorWidget*>>(_a[1])));
177 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
178 case 4: { bool _r = _t->selectAll((*reinterpret_cast< std::add_pointer_t<TextEditorWidget*>>(_a[1])));
179 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
180 case 5: _t->selectUnderExpand((*reinterpret_cast< std::add_pointer_t<TextEditorWidget*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
181 default: ;
182 }
183 }
184}
185
186const QMetaObject *edbee::TextSearcher::metaObject() const
187{
188 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
189}
190
191void *edbee::TextSearcher::qt_metacast(const char *_clname)
192{
193 if (!_clname) return nullptr;
194 if (!strcmp(_clname, qt_meta_stringdata_CLASSedbeeSCOPETextSearcherENDCLASS.stringdata0))
195 return static_cast<void*>(this);
196 return QObject::qt_metacast(_clname);
197}
198
199int edbee::TextSearcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
200{
201 _id = QObject::qt_metacall(_c, _id, _a);
202 if (_id < 0)
203 return _id;
204 if (_c == QMetaObject::InvokeMetaMethod) {
205 if (_id < 6)
206 qt_static_metacall(this, _c, _id, _a);
207 _id -= 6;
208 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
209 if (_id < 6)
210 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
211 _id -= 6;
212 }
213 return _id;
214}
215QT_WARNING_POP
TextSearcher(QObject *parent=0)
Definition textsearcher.cpp:19
#define Q_CONSTINIT
Definition moc_texteditorscrollarea.cpp:30
#define QT_MOC_LITERAL(ofs, len)
Definition moc_textsearcher.cpp:68
Definition moc_texteditorscrollarea.cpp:36