fix docstrings

This commit is contained in:
uclaros 2022-06-07 10:04:31 +03:00 committed by Nyall Dawson
parent e58cb1f02d
commit bb767336e7
2 changed files with 4 additions and 4 deletions

View File

@ -171,12 +171,12 @@ can be retrieved by calling :py:func:`~QgsBlockingNetworkRequest.errorMessage`.
QString errorMessage() const;
%Docstring
Returns the error message string, after a :py:func:`~QgsBlockingNetworkRequest.get` or :py:func:`~QgsBlockingNetworkRequest.post` request has been made.\
Returns the error message string, after a :py:func:`~QgsBlockingNetworkRequest.get`, :py:func:`~QgsBlockingNetworkRequest.post`, :py:func:`~QgsBlockingNetworkRequest.head` or :py:func:`~QgsBlockingNetworkRequest.put` request has been made.
%End
QgsNetworkReplyContent reply() const;
%Docstring
Returns the content of the network reply, after a :py:func:`~QgsBlockingNetworkRequest.get` or :py:func:`~QgsBlockingNetworkRequest.post` request has been made.
Returns the content of the network reply, after a :py:func:`~QgsBlockingNetworkRequest.get`, :py:func:`~QgsBlockingNetworkRequest.post`, :py:func:`~QgsBlockingNetworkRequest.head` or :py:func:`~QgsBlockingNetworkRequest.put` request has been made.
%End
QString authCfg() const;

View File

@ -183,12 +183,12 @@ class CORE_EXPORT QgsBlockingNetworkRequest : public QObject
ErrorCode deleteResource( QNetworkRequest &request, QgsFeedback *feedback = nullptr );
/**
* Returns the error message string, after a get() or post() request has been made.\
* Returns the error message string, after a get(), post(), head() or put() request has been made.
*/
QString errorMessage() const { return mErrorMessage; }
/**
* Returns the content of the network reply, after a get() or post() request has been made.
* Returns the content of the network reply, after a get(), post(), head() or put() request has been made.
*/
QgsNetworkReplyContent reply() const { return mReplyContent; }