16 #ifndef QGSLAYERTREEMAPCANVASBRIDGE_H
17 #define QGSLAYERTREEMAPCANVASBRIDGE_H
20 #include <QStringList>
59 QStringList defaultLayerOrder()
const;
72 void setHasCustomLayerOrder(
bool override );
73 void setCustomLayerOrder(
const QStringList& order );
76 void setCanvasLayers();
78 void readProject(
const QDomDocument& doc );
79 void writeProject( QDomDocument& doc );
82 void hasCustomLayerOrderChanged(
bool );
83 void customLayerOrderChanged(
const QStringList& order );
89 void setCanvasLayers(
QgsLayerTreeNode* node, QList<QgsMapCanvasLayer>& layers );
91 void deferredSetCanvasLayers();
94 void nodeAddedChildren(
QgsLayerTreeNode* node,
int indexFrom,
int indexTo );
95 void nodeRemovedChildren();
96 void nodeVisibilityChanged();
116 #endif // QGSLAYERTREEMAPCANVASBRIDGE_H