diff options
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; }; |