Skip to content
Permalink
Browse files

Merge pull request #9110 from m-kuhn/sip-no-default-parameter-override

Do not remove parameters from virtual methods which should be used in…
  • Loading branch information
m-kuhn committed Feb 6, 2019
2 parents db15057 + 1a87fce commit 2745dfe4bf57265ab8e757ea288f5c8f271491b7
@@ -38,7 +38,7 @@ Constructor for QgsAttributeFormEditorWidget.

~QgsAttributeFormEditorWidget();

virtual void createSearchWidgetWrappers();
virtual void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() );


void initialize( const QVariant &initialValue, bool mixedValues = false );
@@ -29,7 +29,7 @@ Widget to show for child relations on an attribute form.
Constructor
%End

virtual void createSearchWidgetWrappers();
virtual void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() );

virtual QString currentFilterExpression() const;

@@ -57,7 +57,7 @@ class GUI_EXPORT QgsAttributeFormEditorWidget : public QgsAttributeFormWidget

~QgsAttributeFormEditorWidget() override;

void createSearchWidgetWrappers( const QgsAttributeEditorContext &context SIP_PYARGREMOVE = QgsAttributeEditorContext() ) override;
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() ) override;

/**
* Resets the widget to an initial value.
@@ -41,7 +41,7 @@ class GUI_EXPORT QgsAttributeFormRelationEditorWidget : public QgsAttributeFormW
*/
explicit QgsAttributeFormRelationEditorWidget( QgsRelationWidgetWrapper *wrapper, QgsAttributeForm *form );

void createSearchWidgetWrappers( const QgsAttributeEditorContext &context SIP_PYARGREMOVE = QgsAttributeEditorContext() ) override;
void createSearchWidgetWrappers( const QgsAttributeEditorContext &context = QgsAttributeEditorContext() ) override;
QString currentFilterExpression() const override;

private:

0 comments on commit 2745dfe

Please sign in to comment.
You can’t perform that action at this time.