diff options
Diffstat (limited to 'fetchforumsaction.h')
-rw-r--r-- | fetchforumsaction.h | 29 |
1 files changed, 29 insertions, 0 deletions
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 <QtCore/QVariant> +#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<QVariantMap> flattenForumList(const QVariantList& list, int *order); + static QString unencodeForumText(const QVariant& v); + + +private: + XmlRpcPendingCall *_call; +}; + +#endif // FETCHFORUMSACTION_H |