Skip to content

Commit

Permalink
Dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 9, 2020
1 parent a0a57d5 commit e0ca4d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/core/auto_generated/qgsdatabaseschemamodel.sip.in
Expand Up @@ -39,6 +39,11 @@ Constructor for QgsDatabaseSchemaModel, for the specified ``provider`` and ``con
%End

explicit QgsDatabaseSchemaModel( QgsAbstractDatabaseProviderConnection *connection /Transfer/, QObject *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsDatabaseSchemaModel, for the specified ``connection``.

Ownership of ``connection`` is transferred to the model.
%End

virtual QModelIndex parent( const QModelIndex &child ) const;

Expand Down
5 changes: 5 additions & 0 deletions src/core/qgsdatabaseschemamodel.h
Expand Up @@ -53,6 +53,11 @@ class CORE_EXPORT QgsDatabaseSchemaModel : public QAbstractItemModel
*/
explicit QgsDatabaseSchemaModel( const QString &provider, const QString &connection, QObject *parent SIP_TRANSFERTHIS = nullptr );

/**
* Constructor for QgsDatabaseSchemaModel, for the specified \a connection.
*
* Ownership of \a connection is transferred to the model.
*/
explicit QgsDatabaseSchemaModel( QgsAbstractDatabaseProviderConnection *connection SIP_TRANSFER, QObject *parent SIP_TRANSFERTHIS = nullptr );

// QAbstractItemModel interface
Expand Down

0 comments on commit e0ca4d4

Please sign in to comment.