Skip to content
Permalink
Browse files

Dox

  • Loading branch information
nyalldawson committed Mar 7, 2020
1 parent a0a57d5 commit e0ca4d40f67e173993f3934d9090e82b9704d093
Showing with 10 additions and 0 deletions.
  1. +5 −0 python/core/auto_generated/qgsdatabaseschemamodel.sip.in
  2. +5 −0 src/core/qgsdatabaseschemamodel.h
@@ -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;

@@ -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

0 comments on commit e0ca4d4

Please sign in to comment.
You can’t perform that action at this time.