Skip to content
Browse files

Use QgsAbstractContentCache base class for QgsSvgCache

  • Loading branch information
nyalldawson authored and nirvn committed Dec 5, 2018
1 parent 22496dc commit cdba8f5621f5d68ff7764002077aded5be2e7b5a
@@ -12,7 +12,7 @@

class QgsSvgCache : QObject
class QgsSvgCache : QgsAbstractContentCacheBase
A cache for images / pictures derived from svg files. This class supports parameter replacement in svg files
@@ -33,8 +33,6 @@ QgsSvgCache is not usually directly created, but rather accessed through
Constructor for QgsSvgCache.


QImage svgAsImage( const QString &path, double size, const QColor &fill, const QColor &stroke, double strokeWidth,
double widthScaleFactor, bool &fitsInCache, double fixedAspectRatio = 0 );
@@ -135,9 +133,12 @@ Gets SVG content

void statusChanged( const QString &statusQString );

void statusChanged( const QString &statusQString ) /Deprecated/;
Emit a signal to be caught by qgisapp and display a msg on status bar
Emit a signal to be caught by qgisapp and display a msg on status bar.

.. deprecated:: Deprecated since QGIS 3.6 -- no longer emitted.

void remoteSvgFetched( const QString &url );
@@ -147,6 +148,11 @@ Emitted when the cache has finished retrieving an SVG file from a remote ``url``
.. versionadded:: 3.2


virtual bool checkReply( QNetworkReply *reply, const QString &path ) const;



0 comments on commit cdba8f5

Please sign in to comment.
You can’t perform that action at this time.