|
QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Stores layer ids of bad layers. More...
#include <qgsstorebadlayerinfo.h>

Public Member Functions | |
| QgsStoreBadLayerInfo ()=default | |
| Default constructor. More... | |
| QMap< QString, QString > | badLayerNames () const |
| Returns names of bad layers with ids. More... | |
| QStringList | badLayers () const |
| badLayers More... | |
| void | handleBadLayers (const QList< QDomNode > &layers) |
| handleBadLayers More... | |
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. More... | |
| DataType | dataType (const QDomNode &layerNode) |
| Returns data type associated with the given QgsProject file Dom node. More... | |
| ProviderType | providerType (const QDomNode &layerNode) |
| Returns the physical storage type associated with the given layer. More... | |
| void | setDataSource (QDomNode &layerNode, const QString &dataSource) |
| Set the datasource element to the new value. More... | |
|
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.