Remove the word boundary cache
[quassel.git] / src / qtui / chatlinemodel.h
index 74f0ace..c21d1c3 100644 (file)
@@ -31,16 +31,12 @@ class ChatLineModel : public MessageModel {
 
 public:
   enum ChatLineRole {
-    WrapListRole = MessageModel::UserRole,
-    MsgLabelRole,
+    MsgLabelRole = MessageModel::UserRole,
     SelectedBackgroundRole
   };
 
   ChatLineModel(QObject *parent = 0);
 
-  typedef ChatLineModelItem::Word Word;
-  typedef ChatLineModelItem::WrapList WrapList;
-
 protected:
 //   virtual MessageModelItem *createMessageModelItem(const Message &);
 
@@ -62,10 +58,5 @@ private:
   QList<ChatLineModelItem> _messageList;
 };
 
-QDataStream &operator<<(QDataStream &out, const ChatLineModel::WrapList);
-QDataStream &operator>>(QDataStream &in, ChatLineModel::WrapList &);
-
-Q_DECLARE_METATYPE(ChatLineModel::WrapList)
-
 #endif