#ifndef FETCHPOSTSACTION_H #define FETCHPOSTSACTION_H #include #include #include "action.h" class XmlRpcPendingCall; class FetchPostsAction : public Action { Q_OBJECT public: explicit FetchPostsAction(int topicId, int start, int end, Board *board); bool isSupersetOf(Action *action) const; void execute(); private slots: void handleFinishedCall(); private: static QString unencodePostText(const QVariant& v); QString unencodePostContent(const QVariant& v); private: XmlRpcPendingCall *_call; int _topicId; int _start; int _end; }; #endif // FETCHPOSTSACTION_H