| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qmainwindowlayout_p.h' |
| 3 | ** |
| 4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost! |
| 7 | *****************************************************************************/ |
| 8 | |
| 9 | #include <memory> |
| 10 | #include "widgets/qmainwindowlayout_p.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'qmainwindowlayout_p.h' doesn't include <QObject>." |
| 15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
| 16 | #error "This file was generated using the moc from 6.0.0. 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_QDockWidgetGroupWindow_t { |
| 25 | const uint offsetsAndSize[6]; |
| 26 | char stringdata0[32]; |
| 27 | }; |
| 28 | #define QT_MOC_LITERAL(ofs, len) \ |
| 29 | uint(offsetof(qt_meta_stringdata_QDockWidgetGroupWindow_t, stringdata0) + ofs), len |
| 30 | static const qt_meta_stringdata_QDockWidgetGroupWindow_t qt_meta_stringdata_QDockWidgetGroupWindow = { |
| 31 | { |
| 32 | QT_MOC_LITERAL(0, 22), // "QDockWidgetGroupWindow" |
| 33 | QT_MOC_LITERAL(23, 7), // "resized" |
| 34 | QT_MOC_LITERAL(31, 0) // "" |
| 35 | |
| 36 | }, |
| 37 | "QDockWidgetGroupWindow\0resized\0" |
| 38 | }; |
| 39 | #undef QT_MOC_LITERAL |
| 40 | |
| 41 | static const uint qt_meta_data_QDockWidgetGroupWindow[] = { |
| 42 | |
| 43 | // content: |
| 44 | 9, // revision |
| 45 | 0, // classname |
| 46 | 0, 0, // classinfo |
| 47 | 1, 14, // methods |
| 48 | 0, 0, // properties |
| 49 | 0, 0, // enums/sets |
| 50 | 0, 0, // constructors |
| 51 | 0, // flags |
| 52 | 1, // signalCount |
| 53 | |
| 54 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 55 | 1, 0, 20, 2, 0x06, 0 /* Public */, |
| 56 | |
| 57 | // signals: parameters |
| 58 | QMetaType::Void, |
| 59 | |
| 60 | 0 // eod |
| 61 | }; |
| 62 | |
| 63 | void QDockWidgetGroupWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 64 | { |
| 65 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 66 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 67 | auto *_t = static_cast<QDockWidgetGroupWindow *>(_o); |
| 68 | Q_UNUSED(_t) |
| 69 | switch (_id) { |
| 70 | case 0: _t->resized(); break; |
| 71 | default: ; |
| 72 | } |
| 73 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 74 | int *result = reinterpret_cast<int *>(_a[0]); |
| 75 | { |
| 76 | using _t = void (QDockWidgetGroupWindow::*)(); |
| 77 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDockWidgetGroupWindow::resized)) { |
| 78 | *result = 0; |
| 79 | return; |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | Q_UNUSED(_a); |
| 84 | } |
| 85 | |
| 86 | const QMetaObject QDockWidgetGroupWindow::staticMetaObject = { { |
| 87 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
| 88 | qt_meta_stringdata_QDockWidgetGroupWindow.offsetsAndSize, |
| 89 | qt_meta_data_QDockWidgetGroupWindow, |
| 90 | qt_static_metacall, |
| 91 | nullptr, |
| 92 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QDockWidgetGroupWindow_t |
| 93 | , QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 94 | |
| 95 | |
| 96 | |
| 97 | >, |
| 98 | nullptr |
| 99 | } }; |
| 100 | |
| 101 | |
| 102 | const QMetaObject *QDockWidgetGroupWindow::metaObject() const |
| 103 | { |
| 104 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 105 | } |
| 106 | |
| 107 | void *QDockWidgetGroupWindow::qt_metacast(const char *_clname) |
| 108 | { |
| 109 | if (!_clname) return nullptr; |
| 110 | if (!strcmp(_clname, qt_meta_stringdata_QDockWidgetGroupWindow.stringdata0)) |
| 111 | return static_cast<void*>(this); |
| 112 | return QWidget::qt_metacast(_clname); |
| 113 | } |
| 114 | |
| 115 | int QDockWidgetGroupWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 116 | { |
| 117 | _id = QWidget::qt_metacall(_c, _id, _a); |
| 118 | if (_id < 0) |
| 119 | return _id; |
| 120 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 121 | if (_id < 1) |
| 122 | qt_static_metacall(this, _c, _id, _a); |
| 123 | _id -= 1; |
| 124 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 125 | if (_id < 1) |
| 126 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 127 | _id -= 1; |
| 128 | } |
| 129 | return _id; |
| 130 | } |
| 131 | |
| 132 | // SIGNAL 0 |
| 133 | void QDockWidgetGroupWindow::resized() |
| 134 | { |
| 135 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
| 136 | } |
| 137 | struct qt_meta_stringdata_QMainWindowLayout_t { |
| 138 | const uint offsetsAndSize[14]; |
| 139 | char stringdata0[66]; |
| 140 | }; |
| 141 | #define QT_MOC_LITERAL(ofs, len) \ |
| 142 | uint(offsetof(qt_meta_stringdata_QMainWindowLayout_t, stringdata0) + ofs), len |
| 143 | static const qt_meta_stringdata_QMainWindowLayout_t qt_meta_stringdata_QMainWindowLayout = { |
| 144 | { |
| 145 | QT_MOC_LITERAL(0, 17), // "QMainWindowLayout" |
| 146 | QT_MOC_LITERAL(18, 18), // "updateGapIndicator" |
| 147 | QT_MOC_LITERAL(37, 0), // "" |
| 148 | QT_MOC_LITERAL(38, 10), // "tabChanged" |
| 149 | QT_MOC_LITERAL(49, 8), // "tabMoved" |
| 150 | QT_MOC_LITERAL(58, 4), // "from" |
| 151 | QT_MOC_LITERAL(63, 2) // "to" |
| 152 | |
| 153 | }, |
| 154 | "QMainWindowLayout\0updateGapIndicator\0" |
| 155 | "\0tabChanged\0tabMoved\0from\0to" |
| 156 | }; |
| 157 | #undef QT_MOC_LITERAL |
| 158 | |
| 159 | static const uint qt_meta_data_QMainWindowLayout[] = { |
| 160 | |
| 161 | // content: |
| 162 | 9, // revision |
| 163 | 0, // classname |
| 164 | 0, 0, // classinfo |
| 165 | 3, 14, // methods |
| 166 | 0, 0, // properties |
| 167 | 0, 0, // enums/sets |
| 168 | 0, 0, // constructors |
| 169 | 0, // flags |
| 170 | 0, // signalCount |
| 171 | |
| 172 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 173 | 1, 0, 32, 2, 0x08, 0 /* Private */, |
| 174 | 3, 0, 33, 2, 0x08, 1 /* Private */, |
| 175 | 4, 2, 34, 2, 0x08, 2 /* Private */, |
| 176 | |
| 177 | // slots: parameters |
| 178 | QMetaType::Void, |
| 179 | QMetaType::Void, |
| 180 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 5, 6, |
| 181 | |
| 182 | 0 // eod |
| 183 | }; |
| 184 | |
| 185 | void QMainWindowLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 186 | { |
| 187 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 188 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 189 | auto *_t = static_cast<QMainWindowLayout *>(_o); |
| 190 | Q_UNUSED(_t) |
| 191 | switch (_id) { |
| 192 | case 0: _t->updateGapIndicator(); break; |
| 193 | case 1: _t->tabChanged(); break; |
| 194 | case 2: _t->tabMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
| 195 | default: ; |
| 196 | } |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | const QMetaObject QMainWindowLayout::staticMetaObject = { { |
| 201 | QMetaObject::SuperData::link<QLayout::staticMetaObject>(), |
| 202 | qt_meta_stringdata_QMainWindowLayout.offsetsAndSize, |
| 203 | qt_meta_data_QMainWindowLayout, |
| 204 | qt_static_metacall, |
| 205 | nullptr, |
| 206 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QMainWindowLayout_t |
| 207 | |
| 208 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
| 209 | |
| 210 | |
| 211 | >, |
| 212 | nullptr |
| 213 | } }; |
| 214 | |
| 215 | |
| 216 | const QMetaObject *QMainWindowLayout::metaObject() const |
| 217 | { |
| 218 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 219 | } |
| 220 | |
| 221 | void *QMainWindowLayout::qt_metacast(const char *_clname) |
| 222 | { |
| 223 | if (!_clname) return nullptr; |
| 224 | if (!strcmp(_clname, qt_meta_stringdata_QMainWindowLayout.stringdata0)) |
| 225 | return static_cast<void*>(this); |
| 226 | if (!strcmp(_clname, "QMainWindowLayoutSeparatorHelper<QMainWindowLayout>" )) |
| 227 | return static_cast< QMainWindowLayoutSeparatorHelper<QMainWindowLayout>*>(this); |
| 228 | return QLayout::qt_metacast(_clname); |
| 229 | } |
| 230 | |
| 231 | int QMainWindowLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 232 | { |
| 233 | _id = QLayout::qt_metacall(_c, _id, _a); |
| 234 | if (_id < 0) |
| 235 | return _id; |
| 236 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 237 | if (_id < 3) |
| 238 | qt_static_metacall(this, _c, _id, _a); |
| 239 | _id -= 3; |
| 240 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 241 | if (_id < 3) |
| 242 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 243 | _id -= 3; |
| 244 | } |
| 245 | return _id; |
| 246 | } |
| 247 | QT_WARNING_POP |
| 248 | QT_END_MOC_NAMESPACE |
| 249 | |