18 #ifndef QGSGROUPLAYER_H
19 #define QGSGROUPLAYER_H
21 #include "qgis_core.h"
27 class QgsGroupLayerDataProvider;
58 : transformContext( transformContext )
77 SIP_PYOBJECT __repr__();
79 QString
str = QStringLiteral(
"<QgsGroupLayer: '%1'>" ).arg( sipCpp->name() );
80 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
89 bool writeXml( QDomNode &layer_node, QDomDocument &doc, const
QgsReadWriteContext &context ) const override;
90 bool writeSymbology( QDomNode &node, QDomDocument &doc, QString &errorMessage, const
QgsReadWriteContext &, StyleCategories categories = AllStyleCategories ) const override;
91 bool readSymbology( const QDomNode &node, QString &errorMessage,
QgsReadWriteContext &context, StyleCategories categories = AllStyleCategories ) override;
94 QString htmlMetadata() const override;
95 void resolveReferences(
QgsProject *project ) override;
105 void setChildLayers( const QList<
QgsMapLayer * > &layers );
131 QgsGroupLayerDataProvider *mDataProvider =
nullptr;
153 QgsDataProvider::ReadFlags flags );
156 QString name()
const override;
157 QString description()
const override;
159 bool isValid()
const override;
169 #endif // QGSGROUPLAYER_H