| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickspritesequence_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | static_assert(bool(1 == 1), "Required feature " "quick_sprite" " for file " __FILE__ " not available."); | - |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | - | |
| 7 | class QSGContext; | - |
| 8 | class QQuickSprite; | - |
| 9 | class QQuickSpriteEngine; | - |
| 10 | class QQuickSpriteSequencePrivate; | - |
| 11 | class QSGSpriteNode; | - |
| 12 | class __attribute__((visibility("default"))) QQuickSpriteSequence : public QQuickItem | - |
| 13 | { | - |
| 14 | public: | - |
| 15 | #pragma GCC diagnostic push | - |
| 16 | - | |
| 17 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 18 | 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: | - |
| 19 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 20 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 21 | #pragma GCC diagnostic pop | - |
| 22 | struct QPrivateSignal {}; | - |
| 23 | - | |
| 24 | - | |
| 25 | - | |
| 26 | - | |
| 27 | - | |
| 28 | - | |
| 29 | - | |
| 30 | - | |
| 31 | public: | - |
| 32 | explicit QQuickSpriteSequence(QQuickItem *parent = nullptr); | - |
| 33 | - | |
| 34 | QQmlListProperty<QQuickSprite> sprites(); | - |
| 35 | - | |
| 36 | bool running() const; | - |
| 37 | bool interpolate() const; | - |
| 38 | QString goalSprite() const; | - |
| 39 | QString currentSprite() const; | - |
| 40 | - | |
| 41 | public : | - |
| 42 | - | |
| 43 | void runningChanged(bool arg); | - |
| 44 | void interpolateChanged(bool arg); | - |
| 45 | void goalSpriteChanged(const QString &arg); | - |
| 46 | void currentSpriteChanged(const QString &arg); | - |
| 47 | - | |
| 48 | public : | - |
| 49 | - | |
| 50 | void jumpTo(const QString &sprite); | - |
| 51 | void setGoalSprite(const QString &sprite); | - |
| 52 | void setRunning(bool arg); | - |
| 53 | void setInterpolate(bool arg); | - |
| 54 | - | |
| 55 | private : | - |
| 56 | void createEngine(); | - |
| 57 | - | |
| 58 | protected: | - |
| 59 | void reset(); | - |
| 60 | QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *) override; | - |
| 61 | private: | - |
| 62 | void prepareNextFrame(QSGSpriteNode *node); | - |
| 63 | QSGSpriteNode* initNode(); | - |
| 64 | - | |
| 65 | - | |
| 66 | private: | - |
| 67 | QQuickSpriteSequence(const QQuickSpriteSequence &) = delete; QQuickSpriteSequence &operator=(const QQuickSpriteSequence &) = delete; | - |
| 68 | inline QQuickSpriteSequencePrivate* d_func() { return executed 2250 times by 2 tests: reinterpret_cast<QQuickSpriteSequencePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickSpriteSequencePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 2250 times by 2 tests: } inline const QQuickSpriteSequencePrivate* d_func() const { returnreturn reinterpret_cast<QQuickSpriteSequencePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 17 times by 1 test: reinterpret_cast<const QQuickSpriteSequencePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickSpriteSequencePrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 17 times by 1 test: } friend class QQuickSpriteSequencePrivate;return reinterpret_cast<const QQuickSpriteSequencePrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 17-2250 |
| 69 | }; | - |
| 70 | - | |
| 71 | - | |
| Switch to Source code | Preprocessed file |