Skip to content
Permalink
Browse files

qgsquerybuilder.h: add missing documentation on existing methods

  • Loading branch information
rouault authored and nyalldawson committed Nov 16, 2020
1 parent 4317d76 commit a1c09b3eea51f340fc98bd6414805c92c67355fd
Showing with 10 additions and 0 deletions.
  1. +7 −0 python/gui/auto_generated/qgsquerybuilder.sip.in
  2. +3 −0 src/gui/qgsquerybuilder.h
@@ -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 );
@@ -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(); }

0 comments on commit a1c09b3

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