diff options
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)); |