summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildstep.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2010-07-15 10:29:38 +0200
committerdt <qtc-committer@nokia.com>2010-07-15 11:11:21 +0200
commit615cda8430063e96d6ea64298b80cb2c0e075db3 (patch)
tree9309f21ac3f66691ad5b6d91f6b6204051e459c5 /src/plugins/projectexplorer/buildstep.h
parentbf3a9e4e8993b3ea558419ac7a27e2d71913d857 (diff)
downloadqt-creator-615cda8430063e96d6ea64298b80cb2c0e075db3.tar.gz
Fix compile output to be readeable with dark themes
This changes the colors to be a mix of red/blue and the foreground color. If the regular text color is either of those, well...
Diffstat (limited to 'src/plugins/projectexplorer/buildstep.h')
-rw-r--r--src/plugins/projectexplorer/buildstep.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h
index 790646184f..065289121f 100644
--- a/src/plugins/projectexplorer/buildstep.h
+++ b/src/plugins/projectexplorer/buildstep.h
@@ -104,13 +104,15 @@ public:
BuildConfiguration *buildConfiguration() const;
+ enum OutputFormat { NormalOutput, ErrorOutput, MessageOutput, ErrorMessageOutput };
+
signals:
// Add a task.
void addTask(const ProjectExplorer::Task &task);
// The string is added to the generated output, usually in the output
// window.
// It should be in plain text, with the format in the parameter
- void addOutput(const QString &string, const QTextCharFormat &textCharFormat);
+ void addOutput(const QString &string, ProjectExplorer::BuildStep::OutputFormat format);
private:
BuildConfiguration *m_buildConfiguration;
@@ -171,4 +173,6 @@ signals:
} // namespace ProjectExplorer
+Q_DECLARE_METATYPE(ProjectExplorer::BuildStep::OutputFormat)
+
#endif // BUILDSTEP_H