diff options
Diffstat (limited to 'fetchtopicsaction.h')
-rw-r--r-- | fetchtopicsaction.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/fetchtopicsaction.h b/fetchtopicsaction.h new file mode 100644 index 0000000..747ad93 --- /dev/null +++ b/fetchtopicsaction.h @@ -0,0 +1,32 @@ +#ifndef FETCHTOPICSACTION_H +#define FETCHTOPICSACTION_H + +#include <QtCore/QVariant> +#include <QtSql/QSqlQuery> +#include "action.h" + +class XmlRpcPendingCall; + +class FetchTopicsAction : public Action +{ + Q_OBJECT +public: + explicit FetchTopicsAction(int forumId, int start, int end, Board *board); + + void execute(); + +private slots: + void handleFinishedCall(); + +private: + static QString unencodeTopicText(const QVariant& v); + +private: + XmlRpcPendingCall *_call; + int _forumId; + int _start; + int _end; + +}; + +#endif // FETCHTOPICSACTION_H |