projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
send unknown commands to server
[quassel.git]
/
src
/
client
/
networkmodel.h
diff --git
a/src/client/networkmodel.h
b/src/client/networkmodel.h
index
8be6b85
..
09f9ece
100644
(file)
--- a/
src/client/networkmodel.h
+++ b/
src/client/networkmodel.h
@@
-113,6
+113,8
@@
public:
void clearActivityLevel();
void updateActivityLevel(const Message &msg);
void clearActivityLevel();
void updateActivityLevel(const Message &msg);
+ inline const MsgId &firstUnreadMsgId() const { return _firstUnreadMsgId; }
+
bool isCurrentBuffer() const;
virtual QString toolTip(int column) const;
bool isCurrentBuffer() const;
virtual QString toolTip(int column) const;
@@
-124,6
+126,7
@@
private:
BufferInfo::ActivityLevel _activity;
MsgId _lastSeenMsgId;
MsgId _lastSeenMarkerMsgId;
BufferInfo::ActivityLevel _activity;
MsgId _lastSeenMsgId;
MsgId _lastSeenMarkerMsgId;
+ MsgId _firstUnreadMsgId;
};
/*****************************************
};
/*****************************************
@@
-270,7
+273,8
@@
public:
ItemTypeRole,
UserAwayRole,
IrcUserRole,
ItemTypeRole,
UserAwayRole,
IrcUserRole,
- IrcChannelRole
+ IrcChannelRole,
+ BufferFirstUnreadMsgIdRole,
};
enum ItemType {
};
enum ItemType {