From 2cf76ead26b39d93d339fe50c3f44ac63d13dda3 Mon Sep 17 00:00:00 2001 From: con Date: Fri, 15 Apr 2011 12:59:44 +0200 Subject: Move OutputFormatter to Utils lib. --- src/plugins/debugger/debuggerrunner.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/plugins/debugger/debuggerrunner.cpp') diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp index b1b5cee6f6..ecce430af0 100644 --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -55,10 +55,10 @@ #include #include #include -#include #include #include // For LocalApplication* +#include #include #include #include @@ -241,7 +241,7 @@ void DebuggerRunControl::start() // User canceled input dialog asking for executable when working on library project. if (d->m_engine->startParameters().startMode == StartInternal && d->m_engine->startParameters().executable.isEmpty()) { - appendMessage(tr("No executable specified.\n"), ErrorMessageFormat); + appendMessage(tr("No executable specified.\n"), Utils::ErrorMessageFormat); emit started(); emit finished(); return; @@ -257,12 +257,12 @@ void DebuggerRunControl::start() d->m_engine->startDebugger(this); if (d->m_running) - appendMessage(tr("Debugging starts\n"), NormalMessageFormat); + appendMessage(tr("Debugging starts\n"), Utils::NormalMessageFormat); } void DebuggerRunControl::startFailed() { - appendMessage(tr("Debugging has failed\n"), NormalMessageFormat); + appendMessage(tr("Debugging has failed\n"), Utils::NormalMessageFormat); d->m_running = false; emit finished(); d->m_engine->handleStartFailed(); @@ -270,7 +270,7 @@ void DebuggerRunControl::startFailed() void DebuggerRunControl::handleFinished() { - appendMessage(tr("Debugging has finished\n"), NormalMessageFormat); + appendMessage(tr("Debugging has finished\n"), Utils::NormalMessageFormat); if (d->m_engine) d->m_engine->handleFinished(); debuggerCore()->runControlFinished(d->m_engine); @@ -280,13 +280,13 @@ void DebuggerRunControl::showMessage(const QString &msg, int channel) { switch (channel) { case AppOutput: - appendMessage(msg, StdOutFormatSameLine); + appendMessage(msg, Utils::StdOutFormatSameLine); break; case AppError: - appendMessage(msg, StdErrFormatSameLine); + appendMessage(msg, Utils::StdErrFormatSameLine); break; case AppStuff: - appendMessage(msg, NormalMessageFormat); + appendMessage(msg, Utils::NormalMessageFormat); break; } } -- cgit v1.2.1