15 #ifndef QGSLAYERDEFINITION_H
16 #define QGSLAYERDEFINITION_H
19 #include "qgis_core.h"
50 static bool exportLayerDefinition( QString path,
const QList<QgsLayerTreeNode *> &selectedTreeNodes, QString &errorMessage
SIP_OUT );
52 static bool exportLayerDefinition( QDomDocument doc,
const QList<QgsLayerTreeNode *> &selectedTreeNodes, QString &errorMessage
SIP_OUT,
const QgsReadWriteContext &context );
63 static QDomDocument exportLayerDefinitionLayers(
const QList<QgsMapLayer *> &layers,
const QgsReadWriteContext &context );
77 static QList<QgsMapLayer *> loadLayerDefinitionLayers(
const QString &qlrfile )
SIP_FACTORY;
112 QVector<QDomNode> mSortedLayerNodes;
113 QStringList mSortedLayerIds;
115 bool mHasMissingDependency;
116 void init(
const QDomDocument &doc );
120 #endif // QGSLAYERDEFINITION_H