summaryrefslogtreecommitdiff
path: root/newtopicaction.h
blob: a04483c52295d2f14508a7a691702f3f6be1ca8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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