Skip to content
Permalink
Browse files
const method
  • Loading branch information
3nids authored and github-actions committed Jan 7, 2022
1 parent 8e27d93 commit aafe3a6ad0248ecbb0115f49097282ee3b9bcbaf
Showing with 3 additions and 3 deletions.
  1. +1 −1 python/gui/auto_generated/qgsrelationwidgetregistry.sip.in
  2. +1 −1 src/gui/qgsrelationwidgetregistry.cpp
  3. +1 −1 src/gui/qgsrelationwidgetregistry.h
@@ -40,7 +40,7 @@ Adds a new registered relation ``widgetFactory``
Removes a registered relation widget with given ``widgetType``
%End

QStringList relationWidgetNames();
QStringList relationWidgetNames() const;
%Docstring
Returns a list of names of registered relation widgets
%End
@@ -51,7 +51,7 @@ void QgsRelationWidgetRegistry::removeRelationWidget( const QString &widgetType
mRelationWidgetFactories.remove( widgetType );
}

QStringList QgsRelationWidgetRegistry::relationWidgetNames()
QStringList QgsRelationWidgetRegistry::relationWidgetNames() const
{
return mRelationWidgetFactories.keys();
}
@@ -52,7 +52,7 @@ class GUI_EXPORT QgsRelationWidgetRegistry
/**
* Returns a list of names of registered relation widgets
*/
QStringList relationWidgetNames();
QStringList relationWidgetNames() const;

/**
* Gets access to all registered factories

0 comments on commit aafe3a6

Please sign in to comment.