| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickpathinterpolator_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||||||||||||||
| 2 | static_assert(bool(1 == 1), "Required feature " "quick_path" " for file " __FILE__ " not available."); | - | ||||||||||||||||||||||||
| 3 | - | |||||||||||||||||||||||||
| 4 | - | |||||||||||||||||||||||||
| 5 | - | |||||||||||||||||||||||||
| 6 | - | |||||||||||||||||||||||||
| 7 | class QQuickPath; | - | ||||||||||||||||||||||||
| 8 | class __attribute__((visibility("default"))) QQuickPathInterpolator : 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 | - | |||||||||||||||||||||||||
| 20 | - | |||||||||||||||||||||||||
| 21 | - | |||||||||||||||||||||||||
| 22 | - | |||||||||||||||||||||||||
| 23 | - | |||||||||||||||||||||||||
| 24 | public: | - | ||||||||||||||||||||||||
| 25 | explicit QQuickPathInterpolator(QObject *parent = nullptr); | - | ||||||||||||||||||||||||
| 26 | - | |||||||||||||||||||||||||
| 27 | QQuickPath *path() const; | - | ||||||||||||||||||||||||
| 28 | void setPath(QQuickPath *path); | - | ||||||||||||||||||||||||
| 29 | - | |||||||||||||||||||||||||
| 30 | qreal progress() const; | - | ||||||||||||||||||||||||
| 31 | void setProgress(qreal progress); | - | ||||||||||||||||||||||||
| 32 | - | |||||||||||||||||||||||||
| 33 | qreal x() const; | - | ||||||||||||||||||||||||
| 34 | qreal y() const; | - | ||||||||||||||||||||||||
| 35 | qreal angle() const; | - | ||||||||||||||||||||||||
| 36 | - | |||||||||||||||||||||||||
| 37 | public : | - | ||||||||||||||||||||||||
| 38 | void pathChanged(); | - | ||||||||||||||||||||||||
| 39 | void progressChanged(); | - | ||||||||||||||||||||||||
| 40 | void xChanged(); | - | ||||||||||||||||||||||||
| 41 | void yChanged(); | - | ||||||||||||||||||||||||
| 42 | void angleChanged(); | - | ||||||||||||||||||||||||
| 43 | - | |||||||||||||||||||||||||
| 44 | private : | - | ||||||||||||||||||||||||
| 45 | void _q_pathUpdated(); | - | ||||||||||||||||||||||||
| 46 | - | |||||||||||||||||||||||||
| 47 | private: | - | ||||||||||||||||||||||||
| 48 | QQuickPath *_path; | - | ||||||||||||||||||||||||
| 49 | qreal _x; | - | ||||||||||||||||||||||||
| 50 | qreal _y; | - | ||||||||||||||||||||||||
| 51 | qreal _angle; | - | ||||||||||||||||||||||||
| 52 | qreal _progress; | - | ||||||||||||||||||||||||
| 53 | }; | - | ||||||||||||||||||||||||
| 54 | - | |||||||||||||||||||||||||
| 55 | - | |||||||||||||||||||||||||
| 56 | - | |||||||||||||||||||||||||
| 57 | template <> struct QMetaTypeId< QQuickPathInterpolator * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const
never executed: id;return id;never executed: const int newId = qRegisterMetaType< QQuickPathInterpolator * >("QQuickPathInterpolator *", reinterpret_cast< QQuickPathInterpolator * *>(quintptr(-1))); metatype_id.storeRelease(newId); returnreturn id;never executed: newId;return newId;never executed: } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickPathInterpolator> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (constreturn newId;
never executed: id;return id;never executed: const int newId = qRegisterMetaType< QQmlListProperty<QQuickPathInterpolator> >("QQmlListProperty<QQuickPathInterpolator>", reinterpret_cast< QQmlListProperty<QQuickPathInterpolator> *>(quintptr(-1))); metatype_id.storeRelease(newId); returnreturn id;never executed: newId;return newId;never executed: } };return newId; | 0 | ||||||||||||||||||||||||
| Switch to Source code | Preprocessed file |