Skip to content
Permalink
Browse files

Update sip file

  • Loading branch information
elpaso committed Sep 1, 2017
1 parent 4c46f64 commit d4868b3f826edca3d0856164213c0f921870d21f
Showing with 10 additions and 10 deletions.
  1. +10 −10 python/gui/qgssourceselectproviderregistry.sip
@@ -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 );
};

/************************************************************************

0 comments on commit d4868b3

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