File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,7 @@ Convenience function to query topological editing status
460
460
:rtype: QgsAnnotationManager
461
461
%End
462
462
463
+
463
464
void setNonIdentifiableLayers( const QList<QgsMapLayer *> &layers );
464
465
%Docstring
465
466
Set a list of layers which should not be taken into account on map identification
Original file line number Diff line number Diff line change @@ -84,11 +84,18 @@ class QgsServerProjectParser
84
84
85
85
/** Returns the text of the <layername> element for a layer element
86
86
@return name or a null string in case of error*/
87
- QString layerName( const QDomElement &layerElem ) const;
87
+ // QString layerName( const QDomElement &layerElem ) const;
88
88
89
89
QStringList wfsLayers() const;
90
90
QStringList wcsLayers() const;
91
91
92
+ /** Gets a list containing names of layers. If a layer has a short name,
93
+ * then it's used instead of it's name.
94
+ * \returns A list of layers' names or short name if defined
95
+ * \since QGIS 3.0
96
+ */
97
+ QStringList layersNames() const;
98
+
92
99
//! Add layers for vector joins
93
100
void addJoinLayersForElement( const QDomElement &layerElem ) const;
94
101
@@ -101,10 +108,6 @@ class QgsServerProjectParser
101
108
@return id or a null string in case of error*/
102
109
QString layerId( const QDomElement &layerElem ) const;
103
110
104
- /** Returns the text of the <id> element for a layer element
105
- @return id or a null string in case of error*/
106
- QString layerShortName( const QDomElement &layerElem ) const;
107
-
108
111
QgsRectangle projectExtent() const;
109
112
110
113
int numberOfLayers() const;
You can’t perform that action at this time.
0 commit comments