QmlDebug: Renaming

Move Status enum out of QmlDebugClient and drop "QmlDebug"
prefix for the different 'Reference' structs. Allows to
avoid 'using namespace in QmlDebug' in header files.

Change-Id: Id9857977300e86d637cf128ff3417d8b24c8e995
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Kai Koehne
2012-05-10 10:29:11 +02:00
parent e9277df87b
commit b2a2a7cc18
28 changed files with 296 additions and 296 deletions

View File

@@ -61,14 +61,14 @@ bool BaseQmlDebuggerClient::acceptsBreakpoint(const BreakpointModelId &/*id*/)
return false;
}
void BaseQmlDebuggerClient::statusChanged(Status status)
void BaseQmlDebuggerClient::statusChanged(QmlDebug::ClientStatus status)
{
emit newStatus(status);
}
void BaseQmlDebuggerClient::sendMessage(const QByteArray &msg)
{
if (status() == Enabled) {
if (status() == QmlDebug::Enabled) {
QmlDebugClient::sendMessage(msg);
} else {
d->sendBuffer.append(msg);
@@ -77,7 +77,7 @@ void BaseQmlDebuggerClient::sendMessage(const QByteArray &msg)
void BaseQmlDebuggerClient::flushSendBuffer()
{
QTC_ASSERT(status() == QmlDebugClient::Enabled, return);
QTC_ASSERT(status() == QmlDebug::Enabled, return);
foreach (const QByteArray &msg, d->sendBuffer)
QmlDebugClient::sendMessage(msg);
d->sendBuffer.clear();