Skip to content

Commit c85cf23

Browse files
committedMay 30, 2017
Update sip binding
1 parent 438ffd2 commit c85cf23

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed
 

‎python/core/qgsproject.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

‎python/server/qgsserverprojectparser.sip

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)
Please sign in to comment.