| 1 | /**************************************************************************** | 
| 2 | ** Meta object code from reading C++ file 'CommitHistoryContextMenu.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/history/CommitHistoryContextMenu.h" | 
| 11 | #include <QtCore/qbytearray.h> | 
| 12 | #include <QtCore/qmetatype.h> | 
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) | 
| 14 | #error "The header file 'CommitHistoryContextMenu.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  { | 
| 25 |     QByteArrayData [19]; | 
| 26 |     char [282]; | 
| 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_CommitHistoryContextMenu_t, stringdata0) + ofs \ | 
| 31 |         - idx * sizeof(QByteArrayData)) \ | 
| 32 |     ) | 
| 33 | static const qt_meta_stringdata_CommitHistoryContextMenu_t  = { | 
| 34 |     { | 
| 35 | QT_MOC_LITERAL(0, 0, 24), // "CommitHistoryContextMenu" | 
| 36 | QT_MOC_LITERAL(1, 25, 10), // "fullReload" | 
| 37 | QT_MOC_LITERAL(2, 36, 0), // "" | 
| 38 | QT_MOC_LITERAL(3, 37, 16), // "referencesReload" | 
| 39 | QT_MOC_LITERAL(4, 54, 9), // "logReload" | 
| 40 | QT_MOC_LITERAL(5, 64, 14), // "signalOpenDiff" | 
| 41 | QT_MOC_LITERAL(6, 79, 3), // "sha" | 
| 42 | QT_MOC_LITERAL(7, 83, 21), // "signalOpenCompareDiff" | 
| 43 | QT_MOC_LITERAL(8, 105, 17), // "signalAmendCommit" | 
| 44 | QT_MOC_LITERAL(9, 123, 19), // "signalMergeRequired" | 
| 45 | QT_MOC_LITERAL(10, 143, 6), // "origin" | 
| 46 | QT_MOC_LITERAL(11, 150, 11), // "destination" | 
| 47 | QT_MOC_LITERAL(12, 162, 19), // "mergeSqushRequested" | 
| 48 | QT_MOC_LITERAL(13, 182, 24), // "signalCherryPickConflict" | 
| 49 | QT_MOC_LITERAL(14, 207, 11), // "pendingShas" | 
| 50 | QT_MOC_LITERAL(15, 219, 18), // "signalPullConflict" | 
| 51 | QT_MOC_LITERAL(16, 238, 21), // "signalRefreshPRsCache" | 
| 52 | QT_MOC_LITERAL(17, 260, 18), // "showPrDetailedView" | 
| 53 | QT_MOC_LITERAL(18, 279, 2) // "pr" | 
| 54 |  | 
| 55 |     }, | 
| 56 |     "CommitHistoryContextMenu\0fullReload\0"  | 
| 57 |     "\0referencesReload\0logReload\0signalOpenDiff\0"  | 
| 58 |     "sha\0signalOpenCompareDiff\0signalAmendCommit\0"  | 
| 59 |     "signalMergeRequired\0origin\0destination\0"  | 
| 60 |     "mergeSqushRequested\0signalCherryPickConflict\0"  | 
| 61 |     "pendingShas\0signalPullConflict\0"  | 
| 62 |     "signalRefreshPRsCache\0showPrDetailedView\0"  | 
| 63 |     "pr"  | 
| 64 | }; | 
| 65 | #undef QT_MOC_LITERAL | 
| 66 |  | 
| 67 | static const uint [] = { | 
| 68 |  | 
| 69 |  // content: | 
| 70 |        8,       // revision | 
| 71 |        0,       // classname | 
| 72 |        0,    0, // classinfo | 
| 73 |       13,   14, // methods | 
| 74 |        0,    0, // properties | 
| 75 |        0,    0, // enums/sets | 
| 76 |        0,    0, // constructors | 
| 77 |        0,       // flags | 
| 78 |       13,       // signalCount | 
| 79 |  | 
| 80 |  // signals: name, argc, parameters, tag, flags | 
| 81 |        1,    0,   79,    2, 0x06 /* Public */, | 
| 82 |        3,    0,   80,    2, 0x06 /* Public */, | 
| 83 |        4,    0,   81,    2, 0x06 /* Public */, | 
| 84 |        5,    1,   82,    2, 0x06 /* Public */, | 
| 85 |        7,    1,   85,    2, 0x06 /* Public */, | 
| 86 |        8,    1,   88,    2, 0x06 /* Public */, | 
| 87 |        9,    2,   91,    2, 0x06 /* Public */, | 
| 88 |       12,    2,   96,    2, 0x06 /* Public */, | 
| 89 |       13,    1,  101,    2, 0x06 /* Public */, | 
| 90 |       13,    0,  104,    2, 0x26 /* Public | MethodCloned */, | 
| 91 |       15,    0,  105,    2, 0x06 /* Public */, | 
| 92 |       16,    0,  106,    2, 0x06 /* Public */, | 
| 93 |       17,    1,  107,    2, 0x06 /* Public */, | 
| 94 |  | 
| 95 |  // signals: parameters | 
| 96 |     QMetaType::Void, | 
| 97 |     QMetaType::Void, | 
| 98 |     QMetaType::Void, | 
| 99 |     QMetaType::Void, QMetaType::QString,    6, | 
| 100 |     QMetaType::Void, QMetaType::QStringList,    6, | 
| 101 |     QMetaType::Void, QMetaType::QString,    6, | 
| 102 |     QMetaType::Void, QMetaType::QString, QMetaType::QString,   10,   11, | 
| 103 |     QMetaType::Void, QMetaType::QString, QMetaType::QString,   10,   11, | 
| 104 |     QMetaType::Void, QMetaType::QStringList,   14, | 
| 105 |     QMetaType::Void, | 
| 106 |     QMetaType::Void, | 
| 107 |     QMetaType::Void, | 
| 108 |     QMetaType::Void, QMetaType::Int,   18, | 
| 109 |  | 
| 110 |        0        // eod | 
| 111 | }; | 
| 112 |  | 
| 113 | void CommitHistoryContextMenu::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | 
| 114 | { | 
| 115 |     if (_c == QMetaObject::InvokeMetaMethod) { | 
| 116 |         auto *_t = static_cast<CommitHistoryContextMenu *>(_o); | 
| 117 |         (void)_t; | 
| 118 |         switch (_id) { | 
| 119 |         case 0: _t->fullReload(); break; | 
| 120 |         case 1: _t->referencesReload(); break; | 
| 121 |         case 2: _t->logReload(); break; | 
| 122 |         case 3: _t->signalOpenDiff((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
| 123 |         case 4: _t->signalOpenCompareDiff((*reinterpret_cast< const QStringList(*)>(_a[1]))); break; | 
| 124 |         case 5: _t->signalAmendCommit((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
| 125 |         case 6: _t->signalMergeRequired((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; | 
| 126 |         case 7: _t->mergeSqushRequested((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; | 
| 127 |         case 8: _t->signalCherryPickConflict((*reinterpret_cast< const QStringList(*)>(_a[1]))); break; | 
| 128 |         case 9: _t->signalCherryPickConflict(); break; | 
| 129 |         case 10: _t->signalPullConflict(); break; | 
| 130 |         case 11: _t->signalRefreshPRsCache(); break; | 
| 131 |         case 12: _t->showPrDetailedView((*reinterpret_cast< int(*)>(_a[1]))); break; | 
| 132 |         default: ; | 
| 133 |         } | 
| 134 |     } else if (_c == QMetaObject::IndexOfMethod) { | 
| 135 |         int *result = reinterpret_cast<int *>(_a[0]); | 
| 136 |         { | 
| 137 |             using _t = void (CommitHistoryContextMenu::*)(); | 
| 138 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::fullReload)) { | 
| 139 |                 *result = 0; | 
| 140 |                 return; | 
| 141 |             } | 
| 142 |         } | 
| 143 |         { | 
| 144 |             using _t = void (CommitHistoryContextMenu::*)(); | 
| 145 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::referencesReload)) { | 
| 146 |                 *result = 1; | 
| 147 |                 return; | 
| 148 |             } | 
| 149 |         } | 
| 150 |         { | 
| 151 |             using _t = void (CommitHistoryContextMenu::*)(); | 
| 152 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::logReload)) { | 
| 153 |                 *result = 2; | 
| 154 |                 return; | 
| 155 |             } | 
| 156 |         } | 
| 157 |         { | 
| 158 |             using _t = void (CommitHistoryContextMenu::*)(const QString & ); | 
| 159 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::signalOpenDiff)) { | 
| 160 |                 *result = 3; | 
| 161 |                 return; | 
| 162 |             } | 
| 163 |         } | 
| 164 |         { | 
| 165 |             using _t = void (CommitHistoryContextMenu::*)(const QStringList & ); | 
| 166 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::signalOpenCompareDiff)) { | 
| 167 |                 *result = 4; | 
| 168 |                 return; | 
| 169 |             } | 
| 170 |         } | 
| 171 |         { | 
| 172 |             using _t = void (CommitHistoryContextMenu::*)(const QString & ); | 
| 173 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::signalAmendCommit)) { | 
| 174 |                 *result = 5; | 
| 175 |                 return; | 
| 176 |             } | 
| 177 |         } | 
| 178 |         { | 
| 179 |             using _t = void (CommitHistoryContextMenu::*)(const QString & , const QString & ); | 
| 180 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::signalMergeRequired)) { | 
| 181 |                 *result = 6; | 
| 182 |                 return; | 
| 183 |             } | 
| 184 |         } | 
| 185 |         { | 
| 186 |             using _t = void (CommitHistoryContextMenu::*)(const QString & , const QString & ); | 
| 187 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::mergeSqushRequested)) { | 
| 188 |                 *result = 7; | 
| 189 |                 return; | 
| 190 |             } | 
| 191 |         } | 
| 192 |         { | 
| 193 |             using _t = void (CommitHistoryContextMenu::*)(const QStringList & ); | 
| 194 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::signalCherryPickConflict)) { | 
| 195 |                 *result = 8; | 
| 196 |                 return; | 
| 197 |             } | 
| 198 |         } | 
| 199 |         { | 
| 200 |             using _t = void (CommitHistoryContextMenu::*)(); | 
| 201 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::signalPullConflict)) { | 
| 202 |                 *result = 10; | 
| 203 |                 return; | 
| 204 |             } | 
| 205 |         } | 
| 206 |         { | 
| 207 |             using _t = void (CommitHistoryContextMenu::*)(); | 
| 208 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::signalRefreshPRsCache)) { | 
| 209 |                 *result = 11; | 
| 210 |                 return; | 
| 211 |             } | 
| 212 |         } | 
| 213 |         { | 
| 214 |             using _t = void (CommitHistoryContextMenu::*)(int ); | 
| 215 |             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommitHistoryContextMenu::showPrDetailedView)) { | 
| 216 |                 *result = 12; | 
| 217 |                 return; | 
| 218 |             } | 
| 219 |         } | 
| 220 |     } | 
| 221 | } | 
| 222 |  | 
| 223 | QT_INIT_METAOBJECT const QMetaObject CommitHistoryContextMenu:: = { { | 
| 224 |     QMetaObject::SuperData::link<QMenu::staticMetaObject>(), | 
| 225 |     qt_meta_stringdata_CommitHistoryContextMenu.data, | 
| 226 |     qt_meta_data_CommitHistoryContextMenu, | 
| 227 |     qt_static_metacall, | 
| 228 |     nullptr, | 
| 229 |     nullptr | 
| 230 | } }; | 
| 231 |  | 
| 232 |  | 
| 233 | const QMetaObject *CommitHistoryContextMenu::() const | 
| 234 | { | 
| 235 |     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | 
| 236 | } | 
| 237 |  | 
| 238 | void *CommitHistoryContextMenu::(const char *_clname) | 
| 239 | { | 
| 240 |     if (!_clname) return nullptr; | 
| 241 |     if (!strcmp(_clname, qt_meta_stringdata_CommitHistoryContextMenu.stringdata0)) | 
| 242 |         return static_cast<void*>(this); | 
| 243 |     return QMenu::qt_metacast(_clname); | 
| 244 | } | 
| 245 |  | 
| 246 | int CommitHistoryContextMenu::(QMetaObject::Call _c, int _id, void **_a) | 
| 247 | { | 
| 248 |     _id = QMenu::qt_metacall(_c, _id, _a); | 
| 249 |     if (_id < 0) | 
| 250 |         return _id; | 
| 251 |     if (_c == QMetaObject::InvokeMetaMethod) { | 
| 252 |         if (_id < 13) | 
| 253 |             qt_static_metacall(this, _c, _id, _a); | 
| 254 |         _id -= 13; | 
| 255 |     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | 
| 256 |         if (_id < 13) | 
| 257 |             *reinterpret_cast<int*>(_a[0]) = -1; | 
| 258 |         _id -= 13; | 
| 259 |     } | 
| 260 |     return _id; | 
| 261 | } | 
| 262 |  | 
| 263 | // SIGNAL 0 | 
| 264 | void CommitHistoryContextMenu::() | 
| 265 | { | 
| 266 |     QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | 
| 267 | } | 
| 268 |  | 
| 269 | // SIGNAL 1 | 
| 270 | void CommitHistoryContextMenu::() | 
| 271 | { | 
| 272 |     QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | 
| 273 | } | 
| 274 |  | 
| 275 | // SIGNAL 2 | 
| 276 | void CommitHistoryContextMenu::() | 
| 277 | { | 
| 278 |     QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | 
| 279 | } | 
| 280 |  | 
| 281 | // SIGNAL 3 | 
| 282 | void CommitHistoryContextMenu::(const QString & _t1) | 
| 283 | { | 
| 284 |     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
| 285 |     QMetaObject::activate(this, &staticMetaObject, 3, _a); | 
| 286 | } | 
| 287 |  | 
| 288 | // SIGNAL 4 | 
| 289 | void CommitHistoryContextMenu::(const QStringList & _t1) | 
| 290 | { | 
| 291 |     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
| 292 |     QMetaObject::activate(this, &staticMetaObject, 4, _a); | 
| 293 | } | 
| 294 |  | 
| 295 | // SIGNAL 5 | 
| 296 | void CommitHistoryContextMenu::(const QString & _t1) | 
| 297 | { | 
| 298 |     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
| 299 |     QMetaObject::activate(this, &staticMetaObject, 5, _a); | 
| 300 | } | 
| 301 |  | 
| 302 | // SIGNAL 6 | 
| 303 | void CommitHistoryContextMenu::(const QString & _t1, const QString & _t2) | 
| 304 | { | 
| 305 |     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; | 
| 306 |     QMetaObject::activate(this, &staticMetaObject, 6, _a); | 
| 307 | } | 
| 308 |  | 
| 309 | // SIGNAL 7 | 
| 310 | void CommitHistoryContextMenu::(const QString & _t1, const QString & _t2) | 
| 311 | { | 
| 312 |     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; | 
| 313 |     QMetaObject::activate(this, &staticMetaObject, 7, _a); | 
| 314 | } | 
| 315 |  | 
| 316 | // SIGNAL 8 | 
| 317 | void CommitHistoryContextMenu::(const QStringList & _t1) | 
| 318 | { | 
| 319 |     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
| 320 |     QMetaObject::activate(this, &staticMetaObject, 8, _a); | 
| 321 | } | 
| 322 |  | 
| 323 | // SIGNAL 10 | 
| 324 | void CommitHistoryContextMenu::() | 
| 325 | { | 
| 326 |     QMetaObject::activate(this, &staticMetaObject, 10, nullptr); | 
| 327 | } | 
| 328 |  | 
| 329 | // SIGNAL 11 | 
| 330 | void CommitHistoryContextMenu::() | 
| 331 | { | 
| 332 |     QMetaObject::activate(this, &staticMetaObject, 11, nullptr); | 
| 333 | } | 
| 334 |  | 
| 335 | // SIGNAL 12 | 
| 336 | void CommitHistoryContextMenu::(int _t1) | 
| 337 | { | 
| 338 |     void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
| 339 |     QMetaObject::activate(this, &staticMetaObject, 12, _a); | 
| 340 | } | 
| 341 | QT_WARNING_POP | 
| 342 | QT_END_MOC_NAMESPACE | 
| 343 |  |