Changeset View
Changeset View
Standalone View
Standalone View
libkcardgame/kcard_p.h
Show All 26 Lines | |||||
27 | #include <QAbstractAnimation> | 27 | #include <QAbstractAnimation> | ||
28 | class QPropertyAnimation; | 28 | class QPropertyAnimation; | ||
29 | 29 | | |||
30 | 30 | | |||
31 | class KCardAnimation : public QAbstractAnimation | 31 | class KCardAnimation : public QAbstractAnimation | ||
32 | { | 32 | { | ||
33 | public: | 33 | public: | ||
34 | KCardAnimation( KCardPrivate * d, int duration, QPointF pos, qreal rotation, bool faceUp ); | 34 | KCardAnimation( KCardPrivate * d, int duration, QPointF pos, qreal rotation, bool faceUp ); | ||
35 | int duration() const Q_DECL_OVERRIDE; | 35 | int duration() const override; | ||
36 | void updateCurrentTime( int msec ) Q_DECL_OVERRIDE; | 36 | void updateCurrentTime( int msec ) override; | ||
37 | 37 | | |||
38 | private: | 38 | private: | ||
39 | KCardPrivate * d; | 39 | KCardPrivate * d; | ||
40 | 40 | | |||
41 | int m_duration; | 41 | int m_duration; | ||
42 | 42 | | |||
43 | qreal m_x0; | 43 | qreal m_x0; | ||
44 | qreal m_y0; | 44 | qreal m_y0; | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |