aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint/qcoloroutput.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmllint/qcoloroutput.h')
-rw-r--r--tools/qmllint/qcoloroutput.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qmllint/qcoloroutput.h b/tools/qmllint/qcoloroutput.h
index 6a1acfe8b5..41b8751432 100644
--- a/tools/qmllint/qcoloroutput.h
+++ b/tools/qmllint/qcoloroutput.h
@@ -41,6 +41,7 @@
#include <QtCore/qglobal.h>
#include <QtCore/qscopedpointer.h>
+#include <QtCore/qstring.h>
class ColorOutputPrivate;
@@ -104,6 +105,8 @@ public:
void writeUncolored(const QString &message);
void write(const QString &message, int color = -1);
+ void writePrefixedMessage(const QString &message, MessageColors type,
+ const QString &prefix = QString());
QString colorify(const QString &message, int color = -1) const;
private: