diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-04-06 21:20:30 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-04-06 21:20:30 +0200 |
commit | b0886b317fd6de5fa960392b2a8a0dbb557475f5 (patch) | |
tree | a2e23cd67c601f2abee84b2d9553436f34716921 /board.cpp | |
parent | cb820fa02315cbf5ecc7f87435bc724460104f19 (diff) | |
download | tapasboard-b0886b317fd6de5fa960392b2a8a0dbb557475f5.tar.gz tapasboard-b0886b317fd6de5fa960392b2a8a0dbb557475f5.zip |
creating new topics
Diffstat (limited to 'board.cpp')
-rw-r--r-- | board.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -9,6 +9,7 @@ #include "fetchconfigaction.h" #include "fetchforumsaction.h" #include "loginaction.h" +#include "newtopicaction.h" #include "newpostaction.h" #include "xmlrpcinterface.h" #include "board.h" @@ -169,6 +170,11 @@ int Board::getTopicForumId(int topicId) return -1; } +void Board::newTopic(int forumId, const QString &subject, const QString &text) +{ + enqueueAction(new NewTopicAction(forumId, subject, text, this)); +} + void Board::replyToTopic(int topicId, const QString &text) { enqueueAction(new NewPostAction(topicId, text, this)); |