QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
Stores layer ids of bad layers. More...
#include <qgsstorebadlayerinfo.h>
Public Member Functions | |
QgsStoreBadLayerInfo ()=default | |
Default constructor. | |
QMap< QString, QString > | badLayerNames () const |
Returns names of bad layers with ids. | |
QStringList | badLayers () const |
badLayers | |
void | handleBadLayers (const QList< QDomNode > &layers) |
handleBadLayers | |
Public Member Functions inherited from QgsProjectBadLayerHandler | |
virtual | ~QgsProjectBadLayerHandler ()=default |
Additional Inherited Members | |
Protected Types inherited from QgsProjectBadLayerHandler | |
enum | DataType { IS_VECTOR , IS_RASTER , IS_BOGUS } |
file data representation More... | |
enum | ProviderType { IS_FILE , IS_DATABASE , IS_URL , IS_Unknown } |
the flavors for data storage More... | |
Protected Member Functions inherited from QgsProjectBadLayerHandler | |
QString | dataSource (const QDomNode &layerNode) |
Returns the data source for the given layer. | |
DataType | dataType (const QDomNode &layerNode) |
Returns data type associated with the given QgsProject file Dom node. | |
ProviderType | providerType (const QDomNode &layerNode) |
Returns the physical storage type associated with the given layer. | |
void | setDataSource (QDomNode &layerNode, const QString &dataSource) |
Set the datasource element to the new value. | |
|
default |
Default constructor.
|
inline |
Returns names of bad layers with ids.
Definition at line 56 of file qgsstorebadlayerinfo.h.
|
inline |
|
virtual |
handleBadLayers
layers | layer nodes |
Reimplemented from QgsProjectBadLayerHandler.
Definition at line 21 of file qgsstorebadlayerinfo.cpp.