This commit is contained in:
Alessandro Pasotti 2023-10-05 10:01:51 +02:00 committed by Nyall Dawson
parent eaafa66353
commit 1a83ddd146
2 changed files with 3 additions and 3 deletions

View File

@ -86,12 +86,12 @@ Configure the widget from a layer ``uri`` by selecting the layer path or connect
The base implementation does nothing and returns ``False``: providers with ConfigureSourceSelectFromUri capability
must override to implement this functionality.
:return: ``True`` on success.
.. note::
Not all data providers may be able to configure the widget from the provided uri, in that case this method returns ``False``.
:return: ``True`` on success.
.. versionadded:: 3.38
%End

View File

@ -100,8 +100,8 @@ class GUI_EXPORT QgsAbstractDataSourceWidget : public QDialog
* Configure the widget from a layer \a uri by selecting the layer path or connection options.
* The base implementation does nothing and returns FALSE: providers with ConfigureSourceSelectFromUri capability
* must override to implement this functionality.
* \note Not all data providers may be able to configure the widget from the provided uri, in that case this method returns FALSE.
* \return TRUE on success.
* \note Not all data providers may be able to configure the widget from the provided uri, in that case this method returns FALSE.
* \since 3.38
*/
virtual bool configureFromUri( const QString &uri );