Skip to content
Permalink
Browse files

Fix missing Factory annotation

  • Loading branch information
nyalldawson committed Oct 23, 2018
1 parent 561d59b commit 64c99b7348d863bf4b276672f24ae38c7f6bdf69
@@ -503,7 +503,7 @@ It returns false by default.
Must be implemented by providers that support delete styles from db returning true
%End

virtual QgsFeatureRenderer *createRenderer( const QVariantMap &configuration = QVariantMap() ) const;
virtual QgsFeatureRenderer *createRenderer( const QVariantMap &configuration = QVariantMap() ) const /Factory/;
%Docstring
Creates a new vector layer feature renderer, using provider backend specific information.

@@ -694,7 +694,7 @@ bool QgsVectorDataProvider::isDeleteStyleFromDatabaseSupported() const
return false;
}

QgsFeatureRenderer *QgsVectorDataProvider::createRenderer( const QVariantMap & ) const SIP_FACTORY
QgsFeatureRenderer *QgsVectorDataProvider::createRenderer( const QVariantMap & ) const
{
return nullptr;
}
@@ -518,7 +518,7 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider, public QgsFeat
*
* \since QGIS 3.2
*/
virtual QgsFeatureRenderer *createRenderer( const QVariantMap &configuration = QVariantMap() ) const;
virtual QgsFeatureRenderer *createRenderer( const QVariantMap &configuration = QVariantMap() ) const SIP_FACTORY;

static QVariant convertValue( QVariant::Type type, const QString &value );

0 comments on commit 64c99b7

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