summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qeventtransition.cpp
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-10-02 15:01:51 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-10-02 15:04:15 (GMT)
commit5d2f84dc7aa757ea70b0d84b7802feef5515b92e (patch)
treec7a9d38fedaef1721d78333e903c4c4cc0546bcf /src/corelib/statemachine/qeventtransition.cpp
parenta5a02758bc1c924fdce529d68172c39fcfa5df0b (diff)
downloadQt-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.cpp2
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);