src/corelib/animation/qvariantanimation.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   101 protected:
   101 protected:
   102     QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0);
   102     QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = 0);
   103     bool event(QEvent *event);
   103     bool event(QEvent *event);
   104 
   104 
   105     void updateCurrentTime(int);
   105     void updateCurrentTime(int);
   106     void updateState(QAbstractAnimation::State oldState, QAbstractAnimation::State newState);
   106     void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
   107 
   107 
   108     virtual void updateCurrentValue(const QVariant &value) = 0;
   108     virtual void updateCurrentValue(const QVariant &value) = 0;
   109     virtual QVariant interpolated(const QVariant &from, const QVariant &to, qreal progress) const;
   109     virtual QVariant interpolated(const QVariant &from, const QVariant &to, qreal progress) const;
   110 
   110 
   111 private:
   111 private: