projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle removal of accounts a bit better
[quassel.git]
/
src
/
qtui
/
chatlinemodelitem.h
diff --git
a/src/qtui/chatlinemodelitem.h
b/src/qtui/chatlinemodelitem.h
index
b7a3a85
..
8f90d22
100644
(file)
--- a/
src/qtui/chatlinemodelitem.h
+++ b/
src/qtui/chatlinemodelitem.h
@@
-30,6
+30,7
@@
public:
ChatLineModelItem(const Message &);
virtual QVariant data(int column, int role) const;
ChatLineModelItem(const Message &);
virtual QVariant data(int column, int role) const;
+ virtual bool setData(int column, const QVariant &value, int role);
virtual inline const Message &message() const { return _styledMsg; }
virtual inline const QDateTime ×tamp() const { return _styledMsg.timestamp(); }
virtual inline const Message &message() const { return _styledMsg; }
virtual inline const QDateTime ×tamp() const { return _styledMsg.timestamp(); }
@@
-39,6
+40,8
@@
public:
virtual inline Message::Type msgType() const { return _styledMsg.type(); }
virtual inline Message::Flags msgFlags() const { return _styledMsg.flags(); }
virtual inline Message::Type msgType() const { return _styledMsg.type(); }
virtual inline Message::Flags msgFlags() const { return _styledMsg.flags(); }
+ virtual inline void invalidateWrapList() { _wrapList.clear(); }
+
/// Used to store information about words to be used for wrapping
struct Word {
quint16 start;
/// Used to store information about words to be used for wrapping
struct Word {
quint16 start;