Skip to content

Commit

Permalink
fix sip coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 19, 2017
1 parent fb8edea commit f0ed77e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python/core/qgsoptional.sip
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ class QgsOptional
Often it is used for configuration options which can be enabled or disabled but also have
more internal configuration information that should not be lost when disabling and re-enabling.

.. note::

For Python you need to use implementations for specific template classes
.. note::

Not available in Python bindings (although SIP file is present for specific implementations).

.. versionadded:: 3.0
%End

Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsoptional.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
* Often it is used for configuration options which can be enabled or disabled but also have
* more internal configuration information that should not be lost when disabling and re-enabling.
*
* \note For Python you need to use implementations for specific template classes
* \note Not available in Python bindings (although SIP file is present for specific implementations).
*
* \since QGIS 3.0
*/
template<typename T>
Expand Down

0 comments on commit f0ed77e

Please sign in to comment.