Skip to content
Browse files

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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]>
  • Loading branch information
qgis-bot and github-actions committed Mar 4, 2020
1 parent 78eb3a6 commit 6a9296095b2ef23f47a45df3f84339a45c857968
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 6a92960

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