Qt 4.8
Public Functions | Static Public Functions | Public Variables | List of all members
QDeclarativeAnimationGroupPrivate Class Reference

#include <qdeclarativeanimation_p_p.h>

Inheritance diagram for QDeclarativeAnimationGroupPrivate:
QDeclarativeAbstractAnimationPrivate QObjectPrivate QObjectData QDeclarativeParentAnimationPrivate

Public Functions

 QDeclarativeAnimationGroupPrivate ()
 
- Public Functions inherited from QDeclarativeAbstractAnimationPrivate
void commence ()
 
 QDeclarativeAbstractAnimationPrivate ()
 
- Public Functions inherited from QObjectPrivate
void _q_reregisterTimers (void *pointer)
 
void addConnection (int signal, Connection *c)
 
void cleanConnectionLists ()
 
void connectNotify (const char *signal)
 
void deleteChildren ()
 
void disconnectNotify (const char *signal)
 
bool isSender (const QObject *receiver, const char *signal) const
 
bool isSignalConnected (uint signalIdx) const
 Returns true if the signal with index signal_index from object sender is connected. More...
 
void moveToThread_helper ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void setParent_helper (QObject *)
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
int signalIndex (const char *signalName) const
 Returns the signal index used in the internal connectionLists vector. More...
 
virtual ~QObjectPrivate ()
 
- Public Functions inherited from QObjectData
virtual ~QObjectData ()=0
 

Static Public Functions

static void append_animation (QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list, QDeclarativeAbstractAnimation *role)
 
static void clear_animation (QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list)
 
- Static Public Functions inherited from QDeclarativeAbstractAnimationPrivate
static QDeclarativeProperty createProperty (QObject *obj, const QString &str, QObject *infoObj)
 
- Static Public Functions inherited from QObjectPrivate
static void clearGuards (QObject *)
 
static QObjectPrivateget (QObject *o)
 
static void resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender)
 
static SendersetCurrentSender (QObject *receiver, Sender *sender)
 
static void signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result)
 

Public Variables

QAnimationGroupag
 
QList< QDeclarativeAbstractAnimation * > animations
 
- Public Variables inherited from QDeclarativeAbstractAnimationPrivate
bool alwaysRunToEnd:1
 
bool avoidPropertyValueSourceStart:1
 
bool componentComplete:1
 
bool connectedTimeLine:1
 
QDeclarativeProperty defaultProperty
 
bool disableUserControl:1
 
QDeclarativeAnimationGroupgroup
 
int loopCount
 
bool paused:1
 
bool registered:1
 
bool running:1
 
- Public Variables inherited from QObjectPrivate
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
quint32 connectedSignals [2]
 
QObjectConnectionListVectorconnectionLists
 
SendercurrentSender
 
QList< QPointer< QObject > > eventFilters
 
ExtraDataextraData
 
QString objectName
 
Connectionsenders
 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
 
QThreadDatathreadData
 
void * unused
 
- Public Variables inherited from QObjectData
uint blockSig: 1
 
QObjectList children
 
uint hasGuards: 1
 
uint inEventHandler: 1
 
uint inThreadChangeEvent: 1
 
uint isWidget: 1
 
QMetaObjectmetaObject
 
uint ownObjectName: 1
 
QObjectparent
 
uint pendTimer: 1
 
int postedEvents
 
QObjectq_ptr
 
uint receiveChildEvents: 1
 
uint sendChildEvents: 1
 
uint unused: 22
 
uint wasDeleted: 1
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 

Detailed Description

Definition at line 288 of file qdeclarativeanimation_p_p.h.

Constructors and Destructors

◆ QDeclarativeAnimationGroupPrivate()

QDeclarativeAnimationGroupPrivate::QDeclarativeAnimationGroupPrivate ( )
inline

Functions

◆ append_animation()

void QDeclarativeAnimationGroupPrivate::append_animation ( QDeclarativeListProperty< QDeclarativeAbstractAnimation > *  list,
QDeclarativeAbstractAnimation role 
)
static

Definition at line 1619 of file qdeclarativeanimation.cpp.

Referenced by QDeclarativeAnimationGroup::~QDeclarativeAnimationGroup().

1620 {
1622  if (q) {
1623  a->setGroup(q);
1624  // This is an optimization for the parenting that already occurs via addAnimation
1625  QDeclarative_setParent_noEvent(a->qtAnimation(), q->d_func()->ag);
1626  q->d_func()->ag->addAnimation(a->qtAnimation());
1627  }
1628 }
T qobject_cast(QObject *object)
Definition: qobject.h:375
long ASN1_INTEGER_get ASN1_INTEGER * a
void QDeclarative_setParent_noEvent(QObject *object, QObject *parent)
Makes the object a child of parent.

◆ clear_animation()

void QDeclarativeAnimationGroupPrivate::clear_animation ( QDeclarativeListProperty< QDeclarativeAbstractAnimation > *  list)
static

Definition at line 1630 of file qdeclarativeanimation.cpp.

Referenced by QDeclarativeAnimationGroup::~QDeclarativeAnimationGroup().

1631 {
1633  if (q) {
1634  while (q->d_func()->animations.count()) {
1635  QDeclarativeAbstractAnimation *firstAnim = q->d_func()->animations.at(0);
1637  q->d_func()->ag->removeAnimation(firstAnim->qtAnimation());
1638  firstAnim->setGroup(0);
1639  }
1640  }
1641 }
T qobject_cast(QObject *object)
Definition: qobject.h:375
void setGroup(QDeclarativeAnimationGroup *)
virtual QAbstractAnimation * qtAnimation()=0
void QDeclarative_setParent_noEvent(QObject *object, QObject *parent)
Makes the object a child of parent.
QDeclarativeListProperty< QDeclarativeAbstractAnimation > animations

Properties

◆ ag

QAnimationGroup* QDeclarativeAnimationGroupPrivate::ag

Definition at line 298 of file qdeclarativeanimation_p_p.h.

◆ animations

QList<QDeclarativeAbstractAnimation *> QDeclarativeAnimationGroupPrivate::animations

Definition at line 297 of file qdeclarativeanimation_p_p.h.


The documentation for this class was generated from the following files: