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

@@ -54,12 +54,12 @@ void QmlTaskManager::documentUpdated(QmlJS::Document::Ptr /*doc*/)
m_taskWindow->clearTasks(Constants::TASK_CATEGORY_QML);
foreach (const QmlJS::DiagnosticMessage &msg, doc->diagnosticMessages()) {
ProjectExplorer::TaskWindow::TaskType type
= msg.isError() ? ProjectExplorer::TaskWindow::Error
: ProjectExplorer::TaskWindow::Warning;
ProjectExplorer::Task::TaskType type
= msg.isError() ? ProjectExplorer::Task::Error
: ProjectExplorer::Task::Warning;
ProjectExplorer::TaskWindow::Task task(type, msg.message, doc->fileName(), msg.loc.startLine,
Constants::TASK_CATEGORY_QML);
ProjectExplorer::Task task(type, msg.message, doc->fileName(), msg.loc.startLine,
Constants::TASK_CATEGORY_QML);
m_taskWindow->addTask(task);
}
#endif