QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
qgslayertreeutils.cpp File Reference
#include "qgslayertreeutils.h"
#include "qgslayertree.h"
#include "qgsvectorlayer.h"
#include "qgsproject.h"
#include <QDomElement>
Include dependency graph for qgslayertreeutils.cpp:

Functions

static void _readOldLegendGroup (const QDomElement &groupElem, QgsLayerTreeGroup *parent)
static void _readOldLegendLayer (const QDomElement &layerElem, QgsLayerTreeGroup *parent)
static bool _readOldLegendLayerOrderGroup (const QDomElement &groupElem, QMap< int, QString > &layerIndexes)
static QDomElement _writeOldLegendLayer (QDomDocument &doc, QgsLayerTreeLayer *nodeLayer, bool hasCustomOrder, const QStringList &order)
static void _writeOldLegendGroupChildren (QDomDocument &doc, QDomElement &groupElem, QgsLayerTreeGroup *nodeGroup, bool hasCustomOrder, const QStringList &order)
static QDomElement _writeOldLegendGroup (QDomDocument &doc, QgsLayerTreeGroup *nodeGroup, bool hasCustomOrder, const QStringList &order)

Function Documentation

static void _readOldLegendGroup ( const QDomElement &  groupElem,
QgsLayerTreeGroup parent 
)
static
static void _readOldLegendLayer ( const QDomElement &  layerElem,
QgsLayerTreeGroup parent 
)
static
static bool _readOldLegendLayerOrderGroup ( const QDomElement &  groupElem,
QMap< int, QString > &  layerIndexes 
)
static
static QDomElement _writeOldLegendGroup ( QDomDocument &  doc,
QgsLayerTreeGroup nodeGroup,
bool  hasCustomOrder,
const QStringList &  order 
)
static
static void _writeOldLegendGroupChildren ( QDomDocument &  doc,
QDomElement &  groupElem,
QgsLayerTreeGroup nodeGroup,
bool  hasCustomOrder,
const QStringList &  order 
)
static
static QDomElement _writeOldLegendLayer ( QDomDocument &  doc,
QgsLayerTreeLayer nodeLayer,
bool  hasCustomOrder,
const QStringList &  order 
)
static