AnsiEscapeCodeHandler: Make enum private

Change-Id: Ie61567ed6af444ff01a09eeb77399c48163c04c1
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2014-01-17 15:37:13 +01:00
parent 6434a697be
commit c96fd7411d
2 changed files with 13 additions and 14 deletions

View File

@@ -41,20 +41,6 @@ typedef QPair<QString, QTextCharFormat> StringFormatPair;
class QTCREATOR_UTILS_EXPORT AnsiEscapeCodeHandler
{
enum AnsiEscapeCodes {
ResetFormat = 0,
BoldText = 1,
TextColorStart = 30,
TextColorEnd = 37,
RgbTextColor = 38,
DefaultTextColor = 39,
BackgroundColorStart = 40,
BackgroundColorEnd = 47,
RgbBackgroundColor = 48,
DefaultBackgroundColor = 49
};
public:
AnsiEscapeCodeHandler();
QList<StringFormatPair> parseText(const QString &text, const QTextCharFormat &defaultFormat);