| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickitem.h | 
| Switch to Source code | Preprocessed file | 
| Line | Source | Count | 
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | class QQuickItem; | - | 
| 7 | class QQuickTransformPrivate; | - | 
| 8 | class __attribute__((visibility("default"))) QQuickTransform : public QObject | - | 
| 9 | { | - | 
| 10 | public: | - | 
| 11 | #pragma GCC diagnostic push | - | 
| 12 | - | |
| 13 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - | 
| 14 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - | 
| 15 | #pragma GCC diagnostic ignored "-Wattributes" | - | 
| 16 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - | 
| 17 | #pragma GCC diagnostic pop | - | 
| 18 | struct QPrivateSignal {}; | - | 
| 19 | public: | - | 
| 20 | explicit QQuickTransform(QObject *parent = nullptr); | - | 
| 21 | ~QQuickTransform() override; | - | 
| 22 | - | |
| 23 | void appendToItem(QQuickItem *); | - | 
| 24 | void prependToItem(QQuickItem *); | - | 
| 25 | - | |
| 26 | virtual void applyTo(QMatrix4x4 *matrix) const = 0; | - | 
| 27 | - | |
| 28 | protected : | - | 
| 29 | void update(); | - | 
| 30 | - | |
| 31 | protected: | - | 
| 32 | QQuickTransform(QQuickTransformPrivate &dd, QObject *parent); | - | 
| 33 | - | |
| 34 | private: | - | 
| 35 | inline QQuickTransformPrivate* d_func() { return executed 5178 times by 7 tests: reinterpret_cast<QQuickTransformPrivate *>(qGetPtrHelper(d_ptr)); return reinterpret_cast<QQuickTransformPrivate *>(qGetPtrHelper(d_ptr));Executed by: 
 executed 5178 times by 7 tests: } inline const QQuickTransformPrivate* d_func() const { return return reinterpret_cast<QQuickTransformPrivate *>(qGetPtrHelper(d_ptr));Executed by: 
 never executed: reinterpret_cast<const QQuickTransformPrivate *>(qGetPtrHelper(d_ptr)); return reinterpret_cast<const QQuickTransformPrivate *>(qGetPtrHelper(d_ptr));never executed: } friend class QQuickTransformPrivate; return reinterpret_cast<const QQuickTransformPrivate *>(qGetPtrHelper(d_ptr)); | 0-5178 | 
| 36 | }; | - | 
| 37 | - | |
| 38 | class QCursor; | - | 
| 39 | class QQuickItemLayer; | - | 
| 40 | class QQmlV4Function; | - | 
| 41 | class QQuickState; | - | 
| 42 | class QQuickAnchorLine; | - | 
| 43 | class QQuickTransition; | - | 
| 44 | class QQuickKeyEvent; | - | 
| 45 | class QQuickAnchors; | - | 
| 46 | class QQuickItemPrivate; | - | 
| 47 | class QQuickWindow; | - | 
| 48 | class QTouchEvent; | - | 
| 49 | class QSGNode; | - | 
| 50 | class QSGTransformNode; | - | 
| 51 | class QSGTextureProvider; | - | 
| 52 | class QQuickItemGrabResult; | - | 
| 53 | - | |
| 54 | class __attribute__((visibility("default"))) QQuickItem : public QObject, public QQmlParserStatus | - | 
| 55 | { | - | 
| 56 | public: | - | 
| 57 | #pragma GCC diagnostic push | - | 
| 58 | - | |
| 59 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - | 
| 60 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - | 
| 61 | #pragma GCC diagnostic ignored "-Wattributes" | - | 
| 62 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - | 
| 63 | #pragma GCC diagnostic pop | - | 
| 64 | struct QPrivateSignal {}; | - | 
| 65 | - | |
| 66 | - | |
| 67 | - | |
| 68 | - | |
| 69 | - | |
| 70 | - | |
| 71 | - | |
| 72 | - | |
| 73 | - | |
| 74 | - | |
| 75 | - | |
| 76 | - | |
| 77 | - | |
| 78 | - | |
| 79 | - | |
| 80 | - | |
| 81 | - | |
| 82 | - | |
| 83 | - | |
| 84 | - | |
| 85 | - | |
| 86 | - | |
| 87 | - | |
| 88 | - | |
| 89 | - | |
| 90 | - | |
| 91 | - | |
| 92 | - | |
| 93 | - | |
| 94 | - | |
| 95 | - | |
| 96 | - | |
| 97 | - | |
| 98 | - | |
| 99 | - | |
| 100 | - | |
| 101 | - | |
| 102 | - | |
| 103 | - | |
| 104 | - | |
| 105 | - | |
| 106 | - | |
| 107 | - | |
| 108 | - | |
| 109 | - | |
| 110 | - | |
| 111 | - | |
| 112 | - | |
| 113 | - | |
| 114 | - | |
| 115 | - | |
| 116 | - | |
| 117 | - | |
| 118 | - | |
| 119 | - | |
| 120 | public: | - | 
| 121 | enum Flag { | - | 
| 122 | ItemClipsChildrenToShape = 0x01, | - | 
| 123 | - | |
| 124 | ItemAcceptsInputMethod = 0x02, | - | 
| 125 | - | |
| 126 | ItemIsFocusScope = 0x04, | - | 
| 127 | ItemHasContents = 0x08, | - | 
| 128 | ItemAcceptsDrops = 0x10 | - | 
| 129 | - | |
| 130 | }; | - | 
| 131 | typedef QFlags<Flag> Flags; | - | 
| 132 | - | |
| 133 | enum ItemChange { | - | 
| 134 | ItemChildAddedChange, | - | 
| 135 | ItemChildRemovedChange, | - | 
| 136 | ItemSceneChange, | - | 
| 137 | ItemVisibleHasChanged, | - | 
| 138 | ItemParentHasChanged, | - | 
| 139 | ItemOpacityHasChanged, | - | 
| 140 | ItemActiveFocusHasChanged, | - | 
| 141 | ItemRotationHasChanged, | - | 
| 142 | ItemAntialiasingHasChanged, | - | 
| 143 | ItemDevicePixelRatioHasChanged, | - | 
| 144 | ItemEnabledHasChanged | - | 
| 145 | }; | - | 
| 146 | - | |
| 147 | union ItemChangeData { | - | 
| 148 | ItemChangeData(QQuickItem *v) : item(v) {} executed 1634904 times by 107 tests:  end of blockExecuted by: 
 | 1634904 | 
| 149 | ItemChangeData(QQuickWindow *v) : window(v) {} executed 807166 times by 91 tests:  end of blockExecuted by: 
 | 807166 | 
| 150 | ItemChangeData(qreal v) : realValue(v) {} executed 29177 times by 26 tests:  end of blockExecuted by: 
 | 29177 | 
| 151 | ItemChangeData(bool v) : boolValue(v) {} executed 18690 times by 45 tests:  end of blockExecuted by: 
 | 18690 | 
| 152 | - | |
| 153 | QQuickItem *item; | - | 
| 154 | QQuickWindow *window; | - | 
| 155 | qreal realValue; | - | 
| 156 | bool boolValue; | - | 
| 157 | }; | - | 
| 158 | - | |
| 159 | enum TransformOrigin { | - | 
| 160 | TopLeft, Top, TopRight, | - | 
| 161 | Left, Center, Right, | - | 
| 162 | BottomLeft, Bottom, BottomRight | - | 
| 163 | }; | - | 
| 164 | friend constexpr const QMetaObject *qt_getEnumMetaObject(TransformOrigin) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(TransformOrigin) noexcept { return "TransformOrigin"; } | - | 
| 165 | - | |
| 166 | explicit QQuickItem(QQuickItem *parent = nullptr); | - | 
| 167 | ~QQuickItem() override; | - | 
| 168 | - | |
| 169 | QQuickWindow *window() const; | - | 
| 170 | QQuickItem *parentItem() const; | - | 
| 171 | void setParentItem(QQuickItem *parent); | - | 
| 172 | void stackBefore(const QQuickItem *); | - | 
| 173 | void stackAfter(const QQuickItem *); | - | 
| 174 | - | |
| 175 | QRectF childrenRect(); | - | 
| 176 | QList<QQuickItem *> childItems() const; | - | 
| 177 | - | |
| 178 | bool clip() const; | - | 
| 179 | void setClip(bool); | - | 
| 180 | - | |
| 181 | QString state() const; | - | 
| 182 | void setState(const QString &); | - | 
| 183 | - | |
| 184 | qreal baselineOffset() const; | - | 
| 185 | void setBaselineOffset(qreal); | - | 
| 186 | - | |
| 187 | QQmlListProperty<QQuickTransform> transform(); | - | 
| 188 | - | |
| 189 | qreal x() const; | - | 
| 190 | qreal y() const; | - | 
| 191 | QPointF position() const; | - | 
| 192 | void setX(qreal); | - | 
| 193 | void setY(qreal); | - | 
| 194 | void setPosition(const QPointF &); | - | 
| 195 | - | |
| 196 | qreal width() const; | - | 
| 197 | void setWidth(qreal); | - | 
| 198 | void resetWidth(); | - | 
| 199 | void setImplicitWidth(qreal); | - | 
| 200 | qreal implicitWidth() const; | - | 
| 201 | - | |
| 202 | qreal height() const; | - | 
| 203 | void setHeight(qreal); | - | 
| 204 | void resetHeight(); | - | 
| 205 | void setImplicitHeight(qreal); | - | 
| 206 | qreal implicitHeight() const; | - | 
| 207 | - | |
| 208 | QSizeF size() const; | - | 
| 209 | void setSize(const QSizeF &size); | - | 
| 210 | - | |
| 211 | TransformOrigin transformOrigin() const; | - | 
| 212 | void setTransformOrigin(TransformOrigin); | - | 
| 213 | QPointF transformOriginPoint() const; | - | 
| 214 | void setTransformOriginPoint(const QPointF &); | - | 
| 215 | - | |
| 216 | qreal z() const; | - | 
| 217 | void setZ(qreal); | - | 
| 218 | - | |
| 219 | qreal rotation() const; | - | 
| 220 | void setRotation(qreal); | - | 
| 221 | qreal scale() const; | - | 
| 222 | void setScale(qreal); | - | 
| 223 | - | |
| 224 | qreal opacity() const; | - | 
| 225 | void setOpacity(qreal); | - | 
| 226 | - | |
| 227 | bool isVisible() const; | - | 
| 228 | void setVisible(bool); | - | 
| 229 | - | |
| 230 | bool isEnabled() const; | - | 
| 231 | void setEnabled(bool); | - | 
| 232 | - | |
| 233 | bool smooth() const; | - | 
| 234 | void setSmooth(bool); | - | 
| 235 | - | |
| 236 | bool activeFocusOnTab() const; | - | 
| 237 | void setActiveFocusOnTab(bool); | - | 
| 238 | - | |
| 239 | bool antialiasing() const; | - | 
| 240 | void setAntialiasing(bool); | - | 
| 241 | void resetAntialiasing(); | - | 
| 242 | - | |
| 243 | Flags flags() const; | - | 
| 244 | void setFlag(Flag flag, bool enabled = true); | - | 
| 245 | void setFlags(Flags flags); | - | 
| 246 | - | |
| 247 | virtual QRectF boundingRect() const; | - | 
| 248 | virtual QRectF clipRect() const; | - | 
| 249 | - | |
| 250 | bool hasActiveFocus() const; | - | 
| 251 | bool hasFocus() const; | - | 
| 252 | void setFocus(bool); | - | 
| 253 | void setFocus(bool focus, Qt::FocusReason reason); | - | 
| 254 | bool isFocusScope() const; | - | 
| 255 | QQuickItem *scopedFocusItem() const; | - | 
| 256 | - | |
| 257 | bool isAncestorOf(const QQuickItem *child) const; | - | 
| 258 | - | |
| 259 | Qt::MouseButtons acceptedMouseButtons() const; | - | 
| 260 | void setAcceptedMouseButtons(Qt::MouseButtons buttons); | - | 
| 261 | bool acceptHoverEvents() const; | - | 
| 262 | void setAcceptHoverEvents(bool enabled); | - | 
| 263 | bool acceptTouchEvents() const; | - | 
| 264 | void setAcceptTouchEvents(bool accept); | - | 
| 265 | - | |
| 266 | - | |
| 267 | QCursor cursor() const; | - | 
| 268 | void setCursor(const QCursor &cursor); | - | 
| 269 | void unsetCursor(); | - | 
| 270 | - | |
| 271 | - | |
| 272 | bool isUnderMouse() const; | - | 
| 273 | void grabMouse(); | - | 
| 274 | void ungrabMouse(); | - | 
| 275 | bool keepMouseGrab() const; | - | 
| 276 | void setKeepMouseGrab(bool); | - | 
| 277 | bool filtersChildMouseEvents() const; | - | 
| 278 | void setFiltersChildMouseEvents(bool filter); | - | 
| 279 | - | |
| 280 | void grabTouchPoints(const QVector<int> &ids); | - | 
| 281 | void ungrabTouchPoints(); | - | 
| 282 | bool keepTouchGrab() const; | - | 
| 283 | void setKeepTouchGrab(bool); | - | 
| 284 | - | |
| 285 | - | |
| 286 | bool grabToImage(const QJSValue &callback, const QSize &targetSize = QSize()); | - | 
| 287 | QSharedPointer<QQuickItemGrabResult> grabToImage(const QSize &targetSize = QSize()); | - | 
| 288 | - | |
| 289 | virtual bool contains(const QPointF &point) const; | - | 
| 290 | QObject *containmentMask() const; | - | 
| 291 | void setContainmentMask(QObject *mask); | - | 
| 292 | - | |
| 293 | QTransform itemTransform(QQuickItem *, bool *) const; | - | 
| 294 | QPointF mapToItem(const QQuickItem *item, const QPointF &point) const; | - | 
| 295 | QPointF mapToScene(const QPointF &point) const; | - | 
| 296 | QPointF mapToGlobal(const QPointF &point) const; | - | 
| 297 | QRectF mapRectToItem(const QQuickItem *item, const QRectF &rect) const; | - | 
| 298 | QRectF mapRectToScene(const QRectF &rect) const; | - | 
| 299 | QPointF mapFromItem(const QQuickItem *item, const QPointF &point) const; | - | 
| 300 | QPointF mapFromScene(const QPointF &point) const; | - | 
| 301 | QPointF mapFromGlobal(const QPointF &point) const; | - | 
| 302 | QRectF mapRectFromItem(const QQuickItem *item, const QRectF &rect) const; | - | 
| 303 | QRectF mapRectFromScene(const QRectF &rect) const; | - | 
| 304 | - | |
| 305 | void polish(); | - | 
| 306 | - | |
| 307 | void mapFromItem(QQmlV4Function*) const; | - | 
| 308 | void mapToItem(QQmlV4Function*) const; | - | 
| 309 | void mapFromGlobal(QQmlV4Function*) const; | - | 
| 310 | void mapToGlobal(QQmlV4Function*) const; | - | 
| 311 | void forceActiveFocus(); | - | 
| 312 | void forceActiveFocus(Qt::FocusReason reason); | - | 
| 313 | QQuickItem *nextItemInFocusChain(bool forward = true); | - | 
| 314 | QQuickItem *childAt(qreal x, qreal y) const; | - | 
| 315 | - | |
| 316 | - | |
| 317 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; | - | 
| 318 | - | |
| 319 | - | |
| 320 | struct UpdatePaintNodeData { | - | 
| 321 | QSGTransformNode *transformNode; | - | 
| 322 | private: | - | 
| 323 | friend class QQuickWindowPrivate; | - | 
| 324 | UpdatePaintNodeData(); | - | 
| 325 | }; | - | 
| 326 | - | |
| 327 | virtual bool isTextureProvider() const; | - | 
| 328 | virtual QSGTextureProvider *textureProvider() const; | - | 
| 329 | - | |
| 330 | public : | - | 
| 331 | void update(); | - | 
| 332 | - | |
| 333 | public : | - | 
| 334 | void childrenRectChanged(const QRectF &); | - | 
| 335 | void baselineOffsetChanged(qreal); | - | 
| 336 | void stateChanged(const QString &); | - | 
| 337 | void focusChanged(bool); | - | 
| 338 | void activeFocusChanged(bool); | - | 
| 339 | void activeFocusOnTabChanged(bool); | - | 
| 340 | void parentChanged(QQuickItem *); | - | 
| 341 | void transformOriginChanged(TransformOrigin); | - | 
| 342 | void smoothChanged(bool); | - | 
| 343 | void antialiasingChanged(bool); | - | 
| 344 | void clipChanged(bool); | - | 
| 345 | void windowChanged(QQuickWindow* window); | - | 
| 346 | - | |
| 347 | void childrenChanged(); | - | 
| 348 | void opacityChanged(); | - | 
| 349 | void enabledChanged(); | - | 
| 350 | void visibleChanged(); | - | 
| 351 | void visibleChildrenChanged(); | - | 
| 352 | void rotationChanged(); | - | 
| 353 | void scaleChanged(); | - | 
| 354 | - | |
| 355 | void xChanged(); | - | 
| 356 | void yChanged(); | - | 
| 357 | void widthChanged(); | - | 
| 358 | void heightChanged(); | - | 
| 359 | void zChanged(); | - | 
| 360 | void implicitWidthChanged(); | - | 
| 361 | void implicitHeightChanged(); | - | 
| 362 | void containmentMaskChanged(); | - | 
| 363 | - | |
| 364 | protected: | - | 
| 365 | bool event(QEvent *) override; | - | 
| 366 | - | |
| 367 | bool isComponentComplete() const; | - | 
| 368 | virtual void itemChange(ItemChange, const ItemChangeData &); | - | 
| 369 | - | |
| 370 | - | |
| 371 | void updateInputMethod(Qt::InputMethodQueries queries = Qt::ImQueryInput); | - | 
| 372 | - | |
| 373 | - | |
| 374 | bool widthValid() const; | - | 
| 375 | bool heightValid() const; | - | 
| 376 | void setImplicitSize(qreal, qreal); | - | 
| 377 | - | |
| 378 | void classBegin() override; | - | 
| 379 | void componentComplete() override; | - | 
| 380 | - | |
| 381 | virtual void keyPressEvent(QKeyEvent *event); | - | 
| 382 | virtual void keyReleaseEvent(QKeyEvent *event); | - | 
| 383 | - | |
| 384 | virtual void inputMethodEvent(QInputMethodEvent *); | - | 
| 385 | - | |
| 386 | virtual void focusInEvent(QFocusEvent *); | - | 
| 387 | virtual void focusOutEvent(QFocusEvent *); | - | 
| 388 | virtual void mousePressEvent(QMouseEvent *event); | - | 
| 389 | virtual void mouseMoveEvent(QMouseEvent *event); | - | 
| 390 | virtual void mouseReleaseEvent(QMouseEvent *event); | - | 
| 391 | virtual void mouseDoubleClickEvent(QMouseEvent *event); | - | 
| 392 | virtual void mouseUngrabEvent(); | - | 
| 393 | virtual void touchUngrabEvent(); | - | 
| 394 | - | |
| 395 | virtual void wheelEvent(QWheelEvent *event); | - | 
| 396 | - | |
| 397 | virtual void touchEvent(QTouchEvent *event); | - | 
| 398 | virtual void hoverEnterEvent(QHoverEvent *event); | - | 
| 399 | virtual void hoverMoveEvent(QHoverEvent *event); | - | 
| 400 | virtual void hoverLeaveEvent(QHoverEvent *event); | - | 
| 401 | - | |
| 402 | virtual void dragEnterEvent(QDragEnterEvent *); | - | 
| 403 | virtual void dragMoveEvent(QDragMoveEvent *); | - | 
| 404 | virtual void dragLeaveEvent(QDragLeaveEvent *); | - | 
| 405 | virtual void dropEvent(QDropEvent *); | - | 
| 406 | - | |
| 407 | virtual bool childMouseEventFilter(QQuickItem *, QEvent *); | - | 
| 408 | virtual void windowDeactivateEvent(); | - | 
| 409 | - | |
| 410 | virtual void geometryChanged(const QRectF &newGeometry, | - | 
| 411 | const QRectF &oldGeometry); | - | 
| 412 | - | |
| 413 | virtual QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *); | - | 
| 414 | virtual void releaseResources(); | - | 
| 415 | virtual void updatePolish(); | - | 
| 416 | - | |
| 417 | protected: | - | 
| 418 | QQuickItem(QQuickItemPrivate &dd, QQuickItem *parent = nullptr); | - | 
| 419 | - | |
| 420 | private: | - | 
| 421 | - | |
| 422 | - | |
| 423 | - | |
| 424 | friend class QQuickEventPoint; | - | 
| 425 | friend class QQuickWindow; | - | 
| 426 | friend class QQuickWindowPrivate; | - | 
| 427 | friend class QSGRenderer; | - | 
| 428 | friend class QAccessibleQuickItem; | - | 
| 429 | friend class QQuickAccessibleAttached; | - | 
| 430 | QQuickItem(const QQuickItem &) = delete; QQuickItem &operator=(const QQuickItem &) = delete; | - | 
| 431 | inline QQuickItemPrivate* d_func() { return executed 22066964 times by 128 tests: reinterpret_cast<QQuickItemPrivate *>(qGetPtrHelper(d_ptr)); return reinterpret_cast<QQuickItemPrivate *>(qGetPtrHelper(d_ptr));Executed by: 
 executed 22066964 times by 128 tests: } inline const QQuickItemPrivate* d_func() const { return return reinterpret_cast<QQuickItemPrivate *>(qGetPtrHelper(d_ptr));Executed by: 
 executed 40630359 times by 125 tests: reinterpret_cast<const QQuickItemPrivate *>(qGetPtrHelper(d_ptr)); return reinterpret_cast<const QQuickItemPrivate *>(qGetPtrHelper(d_ptr));Executed by: 
 executed 40630359 times by 125 tests: } friend class QQuickItemPrivate; return reinterpret_cast<const QQuickItemPrivate *>(qGetPtrHelper(d_ptr));Executed by: 
 | 22066964-40630359 | 
