summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/task.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-06-20 14:32:40 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-06-23 15:04:04 +0200
commit4eb2908c44033f884b82560360440ebb3269af63 (patch)
tree673f05b88cd32da803724d95bb8f7aec0af3badf /src/plugins/projectexplorer/task.h
parent43735f28dd5e72e461f854faa6bb9ad1ae033698 (diff)
downloadqt-creator-4eb2908c44033f884b82560360440ebb3269af63.tar.gz
Unify "missing compiler" and "missing build configuration" tasks
Everybody used to do their own thing... Also unify the "Configuration is faulty" message we write into the Application output window. Change-Id: I0e5c4ec68155d66aa1d0ea53134b98917869e5c6 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/task.h')
-rw-r--r--src/plugins/projectexplorer/task.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/task.h b/src/plugins/projectexplorer/task.h
index c6e0d6bc56..c51a48df88 100644
--- a/src/plugins/projectexplorer/task.h
+++ b/src/plugins/projectexplorer/task.h
@@ -57,6 +57,9 @@ public:
const Utils::FileName &file, int line, Core::Id category,
const Utils::FileName &iconName = Utils::FileName());
+ static Task compilerMissingTask();
+ static Task buildConfigurationMissingTask();
+
bool isNull() const;
void clear();
@@ -79,6 +82,7 @@ public:
// doesn't work if you split it up, nor are our parsers
// anywhere near being that good
QList<QTextLayout::FormatRange> formats;
+
private:
QSharedPointer<TextEditor::BaseTextMark> m_mark;
static unsigned int s_nextId;