diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-04-07 03:13:14 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-04-07 03:13:14 +0200 |
commit | 9e67c13e587ccf10084144fea033beda316faed5 (patch) | |
tree | 33170309064aaf182d14e95e1d8121a8041180b3 /fetchtopicsaction.h | |
parent | 1a66f6ee4f3806e2a18af718654e7281c7dd1066 (diff) | |
download | tapasboard-9e67c13e587ccf10084144fea033beda316faed5.tar.gz tapasboard-9e67c13e587ccf10084144fea033beda316faed5.zip |
add support for reading announcements & stickies
Diffstat (limited to 'fetchtopicsaction.h')
-rw-r--r-- | fetchtopicsaction.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fetchtopicsaction.h b/fetchtopicsaction.h index 307e528..f028ccb 100644 --- a/fetchtopicsaction.h +++ b/fetchtopicsaction.h @@ -3,6 +3,8 @@ #include <QtCore/QVariant> #include <QtSql/QSqlQuery> + +#include "board.h" #include "action.h" class XmlRpcPendingCall; @@ -11,12 +13,12 @@ class FetchTopicsAction : public Action { Q_OBJECT public: - explicit FetchTopicsAction(int forumId, int start, int end, Board *board); - enum { FetchAllTopics = -1 }; + explicit FetchTopicsAction(int forumId, Board::TopicType type, int start, int end, Board *board); + bool isSupersetOf(Action *action) const; void execute(); @@ -31,6 +33,7 @@ private: private: XmlRpcPendingCall *_call; int _forumId; + Board::TopicType _type; int _start; int _end; }; |