cacheSize as property

This commit is contained in:
Uwe Rathmann 2022-03-08 11:17:48 +01:00
parent 01a79a1b0b
commit 49de58cdc4
2 changed files with 6 additions and 0 deletions

View File

@ -127,3 +127,5 @@ QskGraphic Qsk::loadGraphic( const QUrl& url )
return graphic ? *graphic : nullGraphic;
}
#include "moc_QskGraphicProvider.cpp"

View File

@ -16,6 +16,10 @@ class QUrl;
class QSK_EXPORT QskGraphicProvider : public QObject
{
Q_OBJECT
Q_PROPERTY( int cacheSize READ cacheSize WRITE setCacheSize )
public:
QskGraphicProvider( QObject* parent = nullptr );
~QskGraphicProvider() override;