X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodel.h;h=c21d1c3b6cd56c6fd69ad17ba600dd8a64a19a69;hb=d33a73406dc7b2a41c97d169b865836f6fce4980;hp=dffb70658813c93f05b3ad7a08da72abeb3dbf47;hpb=2c16b8e356817cb4a4bf7fcd59c0c7429b0100e1;p=quassel.git diff --git a/src/qtui/chatlinemodel.h b/src/qtui/chatlinemodel.h index dffb7065..c21d1c3b 100644 --- a/src/qtui/chatlinemodel.h +++ b/src/qtui/chatlinemodel.h @@ -31,15 +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 &); @@ -61,10 +58,5 @@ private: QList _messageList; }; -QDataStream &operator<<(QDataStream &out, const ChatLineModel::WrapList); -QDataStream &operator>>(QDataStream &in, ChatLineModel::WrapList &); - -Q_DECLARE_METATYPE(ChatLineModel::WrapList) - #endif