Skip to content

Commit

Permalink
Mark some API as non-stable, hide from Python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 14, 2018
1 parent e73f740 commit 8f90791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
Expand Up @@ -253,19 +253,7 @@ Set the pivot point
.. versionadded:: 3.4
%End

QStringList listForCboPrettyBreaks() const;
%Docstring
Returns the list of breaks used in the prettybreaks mode. Needed to recover this list in saved configuration, or when property window in closed and reopened

.. versionadded:: 3.4
%End

void setListForCboPrettyBreaks( QStringList listForCboPrettyBreaks );
%Docstring
Set the list of breaks used in the prettybreaks mode, which is needed to recover this list in saved configuration, or when property window is closed and reopened

.. versionadded:: 3.4
%End

bool astride() const;
%Docstring
Expand Down
6 changes: 4 additions & 2 deletions src/core/symbology/qgsgraduatedsymbolrenderer.h
Expand Up @@ -248,15 +248,17 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer

/**
* Returns the list of breaks used in the prettybreaks mode. Needed to recover this list in saved configuration, or when property window in closed and reopened
* \note Not available in Python bindings, not stable API
* \since QGIS 3.4
*/
QStringList listForCboPrettyBreaks() const { return mListForCboPrettyBreaks; }
QStringList listForCboPrettyBreaks() const { return mListForCboPrettyBreaks; } SIP_SKIP

/**
* Set the list of breaks used in the prettybreaks mode, which is needed to recover this list in saved configuration, or when property window is closed and reopened
* \note Not available in Python bindings, not stable API
* \since QGIS 3.4
*/
void setListForCboPrettyBreaks( QStringList listForCboPrettyBreaks ) { mListForCboPrettyBreaks = listForCboPrettyBreaks; }
void setListForCboPrettyBreaks( const QStringList &listForCboPrettyBreaks ) { mListForCboPrettyBreaks = listForCboPrettyBreaks; } SIP_SKIP

/**
* Returns if we want to have a central class astride the pivot value
Expand Down

0 comments on commit 8f90791

Please sign in to comment.