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

#include <qeventtransition_p.h>

Inheritance diagram for QEventTransitionPrivate:
QAbstractTransitionPrivate QObjectPrivate QObjectData QKeyEventTransitionPrivate QMouseEventTransitionPrivate

Public Functions

void maybeRegister ()
 
 QEventTransitionPrivate ()
 
void unregister ()
 
- Public Functions inherited from QAbstractTransitionPrivate
bool callEventTest (QEvent *e)
 
virtual void callOnTransition (QEvent *e)
 
void emitTriggered ()
 
QStateMachinemachine () const
 
 QAbstractTransitionPrivate ()
 
QStatesourceState () const
 
- 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 QEventTransitionPrivateget (QEventTransition *q)
 
- Static Public Functions inherited from QAbstractTransitionPrivate
static QAbstractTransitionPrivateget (QAbstractTransition *q)
 
- 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

QEvent::Type eventType
 
QObjectobject
 
bool registered
 
- Public Variables inherited from QAbstractTransitionPrivate
QList< QAbstractAnimation * > animations
 
QList< QWeakPointer< QAbstractState > > targetStates
 
- 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 61 of file qeventtransition_p.h.

Constructors and Destructors

◆ QEventTransitionPrivate()

QEventTransitionPrivate::QEventTransitionPrivate ( )

Definition at line 114 of file qeventtransition.cpp.

115 {
116  object = 0;
118  registered = false;
119 }

Functions

◆ get()

QEventTransitionPrivate * QEventTransitionPrivate::get ( QEventTransition q)
static

Definition at line 121 of file qeventtransition.cpp.

Referenced by QStateMachinePrivate::registerEventTransition(), and QStateMachinePrivate::unregisterEventTransition().

122 {
123  return q->d_func();
124 }

◆ maybeRegister()

void QEventTransitionPrivate::maybeRegister ( )

Definition at line 134 of file qeventtransition.cpp.

135 {
137  if (!machine() || !machine()->configuration().contains(sourceState()))
138  return;
140 }
#define Q_Q(Class)
Definition: qglobal.h:2483
static QStateMachinePrivate * get(QStateMachine *q)
The QEventTransition class provides a QObject-specific transition for Qt events.
void registerEventTransition(QEventTransition *transition)
QStateMachine * machine() const

◆ unregister()

void QEventTransitionPrivate::unregister ( )

Definition at line 126 of file qeventtransition.cpp.

127 {
129  if (!registered || !machine())
130  return;
132 }
#define Q_Q(Class)
Definition: qglobal.h:2483
void unregisterEventTransition(QEventTransition *transition)
static QStateMachinePrivate * get(QStateMachine *q)
The QEventTransition class provides a QObject-specific transition for Qt events.
QStateMachine * machine() const

Properties

◆ eventType

QEvent::Type QEventTransitionPrivate::eventType

Definition at line 74 of file qeventtransition_p.h.

Referenced by QEventTransitionPrivate().

◆ object

QObject* QEventTransitionPrivate::object

◆ registered

bool QEventTransitionPrivate::registered

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