Skip to content

Commit f22acb9

Browse files
m-kuhnnyalldawson
authored andcommittedMar 6, 2018
License headers
1 parent 0d00491 commit f22acb9

File tree

4 files changed

+57
-2
lines changed

4 files changed

+57
-2
lines changed
 

‎python/core/processing/qgsprocessingparametertype.sip.in

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
************************************************************************/
88

99

10+
11+
12+
1013
class QgsProcessingParameterType
1114
{
1215
%Docstring
@@ -45,9 +48,9 @@ This will be used in comboboxes and list widgets.
4548
A static id for this type which will be used for storing this parameter type.
4649
%End
4750

48-
virtual bool exposeToModeller() const;
51+
virtual bool exposeToModeler() const;
4952
%Docstring
50-
Determines if this parameter is available in the modeller.
53+
Determines if this parameter is available in the modeler.
5154
The default implementation returns true.
5255
%End
5356

‎src/core/processing/qgsprocessingparametertype.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/***************************************************************************
2+
qgsprocessingparametertype.cpp
3+
------------------------
4+
begin : March 2018
5+
copyright : (C) 2018 by Matthias Kuhn
6+
email : matthias@opengis.ch
7+
***************************************************************************/
8+
9+
/***************************************************************************
10+
* *
11+
* This program is free software; you can redistribute it and/or modify *
12+
* it under the terms of the GNU General Public License as published by *
13+
* the Free Software Foundation; either version 2 of the License, or *
14+
* (at your option) any later version. *
15+
* *
16+
***************************************************************************/
17+
118
#include "qgsprocessingparametertype.h"
219

320
bool QgsProcessingParameterType::exposeToModeler() const

‎src/core/processing/qgsprocessingparametertype.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/***************************************************************************
2+
qgsprocessingparametertype.h
3+
------------------------
4+
begin : March 2018
5+
copyright : (C) 2018 by Matthias Kuhn
6+
email : matthias@opengis.ch
7+
***************************************************************************/
8+
9+
/***************************************************************************
10+
* *
11+
* This program is free software; you can redistribute it and/or modify *
12+
* it under the terms of the GNU General Public License as published by *
13+
* the Free Software Foundation; either version 2 of the License, or *
14+
* (at your option) any later version. *
15+
* *
16+
***************************************************************************/
17+
18+
119
#ifndef QGSPROCESSINGPARAMETERTYPE_H
220
#define QGSPROCESSINGPARAMETERTYPE_H
321

‎src/core/processing/qgsprocessingparametertypeimpl.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/***************************************************************************
2+
qgsprocessingparametertypeimpl.h
3+
------------------------
4+
begin : March 2018
5+
copyright : (C) 2018 by Matthias Kuhn
6+
email : matthias@opengis.ch
7+
***************************************************************************/
8+
9+
/***************************************************************************
10+
* *
11+
* This program is free software; you can redistribute it and/or modify *
12+
* it under the terms of the GNU General Public License as published by *
13+
* the Free Software Foundation; either version 2 of the License, or *
14+
* (at your option) any later version. *
15+
* *
16+
***************************************************************************/
17+
118
#ifndef QGSPROCESSINGPARAMETERTYPEIMPL_H
219
#define QGSPROCESSINGPARAMETERTYPEIMPL_H
320

0 commit comments

Comments
 (0)
Please sign in to comment.