diff options
| author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-10-22 10:59:32 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-28 08:49:38 +0100 |
| commit | 2e05a1578428fd8268512e12d88d90e93dcf5dff (patch) | |
| tree | 327e12635d172b12d8d126197eec54d50dff5b72 /src/corelib/statemachine/qstatemachine.cpp | |
| parent | 5a9de4c6768e413a56f0e7b6c67ea11db761cd58 (diff) | |
QtCore: Make more signals private.
Change-Id: Ida190e8b9c1ff47a6f54a5bf68673ab50a2f1bfe
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/corelib/statemachine/qstatemachine.cpp')
| -rw-r--r-- | src/corelib/statemachine/qstatemachine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index c8d2f39525c..bf33500676e 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -1408,14 +1408,14 @@ void QStateMachinePrivate::_q_start() qDebug() << q << ": initial configuration:" << configuration; #endif - emit q->started(); + emit q->started(QStateMachine::QPrivateSignal()); if (stopProcessingReason == Finished) { // The state machine immediately reached a final state. processingScheduled = false; state = NotRunning; unregisterAllTransitions(); - emit q->finished(); + emitFinished(); } else { _q_process(); } @@ -1497,13 +1497,13 @@ void QStateMachinePrivate::_q_process() state = NotRunning; cancelAllDelayedEvents(); unregisterAllTransitions(); - emit q->finished(); + emitFinished(); break; case Stopped: state = NotRunning; cancelAllDelayedEvents(); unregisterAllTransitions(); - emit q->stopped(); + emit q->stopped(QStateMachine::QPrivateSignal()); break; } } |
