summaryrefslogtreecommitdiff
path: root/markforumreadaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'markforumreadaction.h')
-rw-r--r--markforumreadaction.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/markforumreadaction.h b/markforumreadaction.h
new file mode 100644
index 0000000..1106352
--- /dev/null
+++ b/markforumreadaction.h
@@ -0,0 +1,26 @@
+#ifndef MARKFORUMREADACTION_H
+#define MARKFORUMREADACTION_H
+
+#include "action.h"
+
+class XmlRpcPendingCall;
+
+class MarkForumReadAction : public Action
+{
+ Q_OBJECT
+public:
+ explicit MarkForumReadAction(int forumId, Board *board);
+
+ bool isSupersetOf(Action *action) const;
+
+ void execute();
+
+private slots:
+ void handleFinishedCall();
+
+private:
+ XmlRpcPendingCall *_call;
+ int _forumId;
+};
+
+#endif // MARKFORUMREADACTION_H