File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -460,6 +460,7 @@ Convenience function to query topological editing status
460460 :rtype: QgsAnnotationManager
461461%End
462462
463+
463464 void setNonIdentifiableLayers ( const QList<QgsMapLayer *> &layers );
464465%Docstring
465466 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
8484
8585 /* * Returns the text of the <layername> element for a layer element
8686 @return name or a null string in case of error*/
87- QString layerName ( const QDomElement &layerElem ) const ;
87+ // QString layerName( const QDomElement &layerElem ) const;
8888
8989 QStringList wfsLayers () const ;
9090 QStringList wcsLayers () const ;
9191
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+
9299 // ! Add layers for vector joins
93100 void addJoinLayersForElement ( const QDomElement &layerElem ) const ;
94101
@@ -101,10 +108,6 @@ class QgsServerProjectParser
101108 @return id or a null string in case of error*/
102109 QString layerId ( const QDomElement &layerElem ) const ;
103110
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-
108111 QgsRectangle projectExtent () const ;
109112
110113 int numberOfLayers () const ;
You can’t perform that action at this time.
0 commit comments