X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtopia%2Fchatline.cpp;h=3f447d22492834279bca86e0d64c8a19703f1938;hp=52f313855548918ce871f5f584ac62e8555d93e8;hb=48979ba2c343ab50ae93a8bb1c355ce79115bd4f;hpb=70706ff642683d03ff091cab25d984ec7d9612de diff --git a/src/qtopia/chatline.cpp b/src/qtopia/chatline.cpp index 52f31385..3f447d22 100644 --- a/src/qtopia/chatline.cpp +++ b/src/qtopia/chatline.cpp @@ -21,17 +21,16 @@ #include #include "chatline.h" +#include "qtopiaui.h" ChatLine::ChatLine(Message msg) { - _text = msg.text(); // FIXME - _sender = msg.sender(); + //_styledSender = QtopiaUi::style()->styleString(msg.formattedSender()); + //_styledText = QtopiaUi::style()->styleString(msg.formattedText()); _timestamp = msg.timestamp(); _msgId = msg.msgId(); _bufferInfo = msg.buffer(); - _htmlSender = formattedToHtml(msg.formattedSender()); - _htmlText = formattedToHtml(msg.formattedText()); - _htmlTimestamp = formattedToHtml(msg.formattedTimestamp()); + } QString ChatLine::sender() const {