QGIS/python/core/auto_generated/browser/qgsdatabaseschemaitem.sip.in
Nyall Dawson b5aace6e82 Split qgsdataitem.h/cpp into multiple files for individual classes
to avoid mega file which triggers an include explosion
2021-05-21 09:22:05 +10:00

60 lines
2.2 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/browser/qgsdatabaseschemaitem.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsDatabaseSchemaItem : QgsDataCollectionItem
{
%Docstring(signature="appended")
A Collection that represents a database schema item
.. versionadded:: 3.16
%End
%TypeHeaderCode
#include "qgsdatabaseschemaitem.h"
%End
public:
QgsDatabaseSchemaItem( QgsDataItem *parent /TransferThis/, const QString &name, const QString &path = QString(), const QString &providerKey = QString() );
%Docstring
Constructor for QgsDatabaseSchemaItem, with the specified ``parent`` item.
The ``name`` argument specifies the text to show in the model for the item. A translated string should
be used wherever appropriate.
The ``path`` argument gives the item path in the browser tree. The ``path`` string can take any form,
but :py:class:`QgsSchemaItem` items pointing to different logical locations should always use a different item ``path``.
The optional ``providerKey`` string can be used to specify the key for the :py:class:`QgsDataItemProvider` that created this item.
%End
~QgsDatabaseSchemaItem();
virtual QgsAbstractDatabaseProviderConnection *databaseConnection() const;
static QIcon iconDataCollection();
%Docstring
Returns the standard browser data collection icon.
.. seealso:: :py:func:`iconDir`
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/browser/qgsdatabaseschemaitem.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/