Qt 4.8
Classes | Functions
qvariantanimation.h File Reference
#include <QtCore/qeasingcurve.h>
#include <QtCore/qabstractanimation.h>
#include <QtCore/qvector.h>
#include <QtCore/qvariant.h>
#include <QtCore/qpair.h>

Go to the source code of this file.

Classes

class  QVariantAnimation
 The QVariantAnimation class provides an abstract base class for animations. More...
 

Function Documentation

◆ qRegisterAnimationInterpolator()

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

Definition at line 120 of file qvariantanimation.h.

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