diff options
Diffstat (limited to 'src/libs/3rdparty/syntax-highlighting/src/lib/textstyledata_p.h')
-rw-r--r-- | src/libs/3rdparty/syntax-highlighting/src/lib/textstyledata_p.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/libs/3rdparty/syntax-highlighting/src/lib/textstyledata_p.h b/src/libs/3rdparty/syntax-highlighting/src/lib/textstyledata_p.h index 50980e0aa0..4b6cef7e98 100644 --- a/src/libs/3rdparty/syntax-highlighting/src/lib/textstyledata_p.h +++ b/src/libs/3rdparty/syntax-highlighting/src/lib/textstyledata_p.h @@ -24,9 +24,10 @@ #ifndef KSYNTAXHIGHLIGHTING_TEXTSTYLEDATA_P_H #define KSYNTAXHIGHLIGHTING_TEXTSTYLEDATA_P_H +#include <QColor> -namespace KSyntaxHighlighting { - +namespace KSyntaxHighlighting +{ class TextStyleData { public: @@ -40,21 +41,22 @@ public: , hasItalic(false) , hasUnderline(false) , hasStrikeThrough(false) - {} + { + } QRgb textColor = 0x0; QRgb backgroundColor = 0x0; QRgb selectedTextColor = 0x0; QRgb selectedBackgroundColor = 0x0; - bool bold :1; - bool italic :1; - bool underline :1; - bool strikeThrough :1; - - bool hasBold :1; - bool hasItalic :1; - bool hasUnderline :1; - bool hasStrikeThrough :1; + bool bold : 1; + bool italic : 1; + bool underline : 1; + bool strikeThrough : 1; + + bool hasBold : 1; + bool hasItalic : 1; + bool hasUnderline : 1; + bool hasStrikeThrough : 1; }; } |