QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
qgslayertreemodel.cpp File Reference
#include "qgslayertreemodel.h"
#include "qgslayertree.h"
#include "qgslayertreemodellegendnode.h"
#include <QMimeData>
#include <QTextStream>
#include "qgsdataitem.h"
#include "qgsmaphittest.h"
#include "qgsmaplayerlegend.h"
#include "qgspluginlayer.h"
#include "qgsrasterlayer.h"
#include "qgsrendererv2.h"
#include "qgssymbollayerv2utils.h"
#include "qgsvectorlayer.h"
Include dependency graph for qgslayertreemodel.cpp:

Go to the source code of this file.

Functions

static bool _isChildOfNode (QgsLayerTreeNode *child, QgsLayerTreeNode *node)
static bool _isChildOfNodes (QgsLayerTreeNode *child, QList< QgsLayerTreeNode * > nodes)
static QList< QgsLayerTreeLayer * > _layerNodesInSubtree (QgsLayerTreeNode *node, int indexFrom, int indexTo)
static int _numLayerCount (QgsLayerTreeGroup *group, const QString &layerId)

Function Documentation

static bool _isChildOfNode ( QgsLayerTreeNode child,
QgsLayerTreeNode node 
)
static

Definition at line 391 of file qgslayertreemodel.cpp.

static bool _isChildOfNodes ( QgsLayerTreeNode child,
QList< QgsLayerTreeNode * >  nodes 
)
static

Definition at line 402 of file qgslayertreemodel.cpp.

static QList<QgsLayerTreeLayer*> _layerNodesInSubtree ( QgsLayerTreeNode node,
int  indexFrom,
int  indexTo 
)
static

Definition at line 611 of file qgslayertreemodel.cpp.

static int _numLayerCount ( QgsLayerTreeGroup group,
const QString &  layerId 
)
static

Definition at line 777 of file qgslayertreemodel.cpp.