diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-10 11:05:36 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-10 12:18:58 (GMT) |
commit | 6d4acbe94c71f7c0049cd08944855c23a716bee3 (patch) | |
tree | 7fefc3c55896e9f50175ba275f34e7ceb1542d21 /examples/effects/fademessage/fademessage.h | |
parent | d845505fd57ad4b06499b5b125703e80bbae692a (diff) | |
download | Qt-6d4acbe94c71f7c0049cd08944855c23a716bee3.zip Qt-6d4acbe94c71f7c0049cd08944855c23a716bee3.tar.gz Qt-6d4acbe94c71f7c0049cd08944855c23a716bee3.tar.bz2 |
Make the new examples for effects use the Qt Animation Framework
Task-number: QTBUG-5640
Reviewed-by: Leo
Diffstat (limited to 'examples/effects/fademessage/fademessage.h')
-rw-r--r-- | examples/effects/fademessage/fademessage.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/effects/fademessage/fademessage.h b/examples/effects/fademessage/fademessage.h index 34e2fb8..e73ef6b 100644 --- a/examples/effects/fademessage/fademessage.h +++ b/examples/effects/fademessage/fademessage.h @@ -44,7 +44,7 @@ #include <QGraphicsEffect> #include <QGraphicsView> -#include <QTimeLine> +#include <QPropertyAnimation> #include "fademessage.h" @@ -62,11 +62,10 @@ private slots: void togglePopup(); private: - qreal m_index; QGraphicsScene m_scene; QGraphicsColorizeEffect *m_effect; QGraphicsItem *m_message; - QTimeLine *m_timeLine; + QPropertyAnimation *m_animation; }; #endif // FADEMESSAGE_H |