diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-10-02 15:01:51 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-10-02 15:04:15 (GMT) |
commit | 5d2f84dc7aa757ea70b0d84b7802feef5515b92e (patch) | |
tree | c7a9d38fedaef1721d78333e903c4c4cc0546bcf /src/corelib/statemachine/qeventtransition.cpp | |
parent | a5a02758bc1c924fdce529d68172c39fcfa5df0b (diff) | |
download | Qt-5d2f84dc7aa757ea70b0d84b7802feef5515b92e.zip Qt-5d2f84dc7aa757ea70b0d84b7802feef5515b92e.tar.gz Qt-5d2f84dc7aa757ea70b0d84b7802feef5515b92e.tar.bz2 |
Add prefix to statemachine-specific event types
"Signal" and "Wrapped" is too generic; prefix with StateMachine.
Reviewed-by: Eskil Abrahamsen Blomfeldt
Diffstat (limited to 'src/corelib/statemachine/qeventtransition.cpp')
-rw-r--r-- | src/corelib/statemachine/qeventtransition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/statemachine/qeventtransition.cpp b/src/corelib/statemachine/qeventtransition.cpp index f278371..949f39e 100644 --- a/src/corelib/statemachine/qeventtransition.cpp +++ b/src/corelib/statemachine/qeventtransition.cpp @@ -231,7 +231,7 @@ void QEventTransition::setEventSource(QObject *object) bool QEventTransition::eventTest(QEvent *event) { Q_D(const QEventTransition); - if (event->type() == QEvent::Wrapped) { + if (event->type() == QEvent::StateMachineWrapped) { QStateMachine::WrappedEvent *we = static_cast<QStateMachine::WrappedEvent*>(event); return (we->object() == d->object) && (we->event()->type() == d->eventType); |