Skip to content

Commit

Permalink
fix copydoc on non-existent class
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyaani committed Dec 13, 2021
1 parent 46d2fe3 commit 49e6365
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
10 changes: 8 additions & 2 deletions python/core/auto_generated/settings/qgssettingsentry.sip.in
Expand Up @@ -788,12 +788,18 @@ Get settings default value.

bool setValue( const T &value, const QString &dynamicKeyPart = QString() ) const;
%Docstring
\copydoc :py:class:`QgsSettingsEntryBase`.setValue
Set settings value.

The ``value`` to set.
The ``dynamicKeyPart`` argument specifies the dynamic part of the settings key.
%End

bool setValue( const T &value, const QStringList &dynamicKeyPartList ) const;
%Docstring
\copydoc :py:class:`QgsSettingsEntryBase`.setValue
Set settings value.

The ``value`` to set.
The ``dynamicKeyParts`` argument specifies the list of dynamic parts of the settings key.
%End

virtual QgsSettingsEntryBase::SettingsType settingsType() const;
Expand Down
14 changes: 12 additions & 2 deletions src/core/settings/qgssettingsentry.h
Expand Up @@ -969,7 +969,12 @@ class CORE_EXPORT QgsSettingsEntryEnumFlag : public QgsSettingsEntryBase
return defaultValue;
}

//! \copydoc QgsSettingsEntryBase::setValue
/**
* Set settings value.
*
* The \a value to set.
* The \a dynamicKeyPart argument specifies the dynamic part of the settings key.
*/
bool setValue( const T &value, const QString &dynamicKeyPart = QString() ) const
{
QStringList dynamicKeyPartList;
Expand All @@ -979,7 +984,12 @@ class CORE_EXPORT QgsSettingsEntryEnumFlag : public QgsSettingsEntryBase
return setValue( value, dynamicKeyPartList );
}

//! \copydoc QgsSettingsEntryBase::setValue
/**
* Set settings value.
*
* The \a value to set.
* The \a dynamicKeyParts argument specifies the list of dynamic parts of the settings key.
*/
bool setValue( const T &value, const QStringList &dynamicKeyPartList ) const
{
if ( !mMetaEnum.isValid() )
Expand Down

0 comments on commit 49e6365

Please sign in to comment.