Skip to content

Commit

Permalink
Update sip file
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 1, 2017
1 parent 4c46f64 commit d4868b3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions python/gui/qgssourceselectproviderregistry.sip
Original file line number Diff line number Diff line change
Expand Up @@ -20,43 +20,43 @@ class QgsSourceSelectProviderRegistry
%TypeHeaderCode
#include "qgssourceselectproviderregistry.h"
%End
public:
QgsSourceSelectProviderRegistry();
public:
QgsSourceSelectProviderRegistry();

~QgsSourceSelectProviderRegistry();
~QgsSourceSelectProviderRegistry();


QList< QgsSourceSelectProvider*> providers() const;
QList< QgsSourceSelectProvider *> providers() const;
%Docstring
Get list of available providers
:rtype: list of QgsSourceSelectProvider
%End

void addProvider( QgsSourceSelectProvider *provider /Transfer/ );
void addProvider( QgsSourceSelectProvider *provider /Transfer/ );
%Docstring
Add a provider implementation. Takes ownership of the object.
%End

void removeProvider( QgsSourceSelectProvider *provider );
void removeProvider( QgsSourceSelectProvider *provider );
%Docstring
Remove provider implementation from the list (provider object is deleted)
%End

QgsSourceSelectProvider *providerByName( const QString &name ) const;
QgsSourceSelectProvider *providerByName( const QString &name ) const;
%Docstring
Return a provider by name or None if not found
:rtype: QgsSourceSelectProvider
%End

QList<QgsSourceSelectProvider *> providersByKey( const QString &providerKey ) const;
QList<QgsSourceSelectProvider *> providersByKey( const QString &providerKey ) const;
%Docstring
Return a (possibly empty) list of providers by data provider's key
:rtype: list of QgsSourceSelectProvider
%End


private:
QgsSourceSelectProviderRegistry( const QgsSourceSelectProviderRegistry &rh );
private:
QgsSourceSelectProviderRegistry( const QgsSourceSelectProviderRegistry &rh );
};

/************************************************************************
Expand Down

0 comments on commit d4868b3

Please sign in to comment.