42 #ifndef QEVENTTRANSITION_H 43 #define QEVENTTRANSITION_H 45 #include <QtCore/qabstracttransition.h> 46 #include <QtCore/qcoreevent.h> 54 #ifndef QT_NO_STATEMACHINE 68 void setEventSource(
QObject *
object);
89 #endif //QT_NO_STATEMACHINE
#define QT_END_NAMESPACE
This macro expands to.
The QAbstractTransition class is the base class of transitions between QAbstractState objects...
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
virtual bool eventTest(QEvent *event)=0
This function is called to determine whether the given event should cause this transition to trigger...
The QObject class is the base class of all Qt objects.
QEvent::Type eventType
the type of event that this event transition is associated with
The QState class provides a general-purpose state for QStateMachine.
QObject * eventSource
the event source that this event transition is associated with
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QEventTransition class provides a QObject-specific transition for Qt events.
Type
This enum type defines the valid event types in Qt.
bool event(QEvent *e)
Reimplemented Function
#define Q_DECLARE_PRIVATE(Class)
The QEvent class is the base class of all event classes.
virtual void onTransition(QEvent *event)=0
This function is called when the transition is triggered.