16 #ifndef QGSLAYERTREE_H
17 #define QGSLAYERTREE_H
107 QList<QgsMapLayer *> customLayerOrder()
const;
120 void setCustomLayerOrder(
const QList<QgsMapLayer *> &customLayerOrder );
133 void setCustomLayerOrder(
const QStringList &customLayerOrder )
SIP_PYNAME( setCustomLayerOrderByIds );
145 QList<QgsMapLayer *> layerOrder()
const;
155 bool hasCustomLayerOrder()
const;
165 void setHasCustomLayerOrder(
bool hasCustomLayerOrder );
183 void readLayerOrderFromXml(
const QDomElement &doc );
203 void customLayerOrderChanged();
210 void layerOrderChanged();
219 void hasCustomLayerOrderChanged(
bool hasCustomLayerOrder );
222 void nodeAddedChildren(
QgsLayerTreeNode *node,
int indexFrom,
int indexTo );
223 void nodeRemovedChildren();
228 void addMissingLayers();
230 bool mHasCustomLayerOrder = false;
235 #endif // QGSLAYERTREE_H