From b0886b317fd6de5fa960392b2a8a0dbb557475f5 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 6 Apr 2013 21:20:30 +0200 Subject: creating new topics --- newtopicaction.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 newtopicaction.h (limited to 'newtopicaction.h') diff --git a/newtopicaction.h b/newtopicaction.h new file mode 100644 index 0000000..a04483c --- /dev/null +++ b/newtopicaction.h @@ -0,0 +1,28 @@ +#ifndef NEWTOPICACTION_H +#define NEWTOPICACTION_H + +#include "action.h" + +class XmlRpcPendingCall; + +class NewTopicAction : public Action +{ + Q_OBJECT +public: + explicit NewTopicAction(int forumId, const QString& subject, const QString& text, Board *board); + + bool isSupersetOf(Action *action) const; + + void execute(); + +private slots: + void handleFinishedCall(); + +private: + XmlRpcPendingCall *_call; + int _forumId; + QString _subject; + QString _text; +}; + +#endif // NEWTOPICACTION_H -- cgit v1.2.3