projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the word boundary cache
[quassel.git]
/
src
/
qtui
/
chatlinemodel.h
diff --git
a/src/qtui/chatlinemodel.h
b/src/qtui/chatlinemodel.h
index
74f0ace
..
c21d1c3
100644
(file)
--- a/
src/qtui/chatlinemodel.h
+++ b/
src/qtui/chatlinemodel.h
@@
-31,16
+31,12
@@
class ChatLineModel : public MessageModel {
public:
enum ChatLineRole {
public:
enum ChatLineRole {
- WrapListRole = MessageModel::UserRole,
- MsgLabelRole,
+ MsgLabelRole = MessageModel::UserRole,
SelectedBackgroundRole
};
ChatLineModel(QObject *parent = 0);
SelectedBackgroundRole
};
ChatLineModel(QObject *parent = 0);
- typedef ChatLineModelItem::Word Word;
- typedef ChatLineModelItem::WrapList WrapList;
-
protected:
// virtual MessageModelItem *createMessageModelItem(const Message &);
protected:
// virtual MessageModelItem *createMessageModelItem(const Message &);
@@
-62,10
+58,5
@@
private:
QList<ChatLineModelItem> _messageList;
};
QList<ChatLineModelItem> _messageList;
};
-QDataStream &operator<<(QDataStream &out, const ChatLineModel::WrapList);
-QDataStream &operator>>(QDataStream &in, ChatLineModel::WrapList &);
-
-Q_DECLARE_METATYPE(ChatLineModel::WrapList)
-
#endif
#endif