Skip to content

Commit

Permalink
Update sip binding
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed May 30, 2017
1 parent 438ffd2 commit c85cf23
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions python/core/qgsproject.sip
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ Convenience function to query topological editing status
:rtype: QgsAnnotationManager
%End


void setNonIdentifiableLayers( const QList<QgsMapLayer *> &layers );
%Docstring
Set a list of layers which should not be taken into account on map identification
Expand Down
13 changes: 8 additions & 5 deletions python/server/qgsserverprojectparser.sip
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,18 @@ class QgsServerProjectParser

/** Returns the text of the <layername> element for a layer element
@return name or a null string in case of error*/
QString layerName( const QDomElement &layerElem ) const;
// QString layerName( const QDomElement &layerElem ) const;

QStringList wfsLayers() const;
QStringList wcsLayers() const;

/** Gets a list containing names of layers. If a layer has a short name,
* then it's used instead of it's name.
* \returns A list of layers' names or short name if defined
* \since QGIS 3.0
*/
QStringList layersNames() const;

//! Add layers for vector joins
void addJoinLayersForElement( const QDomElement &layerElem ) const;

Expand All @@ -101,10 +108,6 @@ class QgsServerProjectParser
@return id or a null string in case of error*/
QString layerId( const QDomElement &layerElem ) const;

/** Returns the text of the <id> element for a layer element
@return id or a null string in case of error*/
QString layerShortName( const QDomElement &layerElem ) const;

QgsRectangle projectExtent() const;

int numberOfLayers() const;
Expand Down

0 comments on commit c85cf23

Please sign in to comment.