diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-04-01 15:04:58 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-04-01 15:04:58 +0200 |
commit | 5ef8b38e55c1883224fe1f01f47aba45b7b42666 (patch) | |
tree | 67a873c6a7c5263d202793314c3b3a61543fbb40 /fetchtopicsaction.h | |
download | tapasboard-5ef8b38e55c1883224fe1f01f47aba45b7b42666.tar.gz tapasboard-5ef8b38e55c1883224fe1f01f47aba45b7b42666.zip |
initial import
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 |