Add accessor to check if a filter accepts a given BufferId
[quassel.git] / src / qtopia / chatline.cpp
index 68d0cda..0a709c0 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-08 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
 
 ChatLine::ChatLine(Message msg) {
   _styledSender = QtopiaUi::style()->styleString(msg.formattedSender());
-  _styledText = QtopiaUi::style()->styleString(msg.formattedText());
+  _styledContents = QtopiaUi::style()->styleString(msg.formattedText());
   _timestamp = msg.timestamp();
   _msgId = msg.msgId();
-  _bufferInfo = msg.buffer();
+  _bufferInfo = msg.bufferInfo();
 
 
 }
@@ -58,8 +58,8 @@ UiStyle::StyledText ChatLine::styledSender() const {
   return _styledSender;
 }
 
-UiStyle::StyledText ChatLine::styledText() const {
-  return _styledText;
+UiStyle::StyledText ChatLine::styledContents() const {
+  return _styledContents;
 }