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/qstatemachine.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/qstatemachine.cpp')
-rw-r--r-- | src/corelib/statemachine/qstatemachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index c7144e4..e182c88 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -2206,7 +2206,7 @@ QSignalEventGenerator::QSignalEventGenerator(QStateMachine *parent) */ QStateMachine::SignalEvent::SignalEvent(QObject *sender, int signalIndex, const QList<QVariant> &arguments) - : QEvent(QEvent::Signal), m_sender(sender), + : QEvent(QEvent::StateMachineSignal), m_sender(sender), m_signalIndex(signalIndex), m_arguments(arguments) { } @@ -2269,7 +2269,7 @@ QStateMachine::SignalEvent::~SignalEvent() The WrappedEvent object takes ownership of \a event. */ QStateMachine::WrappedEvent::WrappedEvent(QObject *object, QEvent *event) - : QEvent(QEvent::Wrapped), m_object(object), m_event(event) + : QEvent(QEvent::StateMachineWrapped), m_object(object), m_event(event) { } |