X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtopia%2Fchatline.cpp;h=c6ede09ec85e9412fad6bdd115c2677750d37378;hb=068a9f975337b4d0b08a438a2abd10ddf94e259d;hp=531fe280d3ae892205f30d7a1f1f735946ace5aa;hpb=c0ca17fde48836a5d2e7ea9ceaaabcdd7225d9b8;p=quassel.git diff --git a/src/qtopia/chatline.cpp b/src/qtopia/chatline.cpp index 531fe280..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(); - _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; }