From 0496f6552a502559d4d75a5ea1db4ecf1d61fa9a Mon Sep 17 00:00:00 2001 From: James Graham Date: Sat, 22 Apr 2023 11:38:35 +0100 Subject: [PATCH] Document blurhashimageprovider --- src/blurhashimageprovider.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/blurhashimageprovider.h b/src/blurhashimageprovider.h index ab887832d..115c98f66 100644 --- a/src/blurhashimageprovider.h +++ b/src/blurhashimageprovider.h @@ -5,9 +5,22 @@ #include +/** + * @class BlurhashImageProvider + * + * A QQuickImageProvider for blurhashes. + * + * @sa QQuickImageProvider + */ class BlurhashImageProvider : public QQuickImageProvider { public: BlurhashImageProvider(); + + /** + * @brief Return an image for a given ID. + * + * @sa QQuickImageProvider::requestImage + */ QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) override; -}; \ No newline at end of file +};