Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix dox warning
  • Loading branch information
nyalldawson committed Jul 27, 2021
1 parent 2164a09 commit 5345103
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion python/gui/auto_generated/qgsnewnamedialog.sip.in
Expand Up @@ -38,8 +38,11 @@ New dialog constructor.
:param parent: parent widget
:param flags: window flags

.. note::

Earlier versions had a similar constructor but with extra arguments for ``regexp`` which were removed in QGIS 3.22 as they relied on the deprecated QRegExp class. Use :py:func:`~QgsNewNameDialog.setRegularExpression` instead.

.. versionadded:: 3.22.
which were removed in QGIS 3.22 as they relied on the deprecated QRegExp class. Use :py:func:`~QgsNewNameDialog.setRegularExpression` instead.
%End

void setHintString( const QString &hintString );
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsnewnamedialog.h
Expand Up @@ -44,8 +44,8 @@ class GUI_EXPORT QgsNewNameDialog : public QgsDialog
* \param cs case sensitivity for new name to existing names comparison
* \param parent parent widget
* \param flags window flags
* \since QGIS 3.22. Earlier versions had a similar constructor but with extra arguments for \a regexp
* which were removed in QGIS 3.22 as they relied on the deprecated QRegExp class. Use setRegularExpression() instead.
* \note Earlier versions had a similar constructor but with extra arguments for \a regexp which were removed in QGIS 3.22 as they relied on the deprecated QRegExp class. Use setRegularExpression() instead.
* \since QGIS 3.22.
*/
QgsNewNameDialog( const QString &source = QString(), const QString &initial = QString(),
const QStringList &extensions = QStringList(), const QStringList &existing = QStringList(),
Expand Down

0 comments on commit 5345103

Please sign in to comment.