diff options
Diffstat (limited to 'forummodel.h')
-rw-r--r-- | forummodel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/forummodel.h b/forummodel.h index 4c00692..d0dd980 100644 --- a/forummodel.h +++ b/forummodel.h @@ -22,7 +22,8 @@ public: TopicIdRole = Qt::UserRole, TopicTypeRole, - NumRepliesRole + NumRepliesRole, + UnreadRole }; Board * board() const; @@ -49,6 +50,7 @@ protected: int topic_id; QString title; int num_replies; + bool unread; QDateTime last_reply_time; QDateTime last_update_time; }; |