X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtopia%2Fchatline.cpp;fp=src%2Fqtopia%2Fchatline.cpp;h=c6ede09ec85e9412fad6bdd115c2677750d37378;hp=52f313855548918ce871f5f584ac62e8555d93e8;hb=d079afedcfa1357afef4a20faf208588b4e97269;hpb=8f6eddce9d6375240c60860752e952aa1b2e3a84 diff --git a/src/qtopia/chatline.cpp b/src/qtopia/chatline.cpp index 52f31385..c6ede09e 100644 --- a/src/qtopia/chatline.cpp +++ b/src/qtopia/chatline.cpp @@ -21,17 +21,16 @@ #include #include "chatline.h" +#include "qtopiagui.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 {