Document blurhashimageprovider
This commit is contained in:
@@ -5,9 +5,22 @@
|
|||||||
|
|
||||||
#include <QQuickImageProvider>
|
#include <QQuickImageProvider>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @class BlurhashImageProvider
|
||||||
|
*
|
||||||
|
* A QQuickImageProvider for blurhashes.
|
||||||
|
*
|
||||||
|
* @sa QQuickImageProvider
|
||||||
|
*/
|
||||||
class BlurhashImageProvider : public QQuickImageProvider
|
class BlurhashImageProvider : public QQuickImageProvider
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BlurhashImageProvider();
|
BlurhashImageProvider();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Return an image for a given ID.
|
||||||
|
*
|
||||||
|
* @sa QQuickImageProvider::requestImage
|
||||||
|
*/
|
||||||
QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) override;
|
QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) override;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user