summaryrefslogtreecommitdiff
path: root/topicmodel.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-04 20:58:57 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-04 20:58:57 +0200
commitf690c7dde14a6f9c5fbf04ed94170c7648591cb6 (patch)
tree6e63dac978af3864622d0a9f85dac07f24318930 /topicmodel.h
parent256e7837ce8cb30b0c0a8c73306abdffa80365a6 (diff)
downloadtapasboard-f690c7dde14a6f9c5fbf04ed94170c7648591cb6.tar.gz
tapasboard-f690c7dde14a6f9c5fbf04ed94170c7648591cb6.zip
store post position in database, create invisible items for unfetched
Diffstat (limited to 'topicmodel.h')
-rw-r--r--topicmodel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/topicmodel.h b/topicmodel.h
index 67e48c4..d0c60bb 100644
--- a/topicmodel.h
+++ b/topicmodel.h
@@ -27,7 +27,8 @@ public:
UserNameRole,
DateTimeRole,
HumanDateRole,
- HumanTimeRole
+ HumanTimeRole,
+ UnreadRole
};
Board * board() const;
@@ -46,6 +47,7 @@ public:
public slots:
void refresh();
+ void markAsRead();
signals:
void boardChanged();