Qt 4.8
Public Functions | Static Public Functions | Public Variables | List of all members
QDeclarativeTransitionPrivate Class Reference
Inheritance diagram for QDeclarativeTransitionPrivate:
QObjectPrivate QObjectData

Public Functions

void complete ()
 
 QDeclarativeTransitionPrivate ()
 
- 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 QDeclarativeAbstractAnimationanimation_at (QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list, int pos)
 
static int animation_count (QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list)
 
static void append_animation (QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list, QDeclarativeAbstractAnimation *a)
 
static void clear_animations (QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list)
 
- 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

QList< QDeclarativeAbstractAnimation * > animations
 
QDeclarativeTransitionManagerendState
 
QString fromState
 
ParallelAnimationWrapper group
 
bool reversed
 
bool reversible
 
QString toState
 
- 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 113 of file qdeclarativetransition.cpp.

Constructors and Destructors

◆ QDeclarativeTransitionPrivate()

QDeclarativeTransitionPrivate::QDeclarativeTransitionPrivate ( )
inline

Definition at line 117 of file qdeclarativetransition.cpp.

119  reversed(false), reversible(false), endState(0)
120  {
121  group.trans = this;
122  }
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QDeclarativeTransitionManager * endState
QDeclarativeTransitionPrivate * trans

Functions

◆ animation_at()

QDeclarativeAbstractAnimation * QDeclarativeTransitionPrivate::animation_at ( QDeclarativeListProperty< QDeclarativeAbstractAnimation > *  list,
int  pos 
)
static

Definition at line 156 of file qdeclarativetransition.cpp.

Referenced by QDeclarativeTransition::setToState().

157 {
158  QDeclarativeTransition *q = static_cast<QDeclarativeTransition *>(list->object);
159  return q->d_func()->animations.at(pos);
160 }
QDeclarativeListProperty< QDeclarativeAbstractAnimation > animations

◆ animation_count()

int QDeclarativeTransitionPrivate::animation_count ( QDeclarativeListProperty< QDeclarativeAbstractAnimation > *  list)
static

Definition at line 150 of file qdeclarativetransition.cpp.

Referenced by QDeclarativeTransition::setToState().

151 {
152  QDeclarativeTransition *q = static_cast<QDeclarativeTransition *>(list->object);
153  return q->d_func()->animations.count();
154 }
QDeclarativeListProperty< QDeclarativeAbstractAnimation > animations

◆ append_animation()

void QDeclarativeTransitionPrivate::append_animation ( QDeclarativeListProperty< QDeclarativeAbstractAnimation > *  list,
QDeclarativeAbstractAnimation a 
)
static

Definition at line 142 of file qdeclarativetransition.cpp.

Referenced by QDeclarativeTransition::setToState().

143 {
144  QDeclarativeTransition *q = static_cast<QDeclarativeTransition *>(list->object);
145  q->d_func()->animations.append(a);
146  q->d_func()->group.addAnimation(a->qtAnimation());
148 }
QDeclarativeListProperty< QDeclarativeAbstractAnimation > animations
virtual QAbstractAnimation * qtAnimation()=0

◆ clear_animations()

void QDeclarativeTransitionPrivate::clear_animations ( QDeclarativeListProperty< QDeclarativeAbstractAnimation > *  list)
static

Definition at line 162 of file qdeclarativetransition.cpp.

Referenced by QDeclarativeTransition::setToState().

163 {
164  QDeclarativeTransition *q = static_cast<QDeclarativeTransition *>(list->object);
165  while (q->d_func()->animations.count()) {
166  QDeclarativeAbstractAnimation *firstAnim = q->d_func()->animations.at(0);
167  q->d_func()->group.removeAnimation(firstAnim->qtAnimation());
168  q->d_func()->animations.removeAll(firstAnim);
169  }
170 }
QDeclarativeListProperty< QDeclarativeAbstractAnimation > animations
virtual QAbstractAnimation * qtAnimation()=0

◆ complete()

void QDeclarativeTransitionPrivate::complete ( )
inline

Definition at line 131 of file qdeclarativetransition.cpp.

Referenced by ParallelAnimationWrapper::updateState().

132  {
133  endState->complete();
134  }
QDeclarativeTransitionManager * endState

Properties

◆ animations

QList<QDeclarativeAbstractAnimation *> QDeclarativeTransitionPrivate::animations

Definition at line 139 of file qdeclarativetransition.cpp.

◆ endState

QDeclarativeTransitionManager* QDeclarativeTransitionPrivate::endState

Definition at line 129 of file qdeclarativetransition.cpp.

◆ fromState

QString QDeclarativeTransitionPrivate::fromState

Definition at line 124 of file qdeclarativetransition.cpp.

◆ group

ParallelAnimationWrapper QDeclarativeTransitionPrivate::group

Definition at line 128 of file qdeclarativetransition.cpp.

◆ reversed

bool QDeclarativeTransitionPrivate::reversed

Definition at line 126 of file qdeclarativetransition.cpp.

◆ reversible

bool QDeclarativeTransitionPrivate::reversible

Definition at line 127 of file qdeclarativetransition.cpp.

◆ toState

QString QDeclarativeTransitionPrivate::toState

Definition at line 125 of file qdeclarativetransition.cpp.


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