Skip to content
Browse files

make QgsVectorLayer::wkbType and geometryType invokable (#34855)

  • Loading branch information
3nids committed Mar 4, 2020
1 parent 595716e commit 00f2eab0bb9f637008b68dc39e61c6b176f586b9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsvectorlayer.h
@@ -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;

0 comments on commit 00f2eab

Please sign in to comment.
You can’t perform that action at this time.