From cb820fa02315cbf5ecc7f87435bc724460104f19 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 6 Apr 2013 20:34:56 +0200 Subject: support replying to posts --- board.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'board.h') diff --git a/board.h b/board.h index 7e8fb97..e48dd6f 100644 --- a/board.h +++ b/board.h @@ -48,7 +48,13 @@ public: void login(const QString& username, const QString& password); void logout(); - // Some helper functions + // Other functions that query the database + int getTopicForumId(int topicId); + + // Posting stuff + Q_INVOKABLE void replyToTopic(int topicId, const QString& text); + + // BBCode-related helper functions QString removeHtml(QString text) const; QString removeBbcode(QString text) const; QString bbcodeToRichText(QString text) const; -- cgit v1.2.3