Skip to content
Permalink
Browse files

s/Modeller/Modeler/

  • Loading branch information
m-kuhn authored and nyalldawson committed Mar 6, 2018
1 parent 569b39b commit 0d0049143642c551b79df16cfd6b9962a6a0497b
@@ -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`

@@ -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`

@@ -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`

@@ -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`

@@ -4475,6 +4475,7 @@ mkaes:makes
mkaing:making
mkea:make
mmnemonic:mnemonic
modeller:modeler
moderm:modem
modfied:modified
modfies:modifies
@@ -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()
*/
@@ -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;

};
@@ -1,6 +1,6 @@
#include "qgsprocessingparametertype.h"

bool QgsProcessingParameterType::exposeToModeller() const
bool QgsProcessingParameterType::exposeToModeler() const
{
return true;
}
@@ -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.

0 comments on commit 0d00491

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