projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add IrcChannelRole to NetworkModel
[quassel.git]
/
src
/
client
/
networkmodel.h
diff --git
a/src/client/networkmodel.h
b/src/client/networkmodel.h
index
0ffc0a0
..
018d6e7
100644
(file)
--- a/
src/client/networkmodel.h
+++ b/
src/client/networkmodel.h
@@
-175,6
+175,7
@@
class ChannelBufferItem : public BufferItem {
public:
ChannelBufferItem(const BufferInfo &bufferInfo, AbstractTreeItem *parent);
public:
ChannelBufferItem(const BufferInfo &bufferInfo, AbstractTreeItem *parent);
+ virtual QVariant data(int column, int role) const;
virtual inline bool isActive() const { return (bool)_ircChannel; }
virtual QString toolTip(int column) const;
virtual inline bool isActive() const { return (bool)_ircChannel; }
virtual QString toolTip(int column) const;
@@
-268,7
+269,8
@@
public:
BufferInfoRole,
ItemTypeRole,
UserAwayRole,
BufferInfoRole,
ItemTypeRole,
UserAwayRole,
- IrcUserRole
+ IrcUserRole,
+ IrcChannelRole
};
enum ItemType {
};
enum ItemType {