| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'SearchBar.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/SearchBar.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'SearchBar.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_SearchBar_t { |
| 25 | QByteArrayData data[9]; |
| 26 | char stringdata0[130]; |
| 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_SearchBar_t, stringdata0) + ofs \ |
| 31 | - idx * sizeof(QByteArrayData)) \ |
| 32 | ) |
| 33 | static const qt_meta_stringdata_SearchBar_t qt_meta_stringdata_SearchBar = { |
| 34 | { |
| 35 | QT_MOC_LITERAL(0, 0, 9), // "SearchBar" |
| 36 | QT_MOC_LITERAL(1, 10, 21), // "searchCriteriaChanged" |
| 37 | QT_MOC_LITERAL(2, 32, 0), // "" |
| 38 | QT_MOC_LITERAL(3, 33, 23), // "highlightMatchesChanged" |
| 39 | QT_MOC_LITERAL(4, 57, 16), // "highlightMatches" |
| 40 | QT_MOC_LITERAL(5, 74, 8), // "findNext" |
| 41 | QT_MOC_LITERAL(6, 83, 12), // "findPrevious" |
| 42 | QT_MOC_LITERAL(7, 96, 12), // "noMatchFound" |
| 43 | QT_MOC_LITERAL(8, 109, 20) // "clearBackgroundColor" |
| 44 | |
| 45 | }, |
| 46 | "SearchBar\0searchCriteriaChanged\0\0" |
| 47 | "highlightMatchesChanged\0highlightMatches\0" |
| 48 | "findNext\0findPrevious\0noMatchFound\0" |
| 49 | "clearBackgroundColor" |
| 50 | }; |
| 51 | #undef QT_MOC_LITERAL |
| 52 | |
| 53 | static const uint qt_meta_data_SearchBar[] = { |
| 54 | |
| 55 | // content: |
| 56 | 8, // revision |
| 57 | 0, // classname |
| 58 | 0, 0, // classinfo |
| 59 | 6, 14, // methods |
| 60 | 0, 0, // properties |
| 61 | 0, 0, // enums/sets |
| 62 | 0, 0, // constructors |
| 63 | 0, // flags |
| 64 | 4, // signalCount |
| 65 | |
| 66 | // signals: name, argc, parameters, tag, flags |
| 67 | 1, 0, 44, 2, 0x06 /* Public */, |
| 68 | 3, 1, 45, 2, 0x06 /* Public */, |
| 69 | 5, 0, 48, 2, 0x06 /* Public */, |
| 70 | 6, 0, 49, 2, 0x06 /* Public */, |
| 71 | |
| 72 | // slots: name, argc, parameters, tag, flags |
| 73 | 7, 0, 50, 2, 0x0a /* Public */, |
| 74 | 8, 0, 51, 2, 0x08 /* Private */, |
| 75 | |
| 76 | // signals: parameters |
| 77 | QMetaType::Void, |
| 78 | QMetaType::Void, QMetaType::Bool, 4, |
| 79 | QMetaType::Void, |
| 80 | QMetaType::Void, |
| 81 | |
| 82 | // slots: parameters |
| 83 | QMetaType::Void, |
| 84 | QMetaType::Void, |
| 85 | |
| 86 | 0 // eod |
| 87 | }; |
| 88 | |
| 89 | void SearchBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 90 | { |
| 91 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 92 | auto *_t = static_cast<SearchBar *>(_o); |
| 93 | (void)_t; |
| 94 | switch (_id) { |
| 95 | case 0: _t->searchCriteriaChanged(); break; |
| 96 | case 1: _t->highlightMatchesChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 97 | case 2: _t->findNext(); break; |
| 98 | case 3: _t->findPrevious(); break; |
| 99 | case 4: _t->noMatchFound(); break; |
| 100 | case 5: _t->clearBackgroundColor(); break; |
| 101 | default: ; |
| 102 | } |
| 103 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 104 | int *result = reinterpret_cast<int *>(_a[0]); |
| 105 | { |
| 106 | using _t = void (SearchBar::*)(); |
| 107 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchBar::searchCriteriaChanged)) { |
| 108 | *result = 0; |
| 109 | return; |
| 110 | } |
| 111 | } |
| 112 | { |
| 113 | using _t = void (SearchBar::*)(bool ); |
| 114 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchBar::highlightMatchesChanged)) { |
| 115 | *result = 1; |
| 116 | return; |
| 117 | } |
| 118 | } |
| 119 | { |
| 120 | using _t = void (SearchBar::*)(); |
| 121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchBar::findNext)) { |
| 122 | *result = 2; |
| 123 | return; |
| 124 | } |
| 125 | } |
| 126 | { |
| 127 | using _t = void (SearchBar::*)(); |
| 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchBar::findPrevious)) { |
| 129 | *result = 3; |
| 130 | return; |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | QT_INIT_METAOBJECT const QMetaObject SearchBar::staticMetaObject = { { |
| 137 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
| 138 | qt_meta_stringdata_SearchBar.data, |
| 139 | qt_meta_data_SearchBar, |
| 140 | qt_static_metacall, |
| 141 | nullptr, |
| 142 | nullptr |
| 143 | } }; |
| 144 | |
| 145 | |
| 146 | const QMetaObject *SearchBar::metaObject() const |
| 147 | { |
| 148 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 149 | } |
| 150 | |
| 151 | void *SearchBar::qt_metacast(const char *_clname) |
| 152 | { |
| 153 | if (!_clname) return nullptr; |
| 154 | if (!strcmp(_clname, qt_meta_stringdata_SearchBar.stringdata0)) |
| 155 | return static_cast<void*>(this); |
| 156 | return QWidget::qt_metacast(_clname); |
| 157 | } |
| 158 | |
| 159 | int SearchBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 160 | { |
| 161 | _id = QWidget::qt_metacall(_c, _id, _a); |
| 162 | if (_id < 0) |
| 163 | return _id; |
| 164 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 165 | if (_id < 6) |
| 166 | qt_static_metacall(this, _c, _id, _a); |
| 167 | _id -= 6; |
| 168 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 169 | if (_id < 6) |
| 170 | *reinterpret_cast<int*>(_a[0]) = -1; |
| 171 | _id -= 6; |
| 172 | } |
| 173 | return _id; |
| 174 | } |
| 175 | |
| 176 | // SIGNAL 0 |
| 177 | void SearchBar::searchCriteriaChanged() |
| 178 | { |
| 179 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
| 180 | } |
| 181 | |
| 182 | // SIGNAL 1 |
| 183 | void SearchBar::highlightMatchesChanged(bool _t1) |
| 184 | { |
| 185 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 186 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
| 187 | } |
| 188 | |
| 189 | // SIGNAL 2 |
| 190 | void SearchBar::findNext() |
| 191 | { |
| 192 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); |
| 193 | } |
| 194 | |
| 195 | // SIGNAL 3 |
| 196 | void SearchBar::findPrevious() |
| 197 | { |
| 198 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); |
| 199 | } |
| 200 | QT_WARNING_POP |
| 201 | QT_END_MOC_NAMESPACE |
| 202 | |