#include "qgslayertreeutils.h"
#include "qgslayertree.h"
#include "qgsvectorlayer.h"
#include "qgsproject.h"
#include <QDomElement>
Go to the source code of this file.
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 | _writeOldLegendGroup (QDomDocument &doc, QgsLayerTreeGroup *nodeGroup, bool hasCustomOrder, const QStringList &order) |
static void | _writeOldLegendGroupChildren (QDomDocument &doc, QDomElement &groupElem, QgsLayerTreeGroup *nodeGroup, bool hasCustomOrder, const QStringList &order) |
static QDomElement | _writeOldLegendLayer (QDomDocument &doc, QgsLayerTreeLayer *nodeLayer, 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 |