| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qgraphicsview.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 "graphicsview/qgraphicsview.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #include <QtCore/QList> |
| 14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 15 | #error "The header file 'qgraphicsview.h' doesn't include <QObject>." |
| 16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
| 17 | #error "This file was generated using the moc from 6.0.0. It" |
| 18 | #error "cannot be used with the include files from this version of Qt." |
| 19 | #error "(The moc has changed too much.)" |
| 20 | #endif |
| 21 | |
| 22 | QT_BEGIN_MOC_NAMESPACE |
| 23 | QT_WARNING_PUSH |
| 24 | QT_WARNING_DISABLE_DEPRECATED |
| 25 | struct qt_meta_stringdata_QGraphicsView_t { |
| 26 | const uint offsetsAndSize[116]; |
| 27 | char stringdata0[877]; |
| 28 | }; |
| 29 | #define QT_MOC_LITERAL(ofs, len) \ |
| 30 | uint(offsetof(qt_meta_stringdata_QGraphicsView_t, stringdata0) + ofs), len |
| 31 | static const qt_meta_stringdata_QGraphicsView_t qt_meta_stringdata_QGraphicsView = { |
| 32 | { |
| 33 | QT_MOC_LITERAL(0, 13), // "QGraphicsView" |
| 34 | QT_MOC_LITERAL(14, 17), // "rubberBandChanged" |
| 35 | QT_MOC_LITERAL(32, 0), // "" |
| 36 | QT_MOC_LITERAL(33, 12), // "viewportRect" |
| 37 | QT_MOC_LITERAL(46, 14), // "fromScenePoint" |
| 38 | QT_MOC_LITERAL(61, 12), // "toScenePoint" |
| 39 | QT_MOC_LITERAL(74, 11), // "updateScene" |
| 40 | QT_MOC_LITERAL(86, 13), // "QList<QRectF>" |
| 41 | QT_MOC_LITERAL(100, 5), // "rects" |
| 42 | QT_MOC_LITERAL(106, 15), // "invalidateScene" |
| 43 | QT_MOC_LITERAL(122, 4), // "rect" |
| 44 | QT_MOC_LITERAL(127, 27), // "QGraphicsScene::SceneLayers" |
| 45 | QT_MOC_LITERAL(155, 6), // "layers" |
| 46 | QT_MOC_LITERAL(162, 15), // "updateSceneRect" |
| 47 | QT_MOC_LITERAL(178, 13), // "setupViewport" |
| 48 | QT_MOC_LITERAL(192, 8), // "QWidget*" |
| 49 | QT_MOC_LITERAL(201, 6), // "widget" |
| 50 | QT_MOC_LITERAL(208, 20), // "_q_setViewportCursor" |
| 51 | QT_MOC_LITERAL(229, 22), // "_q_unsetViewportCursor" |
| 52 | QT_MOC_LITERAL(252, 15), // "backgroundBrush" |
| 53 | QT_MOC_LITERAL(268, 15), // "foregroundBrush" |
| 54 | QT_MOC_LITERAL(284, 11), // "interactive" |
| 55 | QT_MOC_LITERAL(296, 9), // "sceneRect" |
| 56 | QT_MOC_LITERAL(306, 9), // "alignment" |
| 57 | QT_MOC_LITERAL(316, 13), // "Qt::Alignment" |
| 58 | QT_MOC_LITERAL(330, 11), // "renderHints" |
| 59 | QT_MOC_LITERAL(342, 21), // "QPainter::RenderHints" |
| 60 | QT_MOC_LITERAL(364, 8), // "dragMode" |
| 61 | QT_MOC_LITERAL(373, 8), // "DragMode" |
| 62 | QT_MOC_LITERAL(382, 9), // "cacheMode" |
| 63 | QT_MOC_LITERAL(392, 9), // "CacheMode" |
| 64 | QT_MOC_LITERAL(402, 20), // "transformationAnchor" |
| 65 | QT_MOC_LITERAL(423, 14), // "ViewportAnchor" |
| 66 | QT_MOC_LITERAL(438, 12), // "resizeAnchor" |
| 67 | QT_MOC_LITERAL(451, 18), // "viewportUpdateMode" |
| 68 | QT_MOC_LITERAL(470, 18), // "ViewportUpdateMode" |
| 69 | QT_MOC_LITERAL(489, 23), // "rubberBandSelectionMode" |
| 70 | QT_MOC_LITERAL(513, 21), // "Qt::ItemSelectionMode" |
| 71 | QT_MOC_LITERAL(535, 17), // "optimizationFlags" |
| 72 | QT_MOC_LITERAL(553, 17), // "OptimizationFlags" |
| 73 | QT_MOC_LITERAL(571, 8), // "NoAnchor" |
| 74 | QT_MOC_LITERAL(580, 16), // "AnchorViewCenter" |
| 75 | QT_MOC_LITERAL(597, 16), // "AnchorUnderMouse" |
| 76 | QT_MOC_LITERAL(614, 13), // "CacheModeFlag" |
| 77 | QT_MOC_LITERAL(628, 9), // "CacheNone" |
| 78 | QT_MOC_LITERAL(638, 15), // "CacheBackground" |
| 79 | QT_MOC_LITERAL(654, 6), // "NoDrag" |
| 80 | QT_MOC_LITERAL(661, 14), // "ScrollHandDrag" |
| 81 | QT_MOC_LITERAL(676, 14), // "RubberBandDrag" |
| 82 | QT_MOC_LITERAL(691, 18), // "FullViewportUpdate" |
| 83 | QT_MOC_LITERAL(710, 21), // "MinimalViewportUpdate" |
| 84 | QT_MOC_LITERAL(732, 19), // "SmartViewportUpdate" |
| 85 | QT_MOC_LITERAL(752, 16), // "NoViewportUpdate" |
| 86 | QT_MOC_LITERAL(769, 26), // "BoundingRectViewportUpdate" |
| 87 | QT_MOC_LITERAL(796, 16), // "OptimizationFlag" |
| 88 | QT_MOC_LITERAL(813, 20), // "DontSavePainterState" |
| 89 | QT_MOC_LITERAL(834, 25), // "DontAdjustForAntialiasing" |
| 90 | QT_MOC_LITERAL(860, 16) // "IndirectPainting" |
| 91 | |
| 92 | }, |
| 93 | "QGraphicsView\0rubberBandChanged\0\0" |
| 94 | "viewportRect\0fromScenePoint\0toScenePoint\0" |
| 95 | "updateScene\0QList<QRectF>\0rects\0" |
| 96 | "invalidateScene\0rect\0QGraphicsScene::SceneLayers\0" |
| 97 | "layers\0updateSceneRect\0setupViewport\0" |
| 98 | "QWidget*\0widget\0_q_setViewportCursor\0" |
| 99 | "_q_unsetViewportCursor\0backgroundBrush\0" |
| 100 | "foregroundBrush\0interactive\0sceneRect\0" |
| 101 | "alignment\0Qt::Alignment\0renderHints\0" |
| 102 | "QPainter::RenderHints\0dragMode\0DragMode\0" |
| 103 | "cacheMode\0CacheMode\0transformationAnchor\0" |
| 104 | "ViewportAnchor\0resizeAnchor\0" |
| 105 | "viewportUpdateMode\0ViewportUpdateMode\0" |
| 106 | "rubberBandSelectionMode\0Qt::ItemSelectionMode\0" |
| 107 | "optimizationFlags\0OptimizationFlags\0" |
| 108 | "NoAnchor\0AnchorViewCenter\0AnchorUnderMouse\0" |
| 109 | "CacheModeFlag\0CacheNone\0CacheBackground\0" |
| 110 | "NoDrag\0ScrollHandDrag\0RubberBandDrag\0" |
| 111 | "FullViewportUpdate\0MinimalViewportUpdate\0" |
| 112 | "SmartViewportUpdate\0NoViewportUpdate\0" |
| 113 | "BoundingRectViewportUpdate\0OptimizationFlag\0" |
| 114 | "DontSavePainterState\0DontAdjustForAntialiasing\0" |
| 115 | "IndirectPainting" |
| 116 | }; |
| 117 | #undef QT_MOC_LITERAL |
| 118 | |
| 119 | static const uint qt_meta_data_QGraphicsView[] = { |
| 120 | |
| 121 | // content: |
| 122 | 9, // revision |
| 123 | 0, // classname |
| 124 | 0, 0, // classinfo |
| 125 | 9, 14, // methods |
| 126 | 13, 97, // properties |
| 127 | 5, 162, // enums/sets |
| 128 | 0, 0, // constructors |
| 129 | 0, // flags |
| 130 | 1, // signalCount |
| 131 | |
| 132 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 133 | 1, 3, 68, 2, 0x06, 13 /* Public */, |
| 134 | |
| 135 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 136 | 6, 1, 75, 2, 0x0a, 17 /* Public */, |
| 137 | 9, 2, 78, 2, 0x0a, 19 /* Public */, |
| 138 | 9, 1, 83, 2, 0x2a, 22 /* Public | MethodCloned */, |
| 139 | 9, 0, 86, 2, 0x2a, 24 /* Public | MethodCloned */, |
| 140 | 13, 1, 87, 2, 0x0a, 25 /* Public */, |
| 141 | 14, 1, 90, 2, 0x09, 27 /* Protected */, |
| 142 | 17, 1, 93, 2, 0x08, 29 /* Private */, |
| 143 | 18, 0, 96, 2, 0x08, 31 /* Private */, |
| 144 | |
| 145 | // signals: parameters |
| 146 | QMetaType::Void, QMetaType::QRect, QMetaType::QPointF, QMetaType::QPointF, 3, 4, 5, |
| 147 | |
| 148 | // slots: parameters |
| 149 | QMetaType::Void, 0x80000000 | 7, 8, |
| 150 | QMetaType::Void, QMetaType::QRectF, 0x80000000 | 11, 10, 12, |
| 151 | QMetaType::Void, QMetaType::QRectF, 10, |
| 152 | QMetaType::Void, |
| 153 | QMetaType::Void, QMetaType::QRectF, 10, |
| 154 | QMetaType::Void, 0x80000000 | 15, 16, |
| 155 | QMetaType::Void, QMetaType::QCursor, 2, |
| 156 | QMetaType::Void, |
| 157 | |
| 158 | // properties: name, type, flags |
| 159 | 19, QMetaType::QBrush, 0x00015103, uint(-1), 0, |
| 160 | 20, QMetaType::QBrush, 0x00015103, uint(-1), 0, |
| 161 | 21, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 162 | 22, QMetaType::QRectF, 0x00015103, uint(-1), 0, |
| 163 | 23, 0x80000000 | 24, 0x0001510b, uint(-1), 0, |
| 164 | 25, 0x80000000 | 26, 0x0001510b, uint(-1), 0, |
| 165 | 27, 0x80000000 | 28, 0x0001510b, uint(-1), 0, |
| 166 | 29, 0x80000000 | 30, 0x0001510b, uint(-1), 0, |
| 167 | 31, 0x80000000 | 32, 0x0001510b, uint(-1), 0, |
| 168 | 33, 0x80000000 | 32, 0x0001510b, uint(-1), 0, |
| 169 | 34, 0x80000000 | 35, 0x0001510b, uint(-1), 0, |
| 170 | 36, 0x80000000 | 37, 0x0001510b, uint(-1), 0, |
| 171 | 38, 0x80000000 | 39, 0x0001510b, uint(-1), 0, |
| 172 | |
| 173 | // enums: name, alias, flags, count, data |
| 174 | 32, 32, 0x0, 3, 187, |
| 175 | 30, 43, 0x1, 2, 193, |
| 176 | 28, 28, 0x0, 3, 197, |
| 177 | 35, 35, 0x0, 5, 203, |
| 178 | 39, 54, 0x1, 3, 213, |
| 179 | |
| 180 | // enum data: key, value |
| 181 | 40, uint(QGraphicsView::NoAnchor), |
| 182 | 41, uint(QGraphicsView::AnchorViewCenter), |
| 183 | 42, uint(QGraphicsView::AnchorUnderMouse), |
| 184 | 44, uint(QGraphicsView::CacheNone), |
| 185 | 45, uint(QGraphicsView::CacheBackground), |
| 186 | 46, uint(QGraphicsView::NoDrag), |
| 187 | 47, uint(QGraphicsView::ScrollHandDrag), |
| 188 | 48, uint(QGraphicsView::RubberBandDrag), |
| 189 | 49, uint(QGraphicsView::FullViewportUpdate), |
| 190 | 50, uint(QGraphicsView::MinimalViewportUpdate), |
| 191 | 51, uint(QGraphicsView::SmartViewportUpdate), |
| 192 | 52, uint(QGraphicsView::NoViewportUpdate), |
| 193 | 53, uint(QGraphicsView::BoundingRectViewportUpdate), |
| 194 | 55, uint(QGraphicsView::DontSavePainterState), |
| 195 | 56, uint(QGraphicsView::DontAdjustForAntialiasing), |
| 196 | 57, uint(QGraphicsView::IndirectPainting), |
| 197 | |
| 198 | 0 // eod |
| 199 | }; |
| 200 | |
| 201 | void QGraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 202 | { |
| 203 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 204 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 205 | auto *_t = static_cast<QGraphicsView *>(_o); |
| 206 | Q_UNUSED(_t) |
| 207 | switch (_id) { |
| 208 | case 0: _t->rubberBandChanged((*reinterpret_cast< QRect(*)>(_a[1])),(*reinterpret_cast< QPointF(*)>(_a[2])),(*reinterpret_cast< QPointF(*)>(_a[3]))); break; |
| 209 | case 1: _t->updateScene((*reinterpret_cast< const QList<QRectF>(*)>(_a[1]))); break; |
| 210 | case 2: _t->invalidateScene((*reinterpret_cast< const QRectF(*)>(_a[1])),(*reinterpret_cast< QGraphicsScene::SceneLayers(*)>(_a[2]))); break; |
| 211 | case 3: _t->invalidateScene((*reinterpret_cast< const QRectF(*)>(_a[1]))); break; |
| 212 | case 4: _t->invalidateScene(); break; |
| 213 | case 5: _t->updateSceneRect((*reinterpret_cast< const QRectF(*)>(_a[1]))); break; |
| 214 | case 6: _t->setupViewport((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; |
| 215 | case 7: _t->d_func()->_q_setViewportCursor((*reinterpret_cast< const QCursor(*)>(_a[1]))); break; |
| 216 | case 8: _t->d_func()->_q_unsetViewportCursor(); break; |
| 217 | default: ; |
| 218 | } |
| 219 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 220 | switch (_id) { |
| 221 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 222 | case 1: |
| 223 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 224 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 225 | case 0: |
| 226 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QRectF> >(); break; |
| 227 | } |
| 228 | break; |
| 229 | case 6: |
| 230 | switch (*reinterpret_cast<int*>(_a[1])) { |
| 231 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
| 232 | case 0: |
| 233 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break; |
| 234 | } |
| 235 | break; |
| 236 | } |
| 237 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 238 | int *result = reinterpret_cast<int *>(_a[0]); |
| 239 | { |
| 240 | using _t = void (QGraphicsView::*)(QRect , QPointF , QPointF ); |
| 241 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsView::rubberBandChanged)) { |
| 242 | *result = 0; |
| 243 | return; |
| 244 | } |
| 245 | } |
| 246 | } |
| 247 | #ifndef QT_NO_PROPERTIES |
| 248 | else if (_c == QMetaObject::ReadProperty) { |
| 249 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 250 | auto *_t = static_cast<QGraphicsView *>(_o); |
| 251 | Q_UNUSED(_t) |
| 252 | void *_v = _a[0]; |
| 253 | switch (_id) { |
| 254 | case 0: *reinterpret_cast< QBrush*>(_v) = _t->backgroundBrush(); break; |
| 255 | case 1: *reinterpret_cast< QBrush*>(_v) = _t->foregroundBrush(); break; |
| 256 | case 2: *reinterpret_cast< bool*>(_v) = _t->isInteractive(); break; |
| 257 | case 3: *reinterpret_cast< QRectF*>(_v) = _t->sceneRect(); break; |
| 258 | case 4: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break; |
| 259 | case 5: *reinterpret_cast<int*>(_v) = QFlag(_t->renderHints()); break; |
| 260 | case 6: *reinterpret_cast< DragMode*>(_v) = _t->dragMode(); break; |
| 261 | case 7: *reinterpret_cast<int*>(_v) = QFlag(_t->cacheMode()); break; |
| 262 | case 8: *reinterpret_cast< ViewportAnchor*>(_v) = _t->transformationAnchor(); break; |
| 263 | case 9: *reinterpret_cast< ViewportAnchor*>(_v) = _t->resizeAnchor(); break; |
| 264 | case 10: *reinterpret_cast< ViewportUpdateMode*>(_v) = _t->viewportUpdateMode(); break; |
| 265 | case 11: *reinterpret_cast< Qt::ItemSelectionMode*>(_v) = _t->rubberBandSelectionMode(); break; |
| 266 | case 12: *reinterpret_cast<int*>(_v) = QFlag(_t->optimizationFlags()); break; |
| 267 | default: break; |
| 268 | } |
| 269 | } else if (_c == QMetaObject::WriteProperty) { |
| 270 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 271 | auto *_t = static_cast<QGraphicsView *>(_o); |
| 272 | Q_UNUSED(_t) |
| 273 | void *_v = _a[0]; |
| 274 | switch (_id) { |
| 275 | case 0: _t->setBackgroundBrush(*reinterpret_cast< QBrush*>(_v)); break; |
| 276 | case 1: _t->setForegroundBrush(*reinterpret_cast< QBrush*>(_v)); break; |
| 277 | case 2: _t->setInteractive(*reinterpret_cast< bool*>(_v)); break; |
| 278 | case 3: _t->setSceneRect(*reinterpret_cast< QRectF*>(_v)); break; |
| 279 | case 4: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break; |
| 280 | case 5: _t->setRenderHints(QFlag(*reinterpret_cast<int*>(_v))); break; |
| 281 | case 6: _t->setDragMode(*reinterpret_cast< DragMode*>(_v)); break; |
| 282 | case 7: _t->setCacheMode(QFlag(*reinterpret_cast<int*>(_v))); break; |
| 283 | case 8: _t->setTransformationAnchor(*reinterpret_cast< ViewportAnchor*>(_v)); break; |
| 284 | case 9: _t->setResizeAnchor(*reinterpret_cast< ViewportAnchor*>(_v)); break; |
| 285 | case 10: _t->setViewportUpdateMode(*reinterpret_cast< ViewportUpdateMode*>(_v)); break; |
| 286 | case 11: _t->setRubberBandSelectionMode(*reinterpret_cast< Qt::ItemSelectionMode*>(_v)); break; |
| 287 | case 12: _t->setOptimizationFlags(QFlag(*reinterpret_cast<int*>(_v))); break; |
| 288 | default: break; |
| 289 | } |
| 290 | } else if (_c == QMetaObject::ResetProperty) { |
| 291 | } else if (_c == QMetaObject::BindableProperty) { |
| 292 | } |
| 293 | #endif // QT_NO_PROPERTIES |
| 294 | } |
| 295 | |
| 296 | static const QMetaObject::SuperData [] = { |
| 297 | QMetaObject::SuperData::link<QPainter::staticMetaObject>(), |
| 298 | nullptr |
| 299 | }; |
| 300 | |
| 301 | const QMetaObject QGraphicsView::staticMetaObject = { { |
| 302 | QMetaObject::SuperData::link<QAbstractScrollArea::staticMetaObject>(), |
| 303 | qt_meta_stringdata_QGraphicsView.offsetsAndSize, |
| 304 | qt_meta_data_QGraphicsView, |
| 305 | qt_static_metacall, |
| 306 | qt_meta_extradata_QGraphicsView, |
| 307 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsView_t |
| 308 | , QtPrivate::TypeAndForceComplete<QBrush, std::true_type>, QtPrivate::TypeAndForceComplete<QBrush, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QRectF, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::Alignment, std::true_type>, QtPrivate::TypeAndForceComplete<QPainter::RenderHints, std::true_type>, QtPrivate::TypeAndForceComplete<DragMode, std::true_type>, QtPrivate::TypeAndForceComplete<CacheMode, std::true_type>, QtPrivate::TypeAndForceComplete<ViewportAnchor, std::true_type>, QtPrivate::TypeAndForceComplete<ViewportAnchor, std::true_type>, QtPrivate::TypeAndForceComplete<ViewportUpdateMode, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::ItemSelectionMode, std::true_type>, QtPrivate::TypeAndForceComplete<OptimizationFlags, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QRect, std::false_type>, QtPrivate::TypeAndForceComplete<QPointF, std::false_type>, QtPrivate::TypeAndForceComplete<QPointF, std::false_type> |
| 309 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QRectF> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>, QtPrivate::TypeAndForceComplete<QGraphicsScene::SceneLayers, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QWidget *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QCursor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 310 | |
| 311 | |
| 312 | >, |
| 313 | nullptr |
| 314 | } }; |
| 315 | |
| 316 | |
| 317 | const QMetaObject *QGraphicsView::metaObject() const |
| 318 | { |
| 319 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 320 | } |
| 321 | |
| 322 | void *QGraphicsView::qt_metacast(const char *_clname) |
| 323 | { |
| 324 | if (!_clname) return nullptr; |
| 325 | if (!strcmp(_clname, qt_meta_stringdata_QGraphicsView.stringdata0)) |
| 326 | return static_cast<void*>(this); |
| 327 | return QAbstractScrollArea::qt_metacast(_clname); |
| 328 | } |
| 329 | |
| 330 | int QGraphicsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 331 | { |
| 332 | _id = QAbstractScrollArea::qt_metacall(_c, _id, _a); |
| 333 | if (_id < 0) |
| 334 | return _id; |
| 335 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 336 | if (_id < 9) |
| 337 | qt_static_metacall(this, _c, _id, _a); |
| 338 | _id -= 9; |
| 339 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 340 | if (_id < 9) |
| 341 | qt_static_metacall(this, _c, _id, _a); |
| 342 | _id -= 9; |
| 343 | } |
| 344 | #ifndef QT_NO_PROPERTIES |
| 345 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 346 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 347 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 348 | qt_static_metacall(this, _c, _id, _a); |
| 349 | _id -= 13; |
| 350 | } |
| 351 | #endif // QT_NO_PROPERTIES |
| 352 | return _id; |
| 353 | } |
| 354 | |
| 355 | // SIGNAL 0 |
| 356 | void QGraphicsView::rubberBandChanged(QRect _t1, QPointF _t2, QPointF _t3) |
| 357 | { |
| 358 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) }; |
| 359 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 360 | } |
| 361 | QT_WARNING_POP |
| 362 | QT_END_MOC_NAMESPACE |
| 363 | |