Skip to content

Commit

Permalink
qgsquerybuilder.h: add missing documentation on existing methods
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault authored and nyalldawson committed Nov 16, 2020
1 parent 4317d76 commit a1c09b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python/gui/auto_generated/qgsquerybuilder.sip.in
Expand Up @@ -39,7 +39,14 @@ vector layer properties dialog


QString sql() const;
%Docstring
Returns the sql statement entered in the dialog.
%End

void setSql( const QString &sqlStatement );
%Docstring
Set the sql statement to display in the dialog.
%End

virtual QString subsetString() const;
virtual void setSubsetString( const QString &subsetString );
Expand Down
3 changes: 3 additions & 0 deletions src/gui/qgsquerybuilder.h
Expand Up @@ -58,7 +58,10 @@ class GUI_EXPORT QgsQueryBuilder : public QgsSubsetStringEditorInterface, privat

void showEvent( QShowEvent *event ) override;

//! Returns the sql statement entered in the dialog.
QString sql() const;

//! Set the sql statement to display in the dialog.
void setSql( const QString &sqlStatement );

QString subsetString() const override { return sql(); }
Expand Down

0 comments on commit a1c09b3

Please sign in to comment.