summaryrefslogtreecommitdiff
path: root/common/mastodonpostsdatabase.h
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@jolla.com>2026-02-11 17:10:58 +0100
committerAndrew Branson <andrew.branson@jolla.com>2026-02-11 17:10:58 +0100
commit22c763f1ffdc7dc845be03c05851d7b896081cb2 (patch)
treeeab1542f91f758c88d8b3cd43ed2f66276f78119 /common/mastodonpostsdatabase.h
parentd8ff92c1baf2c9714f21729e7d37c66f59c162ff (diff)
Add post metadata to events view and enhance notification handling
Diffstat (limited to 'common/mastodonpostsdatabase.h')
-rw-r--r--common/mastodonpostsdatabase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/mastodonpostsdatabase.h b/common/mastodonpostsdatabase.h
index b27b626..66d3f09 100644
--- a/common/mastodonpostsdatabase.h
+++ b/common/mastodonpostsdatabase.h
@@ -34,12 +34,16 @@ public:
const QString &icon,
const QList<QPair<QString, SocialPostImage::ImageType> > &images,
const QString &url, const QString &boostedBy,
+ int repliesCount, int favouritesCount, int reblogsCount,
const QString &instanceUrl,
int account);
static QString accountName(const SocialPost::ConstPtr &post);
static QString url(const SocialPost::ConstPtr &post);
static QString boostedBy(const SocialPost::ConstPtr &post);
+ static int repliesCount(const SocialPost::ConstPtr &post);
+ static int favouritesCount(const SocialPost::ConstPtr &post);
+ static int reblogsCount(const SocialPost::ConstPtr &post);
static QString instanceUrl(const SocialPost::ConstPtr &post);
};