chatline: highlightcolor is only loaded once in the init
[quassel.git] / src / qtui / chatline-old.h
index ac95494..f4877a9 100644 (file)
@@ -104,7 +104,10 @@ class ChatLineOld : public QObject, public AbstractUiMsg {
     int selectionStart, selectionEnd;
     void formatMsg(Message);
     void precomputeLine();
-    QList<FormatRange> calcFormatRanges(UiStyle::StyledText, QTextLayout::FormatRange additional = QTextLayout::FormatRange());
+    QList<FormatRange> calcFormatRanges(const UiStyle::StyledText &);
+    QList<FormatRange> calcFormatRanges(const UiStyle::StyledText &, const QTextLayout::FormatRange &additional);
+
+    QColor _highlightColor;
 };
 
 #endif