QmlJSDebugger: Renamed "execution paused" to "animation paused"

The latter better describes what is paused, since expressions are
actually still executed.

Suggested by Kai.
This commit is contained in:
Thorbjørn Lindeijer
2011-03-22 10:37:14 +01:00
parent 0a813cd67c
commit a8bf2ba5e3
16 changed files with 52 additions and 52 deletions

View File

@@ -114,13 +114,13 @@ void QmlJSObserverClient::messageReceived(const QByteArray &message)
emit animationSpeedChanged(slowDownFactor);
break;
}
case ObserverProtocol::ExecutionPausedChanged: {
case ObserverProtocol::AnimationPausedChanged: {
bool paused;
ds >> paused;
log(LogReceive, type, paused ? QLatin1String("true") : QLatin1String("false"));
emit executionPausedChanged(paused);
emit animationPausedChanged(paused);
break;
}
case ObserverProtocol::SetDesignMode: {
@@ -318,7 +318,7 @@ void QmlJSObserverClient::setAnimationSpeed(qreal slowDownFactor)
sendMessage(message);
}
void QmlJSObserverClient::setExecutionPaused(bool paused)
void QmlJSObserverClient::setAnimationPaused(bool paused)
{
if (!m_connection || !m_connection->isConnected())
return;
@@ -326,7 +326,7 @@ void QmlJSObserverClient::setExecutionPaused(bool paused)
QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly);
ObserverProtocol::Message cmd = ObserverProtocol::SetExecutionPaused;
ObserverProtocol::Message cmd = ObserverProtocol::SetAnimationPaused;
ds << cmd
<< paused;