X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fchatline-old.h;h=5ce5fc3f6563451805681b1a5b1950cebb3014c4;hb=823477acf579a0c3333d61fbf6400ad49155da5c;hp=8d286b07e13b24d3bef25b77f9044118e099e2cb;hpb=278aef059d7652b2a4e1359d72bb4028524246d4;p=quassel.git diff --git a/src/qtui/chatline-old.h b/src/qtui/chatline-old.h index 8d286b07..5ce5fc3f 100644 --- a/src/qtui/chatline-old.h +++ b/src/qtui/chatline-old.h @@ -44,7 +44,7 @@ class ChatLineOld : public QObject, public AbstractUiMsg { Q_OBJECT public: - ChatLineOld(Message message); + ChatLineOld(const Message &message); virtual ~ChatLineOld(); qreal layout(qreal tsWidth, qreal nickWidth, qreal textWidth); @@ -106,6 +106,8 @@ class ChatLineOld : public QObject, public AbstractUiMsg { void precomputeLine(); QList calcFormatRanges(const UiStyle::StyledText &); QList calcFormatRanges(const UiStyle::StyledText &, const QTextLayout::FormatRange &additional); + + static QColor _highlightColor; }; #endif