mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Remove duplicate inherited members
This commit is contained in:
parent
b85e373a31
commit
56e58a2f74
@ -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
|
||||
|
@ -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
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@ -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() ) };
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user