beautified

This commit is contained in:
Uwe Rathmann 2018-07-05 13:25:02 +02:00
parent 852504da05
commit 3f28bd463f

View File

@ -355,18 +355,22 @@ void QskAnimator::done()
// nop
}
#if 1
// we should also have functor based callbacks too. TODO ...
#endif
QMetaObject::Connection QskAnimator::addCleanupHandler( QObject* receiver,
const char* method, Qt::ConnectionType type )
{
return QObject::connect( qskAnimatorDriver,
SIGNAL( terminated(QQuickWindow*) ), receiver, method, type );
SIGNAL(terminated(QQuickWindow*)), receiver, method, type );
}
QMetaObject::Connection QskAnimator::addAdvanceHandler( QObject* receiver,
const char* method, Qt::ConnectionType type )
{
return QObject::connect( qskAnimatorDriver,
SIGNAL( advanced(QQuickWindow*) ), receiver, method, type );
SIGNAL(advanced(QQuickWindow*)), receiver, method, type );
}
#ifndef QT_NO_DEBUG_STREAM