Line | Source | Count |
1 | | - |
2 | static_assert(bool(1 == 1), "Required feature " "quick_animatedimage" " for file " __FILE__ " not available."); | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | class QMovie; | - |
8 | | - |
9 | class QNetworkReply; | - |
10 | | - |
11 | | - |
12 | class QQuickAnimatedImagePrivate : public QQuickImagePrivate | - |
13 | { | - |
14 | inline QQuickAnimatedImage* q_func() { return static_cast<QQuickAnimatedImage *>(q_ptr); } inline const QQuickAnimatedImage* q_func() const { return static_cast<const QQuickAnimatedImage *>(q_ptr); } friend class QQuickAnimatedImage; | - |
15 | | - |
16 | public: | - |
17 | QQuickAnimatedImagePrivate() | - |
18 | : playing(true), paused(false), oldPlaying(false), padding(0) | - |
19 | , presetCurrentFrame(0), speed(1.0), currentSourceSize(0, 0), movie(nullptr) | - |
20 | | - |
21 | , reply(nullptr), redirectCount(0) | - |
22 | | - |
23 | { | - |
24 | }executed 90 times by 2 tests: end of block Executed by:- tst_examples
- tst_qquickanimatedimage
| 90 |
25 | | - |
26 | QQuickPixmap *infoForCurrentFrame(QQmlEngine *engine); | - |
27 | void setMovie(QMovie *movie); | - |
28 | | - |
29 | bool playing : 1; | - |
30 | bool paused : 1; | - |
31 | bool oldPlaying : 1; | - |
32 | unsigned padding: 29; | - |
33 | int presetCurrentFrame; | - |
34 | qreal speed; | - |
35 | QSize currentSourceSize; | - |
36 | QMovie *movie; | - |
37 | | - |
38 | QNetworkReply *reply; | - |
39 | int redirectCount; | - |
40 | | - |
41 | QMap<int, QQuickPixmap *> frameMap; | - |
42 | }; | - |
43 | | - |
44 | | - |
| | |