Skip to content

Commit

Permalink
s/Modeller/Modeler/
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nyalldawson committed Mar 6, 2018
1 parent 569b39b commit 0d00491
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
Expand Up @@ -181,7 +181,7 @@ dependent algorithms.
bool parametersCollapsed() const;
%Docstring
Returns true if the list of parameters for this algorithm should be collapsed
in the graphical modeller.
in the graphical modeler.

.. seealso:: :py:func:`setParametersCollapsed`

Expand All @@ -191,7 +191,7 @@ in the graphical modeller.
void setParametersCollapsed( bool collapsed );
%Docstring
Sets whether the list of parameters for this algorithm should be collapsed
in the graphical modeller.
in the graphical modeler.

.. seealso:: :py:func:`parametersCollapsed`

Expand All @@ -201,7 +201,7 @@ in the graphical modeller.
bool outputsCollapsed() const;
%Docstring
Returns true if the list of outputs for this algorithm should be collapsed
in the graphical modeller.
in the graphical modeler.

.. seealso:: :py:func:`setParametersCollapsed`

Expand All @@ -211,7 +211,7 @@ in the graphical modeller.
void setOutputsCollapsed( bool collapsed );
%Docstring
Sets whether the list of outputs for this algorithm should be collapsed
in the graphical modeller.
in the graphical modeler.

.. seealso:: :py:func:`outputsCollapsed`

Expand Down
1 change: 1 addition & 0 deletions scripts/spell_check/spelling.dat
Expand Up @@ -4475,6 +4475,7 @@ mkaes:makes
mkaing:making
mkea:make
mmnemonic:mnemonic
modeller:modeler
moderm:modem
modfied:modified
modfies:modifies
Expand Down
12 changes: 6 additions & 6 deletions src/core/processing/models/qgsprocessingmodelchildalgorithm.h
Expand Up @@ -175,31 +175,31 @@ class CORE_EXPORT QgsProcessingModelChildAlgorithm : public QgsProcessingModelCo

/**
* Returns true if the list of parameters for this algorithm should be collapsed
* in the graphical modeller.
* in the graphical modeler.
* \see setParametersCollapsed()
* \see outputsCollapsed()
*/
bool parametersCollapsed() const { return mParametersCollapsed; }

/**
* Sets whether the list of parameters for this algorithm should be collapsed
* in the graphical modeller.
* in the graphical modeler.
* \see parametersCollapsed()
* \see setOutputsCollapsed()
*/
void setParametersCollapsed( bool collapsed ) { mParametersCollapsed = collapsed; }

/**
* Returns true if the list of outputs for this algorithm should be collapsed
* in the graphical modeller.
* in the graphical modeler.
* \see setParametersCollapsed()
* \see parametersCollapsed()
*/
bool outputsCollapsed() const { return mOutputsCollapsed; }

/**
* Sets whether the list of outputs for this algorithm should be collapsed
* in the graphical modeller.
* in the graphical modeler.
* \see outputsCollapsed()
* \see setParametersCollapsed()
*/
Expand Down Expand Up @@ -274,9 +274,9 @@ class CORE_EXPORT QgsProcessingModelChildAlgorithm : public QgsProcessingModelCo
//! List of child algorithms from the parent model on which this algorithm is dependent
QStringList mDependencies;

//! Whether list of parameters should be collapsed in the graphical modeller
//! Whether list of parameters should be collapsed in the graphical modeler
bool mParametersCollapsed = true;
//! Whether list of outputs should be collapsed in the graphical modeller
//! Whether list of outputs should be collapsed in the graphical modeler
bool mOutputsCollapsed = true;

};
Expand Down
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingparametertype.cpp
@@ -1,6 +1,6 @@
#include "qgsprocessingparametertype.h"

bool QgsProcessingParameterType::exposeToModeller() const
bool QgsProcessingParameterType::exposeToModeler() const
{
return true;
}
Expand Down
4 changes: 2 additions & 2 deletions src/core/processing/qgsprocessingparametertype.h
Expand Up @@ -45,10 +45,10 @@ class CORE_EXPORT QgsProcessingParameterType
virtual QString id() const = 0;

/**
* Determines if this parameter is available in the modeller.
* Determines if this parameter is available in the modeler.
* The default implementation returns true.
*/
virtual bool exposeToModeller() const;
virtual bool exposeToModeler() const;

/**
* Metadata for this parameter type. Can be used for example to define custom widgets.
Expand Down

0 comments on commit 0d00491

Please sign in to comment.