From 5ef8b38e55c1883224fe1f01f47aba45b7b42666 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 1 Apr 2013 15:04:58 +0200 Subject: initial import --- fetchforumsaction.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 fetchforumsaction.h (limited to 'fetchforumsaction.h') diff --git a/fetchforumsaction.h b/fetchforumsaction.h new file mode 100644 index 0000000..b8625fa --- /dev/null +++ b/fetchforumsaction.h @@ -0,0 +1,29 @@ +#ifndef FETCHFORUMSACTION_H +#define FETCHFORUMSACTION_H + +#include +#include "action.h" + +class XmlRpcPendingCall; + +class FetchForumsAction : public Action +{ + Q_OBJECT +public: + explicit FetchForumsAction(Board *board); + + void execute(); + +private slots: + void handleFinishedCall(); + +private: + static QList flattenForumList(const QVariantList& list, int *order); + static QString unencodeForumText(const QVariant& v); + + +private: + XmlRpcPendingCall *_call; +}; + +#endif // FETCHFORUMSACTION_H -- cgit v1.2.3