Skip to content
Permalink
Browse files

fix typos

  • Loading branch information
3nids committed Sep 8, 2020
1 parent ae5b92d commit 58b3ae81362945ea07890a8cac7a2371baabe6ac
@@ -169,7 +169,7 @@ Prepares the filter instance for an upcoming search for the specified ``string``
from the main thread, and individual filter subclasses should perform whatever
tasks are required in order to allow a subsequent search to safely execute
on a background thread.
The method return an autocompletion list
The method returns an autocompletion list
%End

virtual void fetchResults( const QString &string, const QgsLocatorContext &context, QgsFeedback *feedback ) = 0;
@@ -112,7 +112,7 @@ class APP_EXPORT QgsActiveLayerFeaturesLocatorFilter : public QgsLocatorFilter

/**
* Returns the field restriction if defined (starting with @)
* The \a searchString is modified acccordingly by removing the field restriction
* The \a searchString is modified accordingly by removing the field restriction
*/
QString fieldRestriction( QString &searchString ) const;

@@ -219,7 +219,7 @@ class CORE_EXPORT QgsLocatorFilter : public QObject
* from the main thread, and individual filter subclasses should perform whatever
* tasks are required in order to allow a subsequent search to safely execute
* on a background thread.
* The method return an autocompletion list
* The method returns an autocompletion list
*/
virtual QStringList prepare( const QString &string, const QgsLocatorContext &context ) { Q_UNUSED( string ) Q_UNUSED( context ); return QStringList();}

@@ -187,7 +187,7 @@ class QgsLocatorLineEdit : public QgsFilterLineEdit
public:
explicit QgsLocatorLineEdit( QgsLocatorWidget *locator, QWidget *parent = nullptr );

//! Perform completion and returns true if successful
//! Performs completion and returns true if successful
bool performCompletion();

protected:

0 comments on commit 58b3ae8

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