qgsquerybuilder.h: add missing documentation on existing methods

This commit is contained in:
Even Rouault 2020-11-15 19:46:20 +01:00 committed by Nyall Dawson
parent 4317d768a4
commit a1c09b3eea
2 changed files with 10 additions and 0 deletions

View File

@ -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 );

View File

@ -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(); }