X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtgui%2Fchatline.h;h=2707a171e50ef01f1d9270e211bae7e6cc6397a7;hp=b42982c8a4f495cd2f296049b0da0187329b5af0;hb=902c95728306e5ba115de84800fc8d5d239c9d62;hpb=73edffb5f0f6ecae4118c36a7ca2c0d479b7f8c6 diff --git a/src/qtgui/chatline.h b/src/qtgui/chatline.h index b42982c8..2707a171 100644 --- a/src/qtgui/chatline.h +++ b/src/qtgui/chatline.h @@ -59,7 +59,7 @@ class ChatLine : public QObject, public AbstractUiMsg { QString sender() const; QString text() const; MsgId msgId() const; - BufferId bufferId() const; + BufferInfo bufferInfo() const; bool isUrl(int pos) const; QUrl getUrl(int pos) const; @@ -70,7 +70,7 @@ class ChatLine : public QObject, public AbstractUiMsg { qreal hght; Message msg; qreal tsWidth, senderWidth, textWidth; - Style::FormattedString tsFormatted, senderFormatted, textFormatted; + Style::StyledString styledTimeStamp, styledSender, styledText; struct FormatRange { int start; @@ -103,7 +103,7 @@ class ChatLine : public QObject, public AbstractUiMsg { int selectionStart, selectionEnd; void formatMsg(Message); void precomputeLine(); - QList calcFormatRanges(const Style::FormattedString &, QTextLayout::FormatRange additional = QTextLayout::FormatRange()); + QList calcFormatRanges(const Style::StyledString &, QTextLayout::FormatRange additional = QTextLayout::FormatRange()); }; #endif