blob: 27896df82c9f248b2ef17291c6547fd6be784671 (
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 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
|