|
QGIS API Documentation
2.6.0-Brighton
|


Go to the source code of this file.
Namespaces | |
| namespace | QgsLayerTree |
| Namespace with helper functions for layer tree operations. | |
Functions | |
| bool | QgsLayerTree::isGroup (QgsLayerTreeNode *node) |
| Check whether the node is a valid group node. | |
| bool | QgsLayerTree::isLayer (QgsLayerTreeNode *node) |
| Check whether the node is a valid layer node. | |
| QgsLayerTreeGroup * | QgsLayerTree::toGroup (QgsLayerTreeNode *node) |
| Cast node to a group. No type checking is done - use isGroup() to find out whether this operation is legal. | |
| QgsLayerTreeLayer * | QgsLayerTree::toLayer (QgsLayerTreeNode *node) |
| Cast node to a layer. No type checking is done - use isLayer() to find out whether this operation is legal. | |
1.8.1.2