X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodelitem.h;h=9fe4b8bc1c88af5a1fc31e91cbe47cdd7c07cc6e;hp=b7a3a8580bb7df217928556b7e12b75bcbe473ef;hb=5199330f0b249b20c27cd372d995909f97433786;hpb=9fb25d34cfc4dee02159b112c72e018c6e26e63f diff --git a/src/qtui/chatlinemodelitem.h b/src/qtui/chatlinemodelitem.h index b7a3a858..9fe4b8bc 100644 --- a/src/qtui/chatlinemodelitem.h +++ b/src/qtui/chatlinemodelitem.h @@ -39,15 +39,6 @@ public: virtual inline Message::Type msgType() const { return _styledMsg.type(); } virtual inline Message::Flags msgFlags() const { return _styledMsg.flags(); } - /// Used to store information about words to be used for wrapping - struct Word { - quint16 start; - qreal endX; - qreal width; - qreal trailing; - }; - typedef QVector WrapList; - private: QVariant timestampData(int role) const; QVariant senderData(int role) const; @@ -56,13 +47,7 @@ private: QVariant backgroundBrush(UiStyle::FormatType subelement, bool selected = false) const; quint32 messageLabel() const; - void computeWrapList() const; - - mutable WrapList _wrapList; UiStyle::StyledMessage _styledMsg; - - static unsigned char *TextBoundaryFinderBuffer; - static int TextBoundaryFinderBufferSize; }; #endif