X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtopia%2Fchatline.cpp;h=3f447d22492834279bca86e0d64c8a19703f1938;hp=531fe280d3ae892205f30d7a1f1f735946ace5aa;hb=48979ba2c343ab50ae93a8bb1c355ce79115bd4f;hpb=c0ca17fde48836a5d2e7ea9ceaaabcdd7225d9b8 diff --git a/src/qtopia/chatline.cpp b/src/qtopia/chatline.cpp index 531fe280..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(); - _timeStamp = msg.timeStamp(); + //_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 { @@ -50,8 +49,8 @@ BufferInfo ChatLine::bufferInfo() const { return _bufferInfo; } -QDateTime ChatLine::timeStamp() const { - return _timeStamp; +QDateTime ChatLine::timestamp() const { + return _timestamp; } QString ChatLine::htmlSender() const { @@ -62,8 +61,8 @@ QString ChatLine::htmlText() const { return _htmlText; } -QString ChatLine::htmlTimeStamp() const { - return _htmlTimeStamp; +QString ChatLine::htmlTimestamp() const { + return _htmlTimestamp; }