mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
do not export QUnifiedTimer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6744bef4d9
commit
8de78d247f
2 changed files with 2 additions and 3 deletions
|
@ -398,7 +398,7 @@ void QAbstractAnimationPrivate::setState(QAbstractAnimation::State newState)
|
|||
if (oldState == QAbstractAnimation::Running) {
|
||||
if (newState == QAbstractAnimation::Paused && hasRegisteredTimer)
|
||||
QUnifiedTimer::ensureTimerUpdate();
|
||||
//the animation, is not running any more
|
||||
// the animation is not running any more
|
||||
QUnifiedTimer::unregisterAnimation(q);
|
||||
} else if (newState == QAbstractAnimation::Running) {
|
||||
QUnifiedTimer::registerAnimation(q, isTopLevel);
|
||||
|
|
|
@ -114,12 +114,11 @@ private:
|
|||
QBasicTimer m_timer;
|
||||
};
|
||||
|
||||
class Q_GUI_EXPORT QUnifiedTimer : public QObject
|
||||
class QUnifiedTimer : public QObject
|
||||
{
|
||||
public:
|
||||
QUnifiedTimer();
|
||||
|
||||
//XXX this is needed by dui
|
||||
static QUnifiedTimer *instance();
|
||||
|
||||
static void registerAnimation(QAbstractAnimation *animation, bool isTopLevel);
|
||||
|
|
Loading…
Add table
Reference in a new issue