Skip to content

Commit

Permalink
remove static function to return volatile function, since it's not ne…
Browse files Browse the repository at this point in the history
…eded anymore
  • Loading branch information
signedav committed Feb 2, 2024
1 parent e03d33c commit 2f7b828
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
10 changes: 0 additions & 10 deletions python/PyQt6/gui/auto_generated/qgsattributeform.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -339,16 +339,6 @@ Notify the form widgets that something has changed in case they
have filter expressions that depend on the parent form scope.

.. versionadded:: 3.14
%End

static const QSet<QString> volatileExpressionFunctions();
%Docstring
Static function that returns a set of names of volatile expression functions
to determine whether a widget should be updated "realtime" or not.*

:return: QSet<QString> of volatile expression functions

.. versionadded:: 3.34.4
%End

};
Expand Down
10 changes: 0 additions & 10 deletions python/gui/auto_generated/qgsattributeform.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -339,16 +339,6 @@ Notify the form widgets that something has changed in case they
have filter expressions that depend on the parent form scope.

.. versionadded:: 3.14
%End

static const QSet<QString> volatileExpressionFunctions();
%Docstring
Static function that returns a set of names of volatile expression functions
to determine whether a widget should be updated "realtime" or not.*

:return: QSet<QString> of volatile expression functions

.. versionadded:: 3.34.4
%End

};
Expand Down
9 changes: 0 additions & 9 deletions src/gui/qgsattributeform.h
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,6 @@ class GUI_EXPORT QgsAttributeForm : public QWidget
*/
void parentFormValueChanged( const QString &attribute, const QVariant &newValue );

/**
* Static function that returns a set of names of volatile expression functions
* to determine whether a widget should be updated "realtime" or not.*
* \returns QSet<QString> of volatile expression functions
*
* \since QGIS 3.34.4
*/
static const QSet<QString> volatileExpressionFunctions() { return QSet<QString>() << QStringLiteral( "now" ) << QStringLiteral( "rand" ) << QStringLiteral( "randf" ) << QStringLiteral( "uuid" ); }

private slots:
void onAttributeChanged( const QVariant &value, const QVariantList &additionalFieldValues );
void onAttributeAdded( int idx );
Expand Down

0 comments on commit 2f7b828

Please sign in to comment.