| 432 | }; | - | 
| 433 | - | |
| 434 | constexpr inline QFlags<QQuickItem::Flags::enum_type> operator|(QQuickItem::Flags::enum_type f1, QQuickItem::Flags::enum_type f2) noexcept { return QFlags<QQuickItem::Flags::enum_type>(f1) | f2; } constexpr inline QFlags<QQuickItem::Flags::enum_type> operator|(QQuickItem::Flags::enum_type f1, QFlags<QQuickItem::Flags::enum_type> f2) noexcept { return f2 | f1; } constexpr inline QIncompatibleFlag operator|(QQuickItem::Flags::enum_type f1, int f2) noexcept { return QIncompatibleFlag(int(f1) | f2); } | - | 
| 435 | - | |
| 436 | - | |
| 437 | QDebug __attribute__((visibility("default"))) operator<<(QDebug debug, QQuickItem *item); | - | 
| 438 | - | |
| 439 | - | |
| 440 | - | |
| 441 | - | |
| 442 | template <> struct QMetaTypeId< QQuickItem * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickItem * >("QQuickItem *", reinterpret_cast< QQuickItem * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickItem> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickItem> >("QQmlListProperty<QQuickItem>", reinterpret_cast< QQmlListProperty<QQuickItem> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - | 
| 443 | template <> struct QMetaTypeId< QQuickTransform * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickTransform * >("QQuickTransform *", reinterpret_cast< QQuickTransform * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickTransform> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickTransform> >("QQmlListProperty<QQuickTransform>", reinterpret_cast< QQmlListProperty<QQuickTransform> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - | 
| Switch to Source code | Preprocessed file |