summaryrefslogtreecommitdiff
path: root/board.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-04-06 20:34:56 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-04-06 20:34:56 +0200
commitcb820fa02315cbf5ecc7f87435bc724460104f19 (patch)
tree19d089a0506c7da82f4e91af8e7df928d813a479 /board.h
parentb04a2a981a91ed58e55a275402cb2f9f73bd85a2 (diff)
downloadtapasboard-cb820fa02315cbf5ecc7f87435bc724460104f19.tar.gz
tapasboard-cb820fa02315cbf5ecc7f87435bc724460104f19.zip
support replying to posts
Diffstat (limited to 'board.h')
-rw-r--r--board.h8
1 files changed, 7 insertions, 1 deletions
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;