QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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 417 of file qgslayertreemodel.cpp.

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

Definition at line 428 of file qgslayertreemodel.cpp.

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

Definition at line 647 of file qgslayertreemodel.cpp.

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

Definition at line 855 of file qgslayertreemodel.cpp.