mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[sipify] prevent creation of param list when not necessary
This commit is contained in:
parent
6d94ac9c6c
commit
4568bcdf1f
@ -1221,7 +1221,6 @@ Set whether provider notification is connected to triggerRepaint
|
|||||||
%Docstring
|
%Docstring
|
||||||
Set the notification message that triggers repaine
|
Set the notification message that triggers repaine
|
||||||
If refresh on notification is enabled, the notification will triggerRepaint only
|
If refresh on notification is enabled, the notification will triggerRepaint only
|
||||||
|
|
||||||
if the notification message is equal to:param message:
|
if the notification message is equal to:param message:
|
||||||
|
|
||||||
.. versionadded:: 3.0
|
.. versionadded:: 3.0
|
||||||
|
@ -154,7 +154,6 @@ Query the layer for the features which intersect the specified rectangle.
|
|||||||
bool isFidCached( const QgsFeatureId fid ) const;
|
bool isFidCached( const QgsFeatureId fid ) const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Check if a certain feature id is cached.
|
Check if a certain feature id is cached.
|
||||||
|
|
||||||
\param fid The feature id to look for
|
\param fid The feature id to look for
|
||||||
|
|
||||||
:return: True if this id is in the cache
|
:return: True if this id is in the cache
|
||||||
|
@ -72,7 +72,6 @@ Constructor for QgsFeatureListModel
|
|||||||
|
|
||||||
bool setDisplayExpression( const QString &expression );
|
bool setDisplayExpression( const QString &expression );
|
||||||
%Docstring
|
%Docstring
|
||||||
|
|
||||||
\param expression A QgsExpression compatible string.
|
\param expression A QgsExpression compatible string.
|
||||||
|
|
||||||
:return: true if the expression could be set, false if there was a parse error.
|
:return: true if the expression could be set, false if there was a parse error.
|
||||||
|
@ -166,12 +166,14 @@ sub processDoxygenLine {
|
|||||||
# params
|
# params
|
||||||
if ( $line =~ m/\\param / ){
|
if ( $line =~ m/\\param / ){
|
||||||
$line =~ s/\s*\\param (\w+)\b/:param $1:/g;
|
$line =~ s/\s*\\param (\w+)\b/:param $1:/g;
|
||||||
if ( $COMMENT_PARAM_LIST == 0 )
|
if ( $line =~ m/^:param/ ){
|
||||||
{
|
if ( $COMMENT_PARAM_LIST == 0 )
|
||||||
$line = "\n$line";
|
{
|
||||||
|
$line = "\n$line";
|
||||||
|
}
|
||||||
|
$COMMENT_PARAM_LIST = 1;
|
||||||
|
$COMMENT_LAST_LINE_NOTE_WARNING = 0;
|
||||||
}
|
}
|
||||||
$COMMENT_PARAM_LIST = 1;
|
|
||||||
$COMMENT_LAST_LINE_NOTE_WARNING = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $line =~ m/^\s*[\\@]brief/){
|
if ( $line =~ m/^\s*[\\@]brief/){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user