1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'HistorySearch.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.7) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "../../../../3rdparty/unioncode-qtermwidget-0.14.1/lib/HistorySearch.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'HistorySearch.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 67 |
16 | #error "This file was generated using the moc from 5.15.7. 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_HistorySearch_t { |
25 | QByteArrayData data[8]; |
26 | char stringdata0[79]; |
27 | }; |
28 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
30 | qptrdiff(offsetof(qt_meta_stringdata_HistorySearch_t, stringdata0) + ofs \ |
31 | - idx * sizeof(QByteArrayData)) \ |
32 | ) |
33 | static const qt_meta_stringdata_HistorySearch_t qt_meta_stringdata_HistorySearch = { |
34 | { |
35 | QT_MOC_LITERAL(0, 0, 13), // "HistorySearch" |
36 | QT_MOC_LITERAL(1, 14, 10), // "matchFound" |
37 | QT_MOC_LITERAL(2, 25, 0), // "" |
38 | QT_MOC_LITERAL(3, 26, 11), // "startColumn" |
39 | QT_MOC_LITERAL(4, 38, 9), // "startLine" |
40 | QT_MOC_LITERAL(5, 48, 9), // "endColumn" |
41 | QT_MOC_LITERAL(6, 58, 7), // "endLine" |
42 | QT_MOC_LITERAL(7, 66, 12) // "noMatchFound" |
43 | |
44 | }, |
45 | "HistorySearch\0matchFound\0\0startColumn\0" |
46 | "startLine\0endColumn\0endLine\0noMatchFound" |
47 | }; |
48 | #undef QT_MOC_LITERAL |
49 | |
50 | static const uint qt_meta_data_HistorySearch[] = { |
51 | |
52 | // content: |
53 | 8, // revision |
54 | 0, // classname |
55 | 0, 0, // classinfo |
56 | 2, 14, // methods |
57 | 0, 0, // properties |
58 | 0, 0, // enums/sets |
59 | 0, 0, // constructors |
60 | 0, // flags |
61 | 2, // signalCount |
62 | |
63 | // signals: name, argc, parameters, tag, flags |
64 | 1, 4, 24, 2, 0x06 /* Public */, |
65 | 7, 0, 33, 2, 0x06 /* Public */, |
66 | |
67 | // signals: parameters |
68 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5, 6, |
69 | QMetaType::Void, |
70 | |
71 | 0 // eod |
72 | }; |
73 | |
74 | void HistorySearch::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
75 | { |
76 | if (_c == QMetaObject::InvokeMetaMethod) { |
77 | auto *_t = static_cast<HistorySearch *>(_o); |
78 | (void)_t; |
79 | switch (_id) { |
80 | case 0: _t->matchFound((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; |
81 | case 1: _t->noMatchFound(); break; |
82 | default: ; |
83 | } |
84 | } else if (_c == QMetaObject::IndexOfMethod) { |
85 | int *result = reinterpret_cast<int *>(_a[0]); |
86 | { |
87 | using _t = void (HistorySearch::*)(int , int , int , int ); |
88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HistorySearch::matchFound)) { |
89 | *result = 0; |
90 | return; |
91 | } |
92 | } |
93 | { |
94 | using _t = void (HistorySearch::*)(); |
95 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HistorySearch::noMatchFound)) { |
96 | *result = 1; |
97 | return; |
98 | } |
99 | } |
100 | } |
101 | } |
102 | |
103 | QT_INIT_METAOBJECT const QMetaObject HistorySearch::staticMetaObject = { { |
104 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
105 | qt_meta_stringdata_HistorySearch.data, |
106 | qt_meta_data_HistorySearch, |
107 | qt_static_metacall, |
108 | nullptr, |
109 | nullptr |
110 | } }; |
111 | |
112 | |
113 | const QMetaObject *HistorySearch::metaObject() const |
114 | { |
115 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
116 | } |
117 | |
118 | void *HistorySearch::qt_metacast(const char *_clname) |
119 | { |
120 | if (!_clname) return nullptr; |
121 | if (!strcmp(_clname, qt_meta_stringdata_HistorySearch.stringdata0)) |
122 | return static_cast<void*>(this); |
123 | return QObject::qt_metacast(_clname); |
124 | } |
125 | |
126 | int HistorySearch::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
127 | { |
128 | _id = QObject::qt_metacall(_c, _id, _a); |
129 | if (_id < 0) |
130 | return _id; |
131 | if (_c == QMetaObject::InvokeMetaMethod) { |
132 | if (_id < 2) |
133 | qt_static_metacall(this, _c, _id, _a); |
134 | _id -= 2; |
135 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
136 | if (_id < 2) |
137 | *reinterpret_cast<int*>(_a[0]) = -1; |
138 | _id -= 2; |
139 | } |
140 | return _id; |
141 | } |
142 | |
143 | // SIGNAL 0 |
144 | void HistorySearch::matchFound(int _t1, int _t2, int _t3, int _t4) |
145 | { |
146 | 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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) }; |
147 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
148 | } |
149 | |
150 | // SIGNAL 1 |
151 | void HistorySearch::noMatchFound() |
152 | { |
153 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
154 | } |
155 | QT_WARNING_POP |
156 | QT_END_MOC_NAMESPACE |
157 | |