Move OutputFormatter to Utils lib.

This commit is contained in:
con
2011-04-15 12:59:44 +02:00
parent 28c92cf044
commit 2cf76ead26
38 changed files with 168 additions and 148 deletions

View File

@@ -200,8 +200,8 @@ void QmlEngine::setupInferior()
SIGNAL(processExited(int)),
SLOT(disconnected()));
connect(&d->m_applicationLauncher,
SIGNAL(appendMessage(QString,ProjectExplorer::OutputFormat)),
SLOT(appendMessage(QString,ProjectExplorer::OutputFormat)));
SIGNAL(appendMessage(QString,Utils::OutputFormat)),
SLOT(appendMessage(QString,Utils::OutputFormat)));
connect(&d->m_applicationLauncher,
SIGNAL(bringToForegroundRequested(qint64)),
runControl(),
@@ -214,7 +214,7 @@ void QmlEngine::setupInferior()
}
}
void QmlEngine::appendMessage(const QString &msg, OutputFormat /* format */)
void QmlEngine::appendMessage(const QString &msg, Utils::OutputFormat /* format */)
{
showMessage(msg, AppOutput); // FIXME: Redirect to RunControl
}
@@ -392,7 +392,7 @@ void QmlEngine::startApplicationLauncher()
QDir::toNativeSeparators(startParameters().executable),
startParameters().processArgs)
+ QLatin1Char('\n')
, NormalMessageFormat);
, Utils::NormalMessageFormat);
d->m_applicationLauncher.start(ApplicationLauncher::Gui,
startParameters().executable,
startParameters().processArgs);