homescreenapp/hsutils/inc/hspropertyanimationwrapper.h
changeset 71 1db7cc813a4e
parent 69 87476091b3f5
equal deleted inserted replaced
69:87476091b3f5 71:1db7cc813a4e
    23 #include "hsutils_global.h"
    23 #include "hsutils_global.h"
    24 #include "hstest_global.h"
    24 #include "hstest_global.h"
    25 
    25 
    26 HOMESCREEN_TEST_CLASS(t_hsUtils)
    26 HOMESCREEN_TEST_CLASS(t_hsUtils)
    27 
    27 
       
    28 class QEasingCurve;
       
    29 
    28 struct HsPropertyAnimationWrapperImpl;
    30 struct HsPropertyAnimationWrapperImpl;
    29 class HSUTILS_EXPORT HsPropertyAnimationWrapper : public QObject
    31 class HSUTILS_EXPORT HsPropertyAnimationWrapper : public QObject
    30 {
    32 {
    31     Q_OBJECT
    33     Q_OBJECT
    32 
    34 
    40     void setEndValue(const QVariant &value);
    42     void setEndValue(const QVariant &value);
    41     void setDuration(int msecs);
    43     void setDuration(int msecs);
    42     void setForward();
    44     void setForward();
    43     void setBackward();
    45     void setBackward();
    44     bool isForward() const;
    46     bool isForward() const;
       
    47     void setEasingCurve(const QEasingCurve &curve);
    45 
    48 
    46 signals:
    49 signals:
    47     void finished();
    50     void finished();
    48 
    51 
    49 public slots:
    52 public slots: