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