QtCore/qvariantanimation.h File Reference

qvariantanimation.h File Reference

Classes

class  QVariantAnimation
 

Functions

template<typename T >
void qRegisterAnimationInterpolator (QVariant(*func)(const T &from, const T &to, qreal progress))
 

Function Documentation

void qRegisterAnimationInterpolator ( QVariant(*)(const T &from, const T &to, qreal progress)  func)

Definition at line 120 of file qvariantanimation.h.

120  {
121  QVariantAnimation::registerInterpolator(reinterpret_cast<QVariantAnimation::Interpolator>(func), qMetaTypeId<T>());
122 }

Go to the source code of this file.