mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
Since QGIS 3.22
This commit is contained in:
parent
a7739d9727
commit
2b97162c23
@ -332,7 +332,7 @@ The ``processor`` function takes the QNetworkRequest as its argument, and can mu
|
|||||||
|
|
||||||
.. seealso:: :py:func:`removeRequestPreprocessor`
|
.. seealso:: :py:func:`removeRequestPreprocessor`
|
||||||
|
|
||||||
.. versionadded:: 3.12
|
.. versionadded:: 3.22
|
||||||
%End
|
%End
|
||||||
%MethodCode
|
%MethodCode
|
||||||
PyObject *s = 0;
|
PyObject *s = 0;
|
||||||
@ -370,7 +370,7 @@ Returns ``True`` if processor existed and was removed.
|
|||||||
|
|
||||||
.. seealso:: :py:func:`setRequestPreprocessor`
|
.. seealso:: :py:func:`setRequestPreprocessor`
|
||||||
|
|
||||||
.. versionadded:: 3.12
|
.. versionadded:: 3.22
|
||||||
%End
|
%End
|
||||||
%MethodCode
|
%MethodCode
|
||||||
if ( !QgsNetworkAccessManager::removeRequestPreprocessor( *a0 ) )
|
if ( !QgsNetworkAccessManager::removeRequestPreprocessor( *a0 ) )
|
||||||
@ -420,6 +420,8 @@ Abort any outstanding external browser login request.
|
|||||||
Preprocesses request
|
Preprocesses request
|
||||||
|
|
||||||
:param req: the request to preprocess
|
:param req: the request to preprocess
|
||||||
|
|
||||||
|
.. versionadded:: 3.22
|
||||||
%End
|
%End
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
@ -525,7 +525,7 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager
|
|||||||
* used to remove the preprocessor (via a call to removeRequestPreprocessor()).
|
* used to remove the preprocessor (via a call to removeRequestPreprocessor()).
|
||||||
*
|
*
|
||||||
* \see removeRequestPreprocessor()
|
* \see removeRequestPreprocessor()
|
||||||
* \since QGIS 3.12
|
* \since QGIS 3.22
|
||||||
*/
|
*/
|
||||||
#ifndef SIP_RUN
|
#ifndef SIP_RUN
|
||||||
static QString setRequestPreprocessor( const std::function< void( QNetworkRequest *request )> &processor );
|
static QString setRequestPreprocessor( const std::function< void( QNetworkRequest *request )> &processor );
|
||||||
@ -566,7 +566,7 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager
|
|||||||
* Returns TRUE if processor existed and was removed.
|
* Returns TRUE if processor existed and was removed.
|
||||||
*
|
*
|
||||||
* \see setRequestPreprocessor()
|
* \see setRequestPreprocessor()
|
||||||
* \since QGIS 3.12
|
* \since QGIS 3.22
|
||||||
*/
|
*/
|
||||||
#ifndef SIP_RUN
|
#ifndef SIP_RUN
|
||||||
static bool removeRequestPreprocessor( const QString &id );
|
static bool removeRequestPreprocessor( const QString &id );
|
||||||
@ -614,6 +614,7 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager
|
|||||||
/**
|
/**
|
||||||
* Preprocesses request
|
* Preprocesses request
|
||||||
* \param req the request to preprocess
|
* \param req the request to preprocess
|
||||||
|
* \since QGIS 3.22
|
||||||
*/
|
*/
|
||||||
void preprocessRequest( QNetworkRequest *req ) const;
|
void preprocessRequest( QNetworkRequest *req ) const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user