Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QDeclarativeTransitionManagerPrivate Class Reference

Public Types

typedef QList< QDeclarativeSimpleActionSimpleActionList
 

Public Functions

void applyBindings ()
 
 QDeclarativeTransitionManagerPrivate ()
 

Public Variables

QDeclarativeStateOperation::ActionList bindingsList
 
SimpleActionList completeList
 
QDeclarativeStatestate
 
QDeclarativeGuard< QDeclarativeTransitiontransition
 

Detailed Description

Definition at line 55 of file qdeclarativetransitionmanager.cpp.

Typedefs

◆ SimpleActionList

Definition at line 62 of file qdeclarativetransitionmanager.cpp.

Constructors and Destructors

◆ QDeclarativeTransitionManagerPrivate()

QDeclarativeTransitionManagerPrivate::QDeclarativeTransitionManagerPrivate ( )
inline

Definition at line 58 of file qdeclarativetransitionmanager.cpp.

Functions

◆ applyBindings()

void QDeclarativeTransitionManagerPrivate::applyBindings ( )

Definition at line 99 of file qdeclarativetransitionmanager.cpp.

Referenced by QDeclarativeTransitionManager::complete(), QDeclarativeTransitionManagerPrivate(), and QDeclarativeTransitionManager::transition().

100 {
101  foreach(const QDeclarativeAction &action, bindingsList) {
102  if (!action.toBinding.isNull()) {
104  } else if (action.event) {
105  if (action.reverseEvent)
106  action.event->reverse();
107  else
108  action.event->execute();
109  }
110 
111  }
112 
114 }
QDeclarativeProperty property
bool isNull() const
Returns true if this object is holding a reference to a null pointer.
T * data() const
QDeclarativeStateOperation::ActionList bindingsList
virtual void execute(Reason reason=ActualChange)
QWeakPointer< QDeclarativeAbstractBinding > toBinding
void clear()
Removes all items from the list.
Definition: qlist.h:764
static QDeclarativeAbstractBinding * setBinding(QObject *, int coreIndex, int valueTypeIndex, QDeclarativeAbstractBinding *, WriteFlags flags=DontRemoveBinding)
QDeclarativeActionEvent * event
virtual void reverse(Reason reason=ActualChange)

Properties

◆ bindingsList

QDeclarativeStateOperation::ActionList QDeclarativeTransitionManagerPrivate::bindingsList

◆ completeList

SimpleActionList QDeclarativeTransitionManagerPrivate::completeList

◆ state

QDeclarativeState* QDeclarativeTransitionManagerPrivate::state

◆ transition

QDeclarativeGuard<QDeclarativeTransition> QDeclarativeTransitionManagerPrivate::transition

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