blob: 7d046d9385563cbd751b832b8b4354f4f5b5487b (
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
|
#ifndef NEWPOSTACTION_H
#define NEWPOSTACTION_H
#include "action.h"
class XmlRpcPendingCall;
class NewPostAction : public Action
{
Q_OBJECT
public:
explicit NewPostAction(int topicId, const QString& text, Board *board);
bool isSupersetOf(Action *action) const;
void execute();
private slots:
void handleFinishedCall();
private:
XmlRpcPendingCall *_call;
int _topicId;
QString _text;
};
#endif // NEWPOSTACTION_H
|