diff options
Diffstat (limited to 'newtopicaction.h')
-rw-r--r-- | newtopicaction.h | 28 |
1 files changed, 28 insertions, 0 deletions
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 |