18 #ifndef QGSSTOREBADLAYERINFO_H
19 #define QGSSTOREBADLAYERINFO_H
22 #include "qgis_server.h"
23 #include <QStringList>
50 QStringList
badLayers()
const {
return mBadLayerIds; }
59 QStringList mBadLayerIds;
60 QMap<QString, QString> mBadLayerNames;
Interface for classes that handle missing layer files when reading project file.
virtual void handleBadLayers(const QList< QDomNode > &layers)
This method will be called whenever the project tries to load layers which cannot be accessed.
Stores layer ids of bad layers.
QMap< QString, QString > badLayerNames() const
Returns names of bad layers with ids.
QStringList badLayers() const
badLayers
QgsStoreBadLayerInfo()=default
Default constructor.