summaryrefslogtreecommitdiff
path: root/markforumreadaction.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-04 22:21:03 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-04 22:21:03 +0200
commit3f3a98b7e49230aabd0e557ea59e89e20537ca8a (patch)
tree3bcd3ca91be37e3d5a7afceb1e3c32e77c72f689 /markforumreadaction.h
parentd69a9c6657efb6f49b882cbf17ca0d83ca74e17a (diff)
downloadtapasboard-3f3a98b7e49230aabd0e557ea59e89e20537ca8a.tar.gz
tapasboard-3f3a98b7e49230aabd0e557ea59e89e20537ca8a.zip
add support to mark forums as read
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