Skip to content

Commit

Permalink
Revert "remove transfer annotations" (#51553)
Browse files Browse the repository at this point in the history
This reverts commit fcbf76e.
  • Loading branch information
3nids committed Jan 24, 2023
1 parent 0a1f433 commit fb49e6e
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 64 deletions.
48 changes: 24 additions & 24 deletions python/core/auto_generated/settings/qgssettingsentryimpl.sip.in
Expand Up @@ -33,7 +33,7 @@ typedef QgsSettingsEntryByReference<QVariant> QgsSettingsEntryByReferenceQVarian
QgsSettingsTreeNode *parent,
const QVariant &defaultValue = QVariant(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryVariant.

Expand All @@ -51,7 +51,7 @@ Constructor for QgsSettingsEntryVariant.
const QString &section,
const QVariant &defaultValue = QVariant(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryVariant.

Expand All @@ -69,7 +69,7 @@ Constructor for QgsSettingsEntryVariant.
const QString &pluginName,
const QVariant &defaultValue = QVariant(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryVariant.
This constructor is intended to be used from plugins.
Expand Down Expand Up @@ -136,7 +136,7 @@ typedef QgsSettingsEntryByReference<QString> QgsSettingsEntryByReferenceQStringB
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
int minLength = 0,
int maxLength = -1 ) throw( QgsSettingsException );
int maxLength = -1 ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryString.

Expand All @@ -156,7 +156,7 @@ Constructor for QgsSettingsEntryString.
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
int minLength = 0,
int maxLength = -1 ) throw( QgsSettingsException );
int maxLength = -1 ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryString.

Expand All @@ -176,7 +176,7 @@ Constructor for QgsSettingsEntryString.
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
int minLength = 0,
int maxLength = -1 ) throw( QgsSettingsException );
int maxLength = -1 ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryString.
This constructor is intended to be used from plugins.
Expand Down Expand Up @@ -234,7 +234,7 @@ typedef QgsSettingsEntryByReference<QStringList> QgsSettingsEntryByReferenceQStr
QgsSettingsTreeNode *parent,
const QStringList &defaultValue = QStringList(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryStringList.

Expand All @@ -250,7 +250,7 @@ Constructor for QgsSettingsEntryStringList.
const QString &section,
const QStringList &defaultValue = QStringList(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryStringList.

Expand All @@ -267,7 +267,7 @@ Constructor for QgsSettingsEntryStringList.
const QString &pluginName,
const QStringList &defaultValue = QStringList(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryStringList.
This constructor is intended to be used from plugins.
Expand Down Expand Up @@ -313,7 +313,7 @@ typedef QgsSettingsEntryByValue<bool> QgsSettingsEntryByValueboolBase;
QgsSettingsTreeNode *parent,
bool defaultValue = false,
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryBool.

Expand All @@ -329,7 +329,7 @@ Constructor for QgsSettingsEntryBool.
const QString &section,
bool defaultValue = false,
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryBool.

Expand All @@ -345,7 +345,7 @@ Constructor for QgsSettingsEntryBool.
const QString &pluginName,
bool defaultValue = false,
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryBool.
This constructor is intended to be used from plugins.
Expand Down Expand Up @@ -394,7 +394,7 @@ typedef QgsSettingsEntryByValue<int> QgsSettingsEntryByValueintBase;
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
int minValue = INT_MIN,
int maxValue = INT_MAX ) throw( QgsSettingsException );
int maxValue = INT_MAX ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryInteger.

Expand All @@ -414,7 +414,7 @@ Constructor for QgsSettingsEntryInteger.
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
int minValue = INT_MIN,
int maxValue = INT_MAX ) throw( QgsSettingsException );
int maxValue = INT_MAX ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryInteger.

Expand All @@ -434,7 +434,7 @@ Constructor for QgsSettingsEntryInteger.
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
int minValue = INT_MIN,
int maxValue = INT_MAX ) throw( QgsSettingsException );
int maxValue = INT_MAX ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryInteger.
This constructor is intended to be used from plugins.
Expand Down Expand Up @@ -497,7 +497,7 @@ typedef QgsSettingsEntryByValue<double> QgsSettingsEntryByValuedoubleBase;
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
double minValue = -DBL_MAX,
double maxValue = DBL_MAX,
int displayDecimals = 1 ) throw( QgsSettingsException );
int displayDecimals = 1 ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryDouble.

Expand All @@ -520,7 +520,7 @@ Constructor for QgsSettingsEntryDouble.
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
double minValue = -DBL_MAX,
double maxValue = DBL_MAX,
int displayDecimals = 1 ) throw( QgsSettingsException );
int displayDecimals = 1 ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryDouble.

Expand All @@ -543,7 +543,7 @@ Constructor for QgsSettingsEntryDouble.
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
double minValue = -DBL_MAX,
double maxValue = DBL_MAX,
int displayDecimals = 1 ) throw( QgsSettingsException );
int displayDecimals = 1 ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryDouble.
This constructor is intended to be used from plugins.
Expand Down Expand Up @@ -619,7 +619,7 @@ typedef QgsSettingsEntryByReference<QColor> QgsSettingsEntryByReferenceQColorBas
const QColor &defaultValue = QColor(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
bool allowAlpha = true ) throw( QgsSettingsException );
bool allowAlpha = true ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryColor.

Expand All @@ -637,7 +637,7 @@ Constructor for QgsSettingsEntryColor.
const QColor &defaultValue = QColor(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
bool allowAlpha = true ) throw( QgsSettingsException );
bool allowAlpha = true ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryColor.

Expand All @@ -655,7 +655,7 @@ Constructor for QgsSettingsEntryColor.
const QColor &defaultValue = QColor(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions(),
bool allowAlpha = true ) throw( QgsSettingsException );
bool allowAlpha = true ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryColor.
This constructor is intended to be used from plugins.
Expand Down Expand Up @@ -713,7 +713,7 @@ typedef QgsSettingsEntryByReference<QVariantMap> QgsSettingsEntryByReferenceQVar
QgsSettingsTreeNode *parent,
const QVariantMap &defaultValue = QVariantMap(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryVariantMap.

Expand All @@ -729,7 +729,7 @@ Constructor for QgsSettingsEntryVariantMap.
const QString &section,
const QVariantMap &defaultValue = QVariantMap(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for QgsSettingsEntryVariantMap.

Expand All @@ -745,7 +745,7 @@ Constructor for QgsSettingsEntryVariantMap.
const QString &pluginName,
const QVariantMap &defaultValue = QVariantMap(),
const QString &description = QString(),
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException );
Qgis::SettingsOptions options = Qgis::SettingsOptions() ) throw( QgsSettingsException ) /Transfer/;
%Docstring
Constructor for :py:class:`QgsSettingsEntryStringMap`.
This constructor is intended to be used from plugins.
Expand Down

0 comments on commit fb49e6e

Please sign in to comment.