65 static bool exportLayerDefinition(
const QString &path,
const QList<QgsLayerTreeNode *> &selectedTreeNodes, QString &errorMessage
SIP_OUT );
79 static bool exportLayerDefinition(
const QString &path,
const QList<QgsLayerTreeNode *> &selectedTreeNodes,
Qgis::FilePathType pathType, QString &errorMessage
SIP_OUT );
84 static bool exportLayerDefinition( QDomDocument doc,
const QList<QgsLayerTreeNode *> &selectedTreeNodes, QString &errorMessage
SIP_OUT,
const QgsReadWriteContext &context );
95 static QDomDocument exportLayerDefinitionLayers(
const QList<QgsMapLayer *> &layers,
const QgsReadWriteContext &context );
109 static QList<QgsMapLayer *> loadLayerDefinitionLayers(
const QString &qlrfile )
SIP_FACTORY;
148 bool isLayerDependent(
const QString &layerId )
const;
151 QVector<QDomNode> mSortedLayerNodes;
152 QStringList mSortedLayerIds;
153 QSet<QString> mDependentLayerIds;
155 bool mHasMissingDependency;
156 void init(
const QDomDocument &doc );
161 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.