mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix auth manager bindings without gui
This commit is contained in:
parent
437b3efb92
commit
cfb4241767
@ -219,6 +219,7 @@ Gets authentication method from the config/provider cache via its key
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%If (HAVE_GUI)
|
||||||
|
|
||||||
QWidget *authMethodEditWidget( const QString &authMethodKey, QWidget *parent );
|
QWidget *authMethodEditWidget( const QString &authMethodKey, QWidget *parent );
|
||||||
%Docstring
|
%Docstring
|
||||||
@ -226,6 +227,7 @@ Gets authentication method edit widget via its key
|
|||||||
|
|
||||||
:param authMethodKey: Authentication method key
|
:param authMethodKey: Authentication method key
|
||||||
:param parent: Parent widget
|
:param parent: Parent widget
|
||||||
|
%End
|
||||||
%End
|
%End
|
||||||
|
|
||||||
QgsAuthMethod::Expansions supportedAuthMethodExpansions( const QString &authcfg );
|
QgsAuthMethod::Expansions supportedAuthMethodExpansions( const QString &authcfg );
|
||||||
|
@ -245,6 +245,7 @@ class CORE_EXPORT QgsAuthManager : public QObject
|
|||||||
QgsAuthMethodsMap authMethodsMap( const QString &dataprovider = QString() ) SIP_SKIP;
|
QgsAuthMethodsMap authMethodsMap( const QString &dataprovider = QString() ) SIP_SKIP;
|
||||||
|
|
||||||
#ifdef HAVE_GUI
|
#ifdef HAVE_GUI
|
||||||
|
SIP_IF_FEATURE( HAVE_GUI )
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets authentication method edit widget via its key
|
* Gets authentication method edit widget via its key
|
||||||
@ -252,6 +253,7 @@ class CORE_EXPORT QgsAuthManager : public QObject
|
|||||||
* \param parent Parent widget
|
* \param parent Parent widget
|
||||||
*/
|
*/
|
||||||
QWidget *authMethodEditWidget( const QString &authMethodKey, QWidget *parent );
|
QWidget *authMethodEditWidget( const QString &authMethodKey, QWidget *parent );
|
||||||
|
SIP_END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user