Skip to content

Commit

Permalink
make QgsVectorLayer::wkbType and geometryType invokable (#34855)
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 4, 2020
1 parent 595716e commit 00f2eab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsvectorlayer.h
Expand Up @@ -869,10 +869,10 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
void setRenderer( QgsFeatureRenderer *r SIP_TRANSFER );

//! Returns point, line or polygon
QgsWkbTypes::GeometryType geometryType() const;
Q_INVOKABLE QgsWkbTypes::GeometryType geometryType() const;

//! Returns the WKBType or WKBUnknown in case of error
QgsWkbTypes::Type wkbType() const FINAL;
Q_INVOKABLE QgsWkbTypes::Type wkbType() const FINAL;

QgsCoordinateReferenceSystem sourceCrs() const FINAL;
QString sourceName() const FINAL;
Expand Down

0 comments on commit 00f2eab

Please sign in to comment.