summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qmakeparser.cpp
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2010-03-12 13:53:00 +0100
committerdt <qtc-committer@nokia.com>2010-03-12 15:00:15 +0100
commit7c11c4d8b07054a87bd59551f3209679371a8d23 (patch)
treefefc2b72492696b22128547ff26c0624164f1164 /src/plugins/qt4projectmanager/qmakeparser.cpp
parent4d8a264fb8f6ca57b7715394ed253f2e8f1e1936 (diff)
downloadqt-creator-7c11c4d8b07054a87bd59551f3209679371a8d23.tar.gz
Move TaskWindow::Task out of the nesting to ProjectExplorer::
Since otherwise we can't forward declare it.
Diffstat (limited to 'src/plugins/qt4projectmanager/qmakeparser.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qmakeparser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/qt4projectmanager/qmakeparser.cpp b/src/plugins/qt4projectmanager/qmakeparser.cpp
index 24a9117208..14971e7fe6 100644
--- a/src/plugins/qt4projectmanager/qmakeparser.cpp
+++ b/src/plugins/qt4projectmanager/qmakeparser.cpp
@@ -36,7 +36,7 @@
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;
-using ProjectExplorer::TaskWindow;
+using ProjectExplorer::Task;
QMakeParser::QMakeParser()
{
@@ -47,11 +47,11 @@ void QMakeParser::stdError(const QString &line)
QString lne(line.trimmed());
if (lne.startsWith(QLatin1String("Project ERROR:"))) {
const QString description = lne.mid(15);
- emit addTask(TaskWindow::Task(TaskWindow::Error,
- description,
- QString() /* filename */,
- -1 /* linenumber */,
- ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM));
+ emit addTask(Task(Task::Error,
+ description,
+ QString() /* filename */,
+ -1 /* linenumber */,
+ ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM));
return;
}
IOutputParser::stdError(line);