QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
A QObject derived base class for QgsAbstractContentCache. More...
#include <qgsabstractcontentcache.h>
Signals | |
void | remoteContentFetched (const QString &url) |
Emitted when the cache has finished retrieving content from a remote url. More... | |
Public Member Functions | |
QgsAbstractContentCacheBase (QObject *parent) | |
Constructor for QgsAbstractContentCacheBase, with the specified parent object. More... | |
Protected Slots | |
virtual void | onRemoteContentFetched (const QString &url, bool success) |
Triggered after remote content (i.e. More... | |
Protected Member Functions | |
virtual bool | checkReply (QNetworkReply *reply, const QString &path) const |
Runs additional checks on a network reply to ensure that the reply content is consistent with that required by the cache. More... | |
A QObject derived base class for QgsAbstractContentCache.
Required because template based class (such as QgsAbstractContentCache) cannot use the Q_OBJECT macro.
Definition at line 137 of file qgsabstractcontentcache.h.
QgsAbstractContentCacheBase::QgsAbstractContentCacheBase | ( | QObject * | parent | ) |
Constructor for QgsAbstractContentCacheBase, with the specified parent object.
Definition at line 33 of file qgsabstractcontentcache.cpp.
|
inlineprotectedvirtual |
Runs additional checks on a network reply to ensure that the reply content is consistent with that required by the cache.
Reimplemented in QgsSvgCache.
Definition at line 161 of file qgsabstractcontentcache.h.
|
protectedvirtualslot |
Triggered after remote content (i.e.
HTTP linked content at the given url) has been fetched.
The success argument will be true
if the content was successfully fetched, or false
if it was not fetched successfully.
Reimplemented in QgsAbstractContentCache< T >, QgsAbstractContentCache< QgsSvgCacheEntry >, QgsAbstractContentCache< QgsSourceCacheEntry >, and QgsAbstractContentCache< QgsImageCacheEntry >.
Definition at line 38 of file qgsabstractcontentcache.cpp.
|
signal |
Emitted when the cache has finished retrieving content from a remote url.