Remove duplicate inherited members

This commit is contained in:
Nyall Dawson 2024-10-15 11:13:57 +10:00
parent b85e373a31
commit 56e58a2f74
6 changed files with 0 additions and 27 deletions

View File

@ -1,6 +1,5 @@
# The following has been generated automatically from src/core/browser/qgsdatabaseschemaitem.h
try:
QgsDatabaseSchemaItem.iconDataCollection = staticmethod(QgsDatabaseSchemaItem.iconDataCollection)
QgsDatabaseSchemaItem.__group__ = ['browser']
except NameError:
pass

View File

@ -45,13 +45,6 @@ The optional ``providerKey`` string can be used to specify the key for the :py:c
virtual QgsAbstractDatabaseProviderConnection *databaseConnection() const;
static QIcon iconDataCollection();
%Docstring
Returns the standard browser data collection icon.
.. seealso:: :py:func:`iconDir`
%End
};

View File

@ -1,6 +1,5 @@
# The following has been generated automatically from src/core/browser/qgsdatabaseschemaitem.h
try:
QgsDatabaseSchemaItem.iconDataCollection = staticmethod(QgsDatabaseSchemaItem.iconDataCollection)
QgsDatabaseSchemaItem.__group__ = ['browser']
except NameError:
pass

View File

@ -45,13 +45,6 @@ The optional ``providerKey`` string can be used to specify the key for the :py:c
virtual QgsAbstractDatabaseProviderConnection *databaseConnection() const;
static QIcon iconDataCollection();
%Docstring
Returns the standard browser data collection icon.
.. seealso:: :py:func:`iconDir`
%End
};

View File

@ -33,11 +33,6 @@ QgsDatabaseSchemaItem::~QgsDatabaseSchemaItem()
}
QIcon QgsDatabaseSchemaItem::iconDataCollection()
{
return QgsApplication::getThemeIcon( QStringLiteral( "/mIconDbSchema.svg" ) );
}
QgsAbstractDatabaseProviderConnection *QgsDatabaseSchemaItem::databaseConnection() const
{
const QString dataProviderKey { QgsApplication::dataItemProviderRegistry()->dataProviderKey( providerKey() ) };

View File

@ -56,12 +56,6 @@ class CORE_EXPORT QgsDatabaseSchemaItem : public QgsDataCollectionItem
QgsAbstractDatabaseProviderConnection *databaseConnection() const override;
/**
* Returns the standard browser data collection icon.
* \see iconDir()
*/
static QIcon iconDataCollection();
};
#endif // QGSDATABASESCHEMAITEM_H