beautified
This commit is contained in:
parent
50923fcf8c
commit
e5cb155350
|
@ -349,7 +349,7 @@ void QskAnimator::update()
|
||||||
|
|
||||||
if ( m_autoRepeat )
|
if ( m_autoRepeat )
|
||||||
{
|
{
|
||||||
double progress = std::fmod(( driverTime - m_startTime ), m_duration );
|
double progress = std::fmod( driverTime - m_startTime, m_duration );
|
||||||
progress /= m_duration;
|
progress /= m_duration;
|
||||||
|
|
||||||
advance( m_easingCurve.valueForProgress( progress ) );
|
advance( m_easingCurve.valueForProgress( progress ) );
|
||||||
|
|
|
@ -73,15 +73,15 @@ class QSK_EXPORT QskShortcutMap
|
||||||
|
|
||||||
template< typename T >
|
template< typename T >
|
||||||
static int addFunctionT(
|
static int addFunctionT(
|
||||||
QQuickItem* item, const QKeySequence&, bool autoRepeat,
|
QQuickItem*, const QKeySequence&, bool autoRepeat,
|
||||||
const QObject* receiver, T );
|
const QObject* receiver, T );
|
||||||
|
|
||||||
static int addFunction(
|
static int addFunction(
|
||||||
QQuickItem* item, const QKeySequence&, bool autoRepeat,
|
QQuickItem*, const QKeySequence&, bool autoRepeat,
|
||||||
const QObject* receiver, const QskMetaFunction& );
|
const QObject* receiver, const QskMetaFunction& );
|
||||||
|
|
||||||
static int addMethod(
|
static int addMethod(
|
||||||
QQuickItem* item, const QKeySequence&, bool autoRepeat,
|
QQuickItem*, const QKeySequence&, bool autoRepeat,
|
||||||
const QObject* receiver, const char* );
|
const QObject* receiver, const char* );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue