diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-04-01 20:46:39 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-04-01 20:46:39 +0200 |
commit | a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9 (patch) | |
tree | 6b97b6ac14716dbe51cb105819abde3e36ffd465 /fetchforumsaction.cpp | |
parent | 5ef8b38e55c1883224fe1f01f47aba45b7b42666 (diff) | |
download | tapasboard-a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9.tar.gz tapasboard-a6e64fbf9404b201b04fbd1ab4b959a18d8f83a9.zip |
add support for actually reading topics
Diffstat (limited to 'fetchforumsaction.cpp')
-rw-r--r-- | fetchforumsaction.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<FetchForumsAction*>(action) != 0; +} + void FetchForumsAction::execute() { _call = _board->service()->asyncCall("get_forum"); |