| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquicktranslate_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QQuickTranslatePrivate; | - |
| 5 | class __attribute__((visibility("default"))) QQuickTranslate : public QQuickTransform | - |
| 6 | { | - |
| 7 | public: | - |
| 8 | #pragma GCC diagnostic push | - |
| 9 | - | |
| 10 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 11 | 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); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
| 12 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 13 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 14 | #pragma GCC diagnostic pop | - |
| 15 | struct QPrivateSignal {}; | - |
| 16 | - | |
| 17 | - | |
| 18 | - | |
| 19 | - | |
| 20 | public: | - |
| 21 | QQuickTranslate(QObject *parent = nullptr); | - |
| 22 | ~QQuickTranslate(); | - |
| 23 | - | |
| 24 | qreal x() const; | - |
| 25 | void setX(qreal); | - |
| 26 | - | |
| 27 | qreal y() const; | - |
| 28 | void setY(qreal); | - |
| 29 | - | |
| 30 | void applyTo(QMatrix4x4 *matrix) const override; | - |
| 31 | - | |
| 32 | public : | - |
| 33 | void xChanged(); | - |
| 34 | void yChanged(); | - |
| 35 | - | |
| 36 | private: | - |
| 37 | inline QQuickTranslatePrivate* d_func() { return executed 12 times by 2 tests: reinterpret_cast<QQuickTranslatePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickTranslatePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 12 times by 2 tests: } inline const QQuickTranslatePrivate* d_func() const { returnreturn reinterpret_cast<QQuickTranslatePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 6 times by 2 tests: reinterpret_cast<const QQuickTranslatePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickTranslatePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 6 times by 2 tests: } friend class QQuickTranslatePrivate;return reinterpret_cast<const QQuickTranslatePrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 6-12 |
| 38 | QQuickTranslate(const QQuickTranslate &) = delete; QQuickTranslate &operator=(const QQuickTranslate &) = delete; | - |
| 39 | }; | - |
| 40 | - | |
| 41 | class QQuickScalePrivate; | - |
| 42 | class __attribute__((visibility("default"))) QQuickScale : public QQuickTransform | - |
| 43 | { | - |
| 44 | public: | - |
| 45 | #pragma GCC diagnostic push | - |
| 46 | - | |
| 47 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 48 | 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); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
| 49 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 50 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 51 | #pragma GCC diagnostic pop | - |
| 52 | struct QPrivateSignal {}; | - |
| 53 | - | |
| 54 | - | |
| 55 | - | |
| 56 | - | |
| 57 | - | |
| 58 | public: | - |
| 59 | QQuickScale(QObject *parent = nullptr); | - |
| 60 | ~QQuickScale(); | - |
| 61 | - | |
| 62 | QVector3D origin() const; | - |
| 63 | void setOrigin(const QVector3D &point); | - |
| 64 | - | |
| 65 | qreal xScale() const; | - |
| 66 | void setXScale(qreal); | - |
| 67 | - | |
| 68 | qreal yScale() const; | - |
| 69 | void setYScale(qreal); | - |
| 70 | - | |
| 71 | qreal zScale() const; | - |
| 72 | void setZScale(qreal); | - |
| 73 | - | |
| 74 | void applyTo(QMatrix4x4 *matrix) const override; | - |
| 75 | - | |
| 76 | public : | - |
| 77 | void originChanged(); | - |
| 78 | void xScaleChanged(); | - |
| 79 | void yScaleChanged(); | - |
| 80 | void zScaleChanged(); | - |
| 81 | void scaleChanged(); | - |
| 82 | - | |
| 83 | private: | - |
| 84 | inline QQuickScalePrivate* d_func() { return executed 16 times by 3 tests: reinterpret_cast<QQuickScalePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickScalePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 16 times by 3 tests: } inline const QQuickScalePrivate* d_func() const { returnreturn reinterpret_cast<QQuickScalePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 6 times by 2 tests: reinterpret_cast<const QQuickScalePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickScalePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 6 times by 2 tests: } friend class QQuickScalePrivate;return reinterpret_cast<const QQuickScalePrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 6-16 |
| 85 | }; | - |
| 86 | - | |
| 87 | class QQuickRotationPrivate; | - |
| 88 | class __attribute__((visibility("default"))) QQuickRotation : public QQuickTransform | - |
| 89 | { | - |
| 90 | public: | - |
| 91 | #pragma GCC diagnostic push | - |
| 92 | - | |
| 93 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 94 | 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); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
| 95 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 96 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 97 | #pragma GCC diagnostic pop | - |
| 98 | struct QPrivateSignal {}; | - |
| 99 | - | |
| 100 | - | |
| 101 | - | |
| 102 | - | |
| 103 | public: | - |
| 104 | QQuickRotation(QObject *parent = nullptr); | - |
| 105 | ~QQuickRotation(); | - |
| 106 | - | |
| 107 | QVector3D origin() const; | - |
| 108 | void setOrigin(const QVector3D &point); | - |
| 109 | - | |
| 110 | qreal angle() const; | - |
| 111 | void setAngle(qreal); | - |
| 112 | - | |
| 113 | QVector3D axis() const; | - |
| 114 | void setAxis(const QVector3D &axis); | - |
| 115 | void setAxis(Qt::Axis axis); | - |
| 116 | - | |
| 117 | void applyTo(QMatrix4x4 *matrix) const override; | - |
| 118 | - | |
| 119 | public : | - |
| 120 | void originChanged(); | - |
| 121 | void angleChanged(); | - |
| 122 | void axisChanged(); | - |
| 123 | - | |
| 124 | private: | - |
| 125 | inline QQuickRotationPrivate* d_func() { return executed 3412 times by 5 tests: reinterpret_cast<QQuickRotationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickRotationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 3412 times by 5 tests: } inline const QQuickRotationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickRotationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 3693 times by 5 tests: reinterpret_cast<const QQuickRotationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickRotationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 3693 times by 5 tests: } friend class QQuickRotationPrivate;return reinterpret_cast<const QQuickRotationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 3412-3693 |
| 126 | }; | - |
| 127 | - | |
| 128 | class QQuickMatrix4x4Private; | - |
| 129 | class __attribute__((visibility("default"))) QQuickMatrix4x4 : public QQuickTransform | - |
| 130 | { | - |
| 131 | public: | - |
| 132 | #pragma GCC diagnostic push | - |
| 133 | - | |
| 134 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 135 | 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); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
| 136 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 137 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 138 | #pragma GCC diagnostic pop | - |
| 139 | struct QPrivateSignal {}; | - |
| 140 | - | |
| 141 | - | |
| 142 | public: | - |
| 143 | QQuickMatrix4x4(QObject *parent = nullptr); | - |
| 144 | ~QQuickMatrix4x4(); | - |
| 145 | - | |
| 146 | QMatrix4x4 matrix() const; | - |
| 147 | void setMatrix(const QMatrix4x4& matrix); | - |
| 148 | - | |
| 149 | void applyTo(QMatrix4x4 *matrix) const override; | - |
| 150 | - | |
| 151 | public : | - |
| 152 | void matrixChanged(); | - |
| 153 | - | |
| 154 | private: | - |
| 155 | inline QQuickMatrix4x4Private* d_func() { return executed 2 times by 1 test: reinterpret_cast<QQuickMatrix4x4Private *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickMatrix4x4Private *>(qGetPtrHelper(d_ptr));Executed by:
executed 2 times by 1 test: } inline const QQuickMatrix4x4Private* d_func() const { returnreturn reinterpret_cast<QQuickMatrix4x4Private *>(qGetPtrHelper(d_ptr));Executed by:
executed 2 times by 1 test: reinterpret_cast<const QQuickMatrix4x4Private *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickMatrix4x4Private *>(qGetPtrHelper(d_ptr));Executed by:
executed 2 times by 1 test: } friend class QQuickMatrix4x4Private;return reinterpret_cast<const QQuickMatrix4x4Private *>(qGetPtrHelper(d_ptr));Executed by:
| 2 |
| 156 | }; | - |
| 157 | - | |
| 158 | - | |
| 159 | - | |
| 160 | - | |
| 161 | template <> struct QMetaTypeId< QQuickTranslate * > { 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< QQuickTranslate * >("QQuickTranslate *", reinterpret_cast< QQuickTranslate * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickTranslate> > { 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<QQuickTranslate> >("QQmlListProperty<QQuickTranslate>", reinterpret_cast< QQmlListProperty<QQuickTranslate> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| Switch to Source code | Preprocessed file |