24 QQuickWindow* window()
const;
25 void setWindow( QQuickWindow* );
27 void setEasingCurve( QEasingCurve::Type type );
28 void setEasingCurve(
const QEasingCurve& );
30 const QEasingCurve& easingCurve()
const;
32 void setAutoRepeat(
bool );
33 bool autoRepeat()
const;
35 void setDuration(
int ms );
38 bool isRunning()
const;
39 qint64 elapsed()
const;
45 static QMetaObject::Connection addCleanupHandler(
46 QObject* receiver,
const char* method,
47 Qt::ConnectionType type = Qt::AutoConnection );
49 static QMetaObject::Connection addAdvanceHandler(
50 QObject* receiver,
const char* method,
51 Qt::ConnectionType type = Qt::AutoConnection );
53#ifndef QT_NO_DEBUG_STREAM
54 static void debugStatistics( QDebug );
59 virtual void advance( qreal value ) = 0;
63 QQuickWindow* m_window;
66 QEasingCurve m_easingCurve;
69 bool m_autoRepeat =
false;