X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatline-old.h;h=b2b9445a7e10aec23054a8a92fd32d78beafc10f;hp=f4877a96544241298b4d9c07bc29ced819df78de;hb=63af36e607d250637aaba0bba14d2158e79c7bed;hpb=40fd2239205d9926296ccf60474a1aeb53c06c53 diff --git a/src/qtui/chatline-old.h b/src/qtui/chatline-old.h index f4877a96..b2b9445a 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); @@ -70,7 +70,7 @@ class ChatLineOld : public QObject, public AbstractUiMsg { qreal hght; Message msg; qreal tsWidth, senderWidth, textWidth; - UiStyle::StyledText styledTimeStamp, styledSender, styledText; + UiStyle::StyledText styledTimeStamp, styledSender, styledContents; struct FormatRange { int start; @@ -107,7 +107,7 @@ class ChatLineOld : public QObject, public AbstractUiMsg { QList calcFormatRanges(const UiStyle::StyledText &); QList calcFormatRanges(const UiStyle::StyledText &, const QTextLayout::FormatRange &additional); - QColor _highlightColor; + static QColor _highlightColor; }; #endif