From a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 1 Apr 2013 20:46:39 +0200 Subject: add support for actually reading topics --- fetchforumsaction.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fetchforumsaction.cpp') diff --git a/fetchforumsaction.cpp b/fetchforumsaction.cpp index 8b3e4c8..7b496c3 100644 --- a/fetchforumsaction.cpp +++ b/fetchforumsaction.cpp @@ -13,6 +13,12 @@ FetchForumsAction::FetchForumsAction(Board *board) : { } +bool FetchForumsAction::isSupersetOf(Action *action) const +{ + // If 'action' is also a fetch forums list action then yes, this supersets 'action'. + return qobject_cast(action) != 0; +} + void FetchForumsAction::execute() { _call = _board->service()->asyncCall("get_forum"); -- cgit v1.2.3