Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/corelib/animation/qanimationgroup_p.h

    r651 r769  
    7373    }
    7474
    75     virtual void animationInsertedAt(int index) { Q_UNUSED(index) };
    76     virtual void animationRemovedAt(int index);
     75    virtual void animationInsertedAt(int) { }
     76    virtual void animationRemoved(int, QAbstractAnimation *);
     77
     78    void disconnectUncontrolledAnimation(QAbstractAnimation *anim)
     79    {
     80        //0 for the signal here because we might be called from the animation destructor
     81        QObject::disconnect(anim, 0, q_func(), SLOT(_q_uncontrolledAnimationFinished()));
     82    }
     83
     84    void connectUncontrolledAnimation(QAbstractAnimation *anim)
     85    {
     86        QObject::connect(anim, SIGNAL(finished()), q_func(), SLOT(_q_uncontrolledAnimationFinished()));
     87    }
    7788
    7889    QList<QAbstractAnimation *> animations;
Note: See TracChangeset for help on using the changeset viewer.