| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'Filter.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/Filter.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'Filter.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_Konsole__UrlFilter_t { |
| 25 | QByteArrayData data[5]; |
| 26 | char stringdata0[50]; |
| 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_Konsole__UrlFilter_t, stringdata0) + ofs \ |
| 31 | - idx * sizeof(QByteArrayData)) \ |
| 32 | ) |
| 33 | static const qt_meta_stringdata_Konsole__UrlFilter_t qt_meta_stringdata_Konsole__UrlFilter = { |
| 34 | { |
| 35 | QT_MOC_LITERAL(0, 0, 18), // "Konsole::UrlFilter" |
| 36 | QT_MOC_LITERAL(1, 19, 9), // "activated" |
| 37 | QT_MOC_LITERAL(2, 29, 0), // "" |
| 38 | QT_MOC_LITERAL(3, 30, 3), // "url" |
| 39 | QT_MOC_LITERAL(4, 34, 15) // "fromContextMenu" |
| 40 | |
| 41 | }, |
| 42 | "Konsole::UrlFilter\0activated\0\0url\0" |
| 43 | "fromContextMenu" |
| 44 | }; |
| 45 | #undef QT_MOC_LITERAL |
| 46 | |
| 47 | static const uint qt_meta_data_Konsole__UrlFilter[] = { |
| 48 | |
| 49 | // content: |
| 50 | 8, // revision |
| 51 | 0, // classname |
| 52 | 0, 0, // classinfo |
| 53 | 1, 14, // methods |
| 54 | 0, 0, // properties |
| 55 | 0, 0, // enums/sets |
| 56 | 0, 0, // constructors |
| 57 | 0, // flags |
| 58 | 1, // signalCount |
| 59 | |
| 60 | // signals: name, argc, parameters, tag, flags |
| 61 | 1, 2, 19, 2, 0x06 /* Public */, |
| 62 | |
| 63 | // signals: parameters |
| 64 | QMetaType::Void, QMetaType::QUrl, QMetaType::Bool, 3, 4, |
| 65 | |
| 66 | 0 // eod |
| 67 | }; |
| 68 | |
| 69 | void Konsole::UrlFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 70 | { |
| 71 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 72 | auto *_t = static_cast<UrlFilter *>(_o); |
| 73 | (void)_t; |
| 74 | switch (_id) { |
| 75 | case 0: _t->activated((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; |
| 76 | default: ; |
| 77 | } |
| 78 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 79 | int *result = reinterpret_cast<int *>(_a[0]); |
| 80 | { |
| 81 | using _t = void (UrlFilter::*)(const QUrl & , bool ); |
| 82 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UrlFilter::activated)) { |
| 83 | *result = 0; |
| 84 | return; |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | QT_INIT_METAOBJECT const QMetaObject Konsole::UrlFilter::staticMetaObject = { { |
| 91 | QMetaObject::SuperData::link<RegExpFilter::staticMetaObject>(), |
| 92 | qt_meta_stringdata_Konsole__UrlFilter.data, |
| 93 | qt_meta_data_Konsole__UrlFilter, |
| 94 | qt_static_metacall, |
| 95 | nullptr, |
| 96 | nullptr |
| 97 | } }; |
| 98 | |
| 99 | |
| 100 | const QMetaObject *Konsole::UrlFilter::metaObject() const |
| 101 | { |
| 102 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 103 | } |
| 104 | |
| 105 | void *Konsole::UrlFilter::qt_metacast(const char *_clname) |
| 106 | { |
| 107 | if (!_clname) return nullptr; |
| 108 | if (!strcmp(_clname, qt_meta_stringdata_Konsole__UrlFilter.stringdata0)) |
| 109 | return static_cast<void*>(this); |
| 110 | return RegExpFilter::qt_metacast(_clname); |
| 111 | } |
| 112 | |
| 113 | int Konsole::UrlFilter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 114 | { |
| 115 | _id = RegExpFilter::qt_metacall(_c, _id, _a); |
| 116 | if (_id < 0) |
| 117 | return _id; |
| 118 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 119 | if (_id < 1) |
| 120 | qt_static_metacall(this, _c, _id, _a); |
| 121 | _id -= 1; |
| 122 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 123 | if (_id < 1) |
| 124 | *reinterpret_cast<int*>(_a[0]) = -1; |
| 125 | _id -= 1; |
| 126 | } |
| 127 | return _id; |
| 128 | } |
| 129 | |
| 130 | // SIGNAL 0 |
| 131 | void Konsole::UrlFilter::activated(const QUrl & _t1, bool _t2) |
| 132 | { |
| 133 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
| 134 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 135 | } |
| 136 | struct qt_meta_stringdata_Konsole__FilterObject_t { |
| 137 | QByteArrayData data[6]; |
| 138 | char stringdata0[62]; |
| 139 | }; |
| 140 | #define QT_MOC_LITERAL(idx, ofs, len) \ |
| 141 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ |
| 142 | qptrdiff(offsetof(qt_meta_stringdata_Konsole__FilterObject_t, stringdata0) + ofs \ |
| 143 | - idx * sizeof(QByteArrayData)) \ |
| 144 | ) |
| 145 | static const qt_meta_stringdata_Konsole__FilterObject_t qt_meta_stringdata_Konsole__FilterObject = { |
| 146 | { |
| 147 | QT_MOC_LITERAL(0, 0, 21), // "Konsole::FilterObject" |
| 148 | QT_MOC_LITERAL(1, 22, 9), // "activated" |
| 149 | QT_MOC_LITERAL(2, 32, 0), // "" |
| 150 | QT_MOC_LITERAL(3, 33, 3), // "url" |
| 151 | QT_MOC_LITERAL(4, 37, 15), // "fromContextMenu" |
| 152 | QT_MOC_LITERAL(5, 53, 8) // "activate" |
| 153 | |
| 154 | }, |
| 155 | "Konsole::FilterObject\0activated\0\0url\0" |
| 156 | "fromContextMenu\0activate" |
| 157 | }; |
| 158 | #undef QT_MOC_LITERAL |
| 159 | |
| 160 | static const uint qt_meta_data_Konsole__FilterObject[] = { |
| 161 | |
| 162 | // content: |
| 163 | 8, // revision |
| 164 | 0, // classname |
| 165 | 0, 0, // classinfo |
| 166 | 2, 14, // methods |
| 167 | 0, 0, // properties |
| 168 | 0, 0, // enums/sets |
| 169 | 0, 0, // constructors |
| 170 | 0, // flags |
| 171 | 1, // signalCount |
| 172 | |
| 173 | // signals: name, argc, parameters, tag, flags |
| 174 | 1, 2, 24, 2, 0x06 /* Public */, |
| 175 | |
| 176 | // slots: name, argc, parameters, tag, flags |
| 177 | 5, 0, 29, 2, 0x0a /* Public */, |
| 178 | |
| 179 | // signals: parameters |
| 180 | QMetaType::Void, QMetaType::QUrl, QMetaType::Bool, 3, 4, |
| 181 | |
| 182 | // slots: parameters |
| 183 | QMetaType::Void, |
| 184 | |
| 185 | 0 // eod |
| 186 | }; |
| 187 | |
| 188 | void Konsole::FilterObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 189 | { |
| 190 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 191 | auto *_t = static_cast<FilterObject *>(_o); |
| 192 | (void)_t; |
| 193 | switch (_id) { |
| 194 | case 0: _t->activated((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; |
| 195 | case 1: _t->activate(); break; |
| 196 | default: ; |
| 197 | } |
| 198 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 199 | int *result = reinterpret_cast<int *>(_a[0]); |
| 200 | { |
| 201 | using _t = void (FilterObject::*)(const QUrl & , bool ); |
| 202 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FilterObject::activated)) { |
| 203 | *result = 0; |
| 204 | return; |
| 205 | } |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | QT_INIT_METAOBJECT const QMetaObject Konsole::FilterObject::staticMetaObject = { { |
| 211 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
| 212 | qt_meta_stringdata_Konsole__FilterObject.data, |
| 213 | qt_meta_data_Konsole__FilterObject, |
| 214 | qt_static_metacall, |
| 215 | nullptr, |
| 216 | nullptr |
| 217 | } }; |
| 218 | |
| 219 | |
| 220 | const QMetaObject *Konsole::FilterObject::metaObject() const |
| 221 | { |
| 222 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 223 | } |
| 224 | |
| 225 | void *Konsole::FilterObject::qt_metacast(const char *_clname) |
| 226 | { |
| 227 | if (!_clname) return nullptr; |
| 228 | if (!strcmp(_clname, qt_meta_stringdata_Konsole__FilterObject.stringdata0)) |
| 229 | return static_cast<void*>(this); |
| 230 | return QObject::qt_metacast(_clname); |
| 231 | } |
| 232 | |
| 233 | int Konsole::FilterObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 234 | { |
| 235 | _id = QObject::qt_metacall(_c, _id, _a); |
| 236 | if (_id < 0) |
| 237 | return _id; |
| 238 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 239 | if (_id < 2) |
| 240 | qt_static_metacall(this, _c, _id, _a); |
| 241 | _id -= 2; |
| 242 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 243 | if (_id < 2) |
| 244 | *reinterpret_cast<int*>(_a[0]) = -1; |
| 245 | _id -= 2; |
| 246 | } |
| 247 | return _id; |
| 248 | } |
| 249 | |
| 250 | // SIGNAL 0 |
| 251 | void Konsole::FilterObject::activated(const QUrl & _t1, bool _t2) |
| 252 | { |
| 253 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
| 254 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 255 | } |
| 256 | QT_WARNING_POP |
| 257 | QT_END_MOC_NAMESPACE |
| 258 | |