equal
deleted
inserted
replaced
65 |
65 |
66 bool HsPropertyAnimationWrapper::isRunning() |
66 bool HsPropertyAnimationWrapper::isRunning() |
67 { |
67 { |
68 return (mImpl->mPropertyAnimation->state() == QAbstractAnimation::Running); |
68 return (mImpl->mPropertyAnimation->state() == QAbstractAnimation::Running); |
69 } |
69 } |
|
70 |
70 void HsPropertyAnimationWrapper::setEndValue(const QVariant &value) |
71 void HsPropertyAnimationWrapper::setEndValue(const QVariant &value) |
71 { |
72 { |
72 mImpl->mPropertyAnimation->setEndValue(value); |
73 mImpl->mPropertyAnimation->setEndValue(value); |
73 } |
74 } |
|
75 |
74 void HsPropertyAnimationWrapper::setDuration(int msecs) |
76 void HsPropertyAnimationWrapper::setDuration(int msecs) |
75 { |
77 { |
76 mImpl->mPropertyAnimation->setDuration(msecs); |
78 mImpl->mPropertyAnimation->setDuration(msecs); |
|
79 } |
|
80 |
|
81 void HsPropertyAnimationWrapper::setForward() |
|
82 { |
|
83 mImpl->mPropertyAnimation->setDirection(QAbstractAnimation::Forward); |
|
84 } |
|
85 |
|
86 void HsPropertyAnimationWrapper::setBackward() |
|
87 { |
|
88 mImpl->mPropertyAnimation->setDirection(QAbstractAnimation::Backward); |
|
89 } |
|
90 |
|
91 bool HsPropertyAnimationWrapper::isForward() const |
|
92 { |
|
93 return (mImpl->mPropertyAnimation->direction() == QAbstractAnimation::Forward); |
77 } |
94 } |
78 /*! |
95 /*! |
79 |
96 |
80 */ |
97 */ |
81 void HsPropertyAnimationWrapper::start() |
98 void HsPropertyAnimationWrapper::start() |
87 */ |
104 */ |
88 void HsPropertyAnimationWrapper::stop() |
105 void HsPropertyAnimationWrapper::stop() |
89 { |
106 { |
90 mImpl->mPropertyAnimation->stop(); |
107 mImpl->mPropertyAnimation->stop(); |
91 } |
108 } |
|
109 |