Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 2, 2019
1 parent b628244 commit 8797798
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions python/core/auto_generated/qgsdataprovider.sip.in
Expand Up @@ -391,6 +391,17 @@ Returns ``True`` if metadata was successfully written to the data provider.


static QString sublayerSeparator();
%Docstring
String sequence used for separating components of sublayers strings.

.. note::

Replaces the static const SUBLAYER_SEPARATOR

.. seealso:: :py:func:`subLayers`

.. versionadded:: 3.12
%End

signals:

Expand Down
6 changes: 6 additions & 0 deletions src/core/qgsdataprovider.h
Expand Up @@ -539,6 +539,12 @@ class CORE_EXPORT QgsDataProvider : public QObject
*/
virtual void setTransformContext( const QgsCoordinateTransformContext &transformContext ) SIP_SKIP;

/**
* String sequence used for separating components of sublayers strings.
* \note Replaces the static const SUBLAYER_SEPARATOR
* \see subLayers()
* \since QGIS 3.12
*/
static QString sublayerSeparator();

signals:
Expand Down

0 comments on commit 8797798

Please sign in to comment.