diff options
author | Erik Verbruggen <[email protected]> | 2010-04-19 10:48:50 +0200 |
---|---|---|
committer | Erik Verbruggen <[email protected]> | 2010-04-19 14:21:48 +0200 |
commit | 53425816af45809b4a23216ed49fc1e022206a52 (patch) | |
tree | 16709035b3b22cee629ac52b54ef0ba50c2bbec4 /src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp | |
parent | 890aca82aeaab8e76f094a80ef40842c348b3dbe (diff) |
Moved "Application Output" formatting to a specialized formatter.
By introducing the OutputFormatter, RunControls can influence the formatting
depening on the application started. A nice (and intended) side-effect is that
the QML runtime specific formatting will not interfere anymore with anything
else.
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp b/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp index 386334e3bc7..7b7c70636e1 100644 --- a/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp +++ b/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp @@ -27,6 +27,7 @@ ** **************************************************************************/ +#include "qmloutputformatter.h" #include "qmlprojectruncontrol.h" #include "qmlprojectrunconfiguration.h" #include "qmlprojectconstants.h" @@ -102,6 +103,11 @@ bool QmlRunControl::isRunning() const return m_applicationLauncher.isRunning(); } +ProjectExplorer::OutputFormatter *QmlRunControl::createOutputFormatter(QObject *parent) +{ + return new QmlOutputFormatter(parent); +} + void QmlRunControl::slotBringApplicationToForeground(qint64 pid) { bringApplicationToForeground(pid); |