Move TaskWindow::Task out of the nesting to ProjectExplorer::

Since otherwise we can't forward declare it.
This commit is contained in:
dt
2010-03-12 13:53:00 +01:00
parent 4d8a264fb8
commit 7c11c4d8b0
22 changed files with 293 additions and 292 deletions

View File

@@ -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);