87 static bool exportLayerDefinition(
const QString &path,
const QList<QgsLayerTreeNode *> &selectedTreeNodes, QString &errorMessage
SIP_OUT );
101 static bool exportLayerDefinition(
const QString &path,
const QList<QgsLayerTreeNode *> &selectedTreeNodes,
Qgis::FilePathType pathType, QString &errorMessage
SIP_OUT );
106 static bool exportLayerDefinition( QDomDocument doc,
const QList<QgsLayerTreeNode *> &selectedTreeNodes, QString &errorMessage
SIP_OUT,
const QgsReadWriteContext &context );
117 static QDomDocument exportLayerDefinitionLayers(
const QList<QgsMapLayer *> &layers,
const QgsReadWriteContext &context );
131 static QList<QgsMapLayer *> loadLayerDefinitionLayers(
const QString &qlrfile )
SIP_FACTORY;
170 bool isLayerDependent(
const QString &layerId )
const;
173 QVector<QDomNode> mSortedLayerNodes;
174 QStringList mSortedLayerIds;
175 QSet<QString> mDependentLayerIds;
177 bool mHasMissingDependency;
178 void init(
const QDomDocument &doc );
183 static QList<QgsMapLayer *> loadLayerDefinitionLayersInternal( QDomDocument &document,
QgsReadWriteContext &context, QString &errorMessage );
The class is used as a container of context for various read/write operations on other objects.