Skip to content

Commit

Permalink
License headers
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 0d00491 commit f22acb9
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/core/processing/qgsprocessingparametertype.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
************************************************************************/





class QgsProcessingParameterType
{
%Docstring
Expand Down Expand Up @@ -45,9 +48,9 @@ This will be used in comboboxes and list widgets.
A static id for this type which will be used for storing this parameter type.
%End

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

Expand Down
17 changes: 17 additions & 0 deletions src/core/processing/qgsprocessingparametertype.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/***************************************************************************
qgsprocessingparametertype.cpp
------------------------
begin : March 2018
copyright : (C) 2018 by Matthias Kuhn
email : matthias@opengis.ch
***************************************************************************/

/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#include "qgsprocessingparametertype.h"

bool QgsProcessingParameterType::exposeToModeler() const
Expand Down
18 changes: 18 additions & 0 deletions src/core/processing/qgsprocessingparametertype.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/***************************************************************************
qgsprocessingparametertype.h
------------------------
begin : March 2018
copyright : (C) 2018 by Matthias Kuhn
email : matthias@opengis.ch
***************************************************************************/

/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/


#ifndef QGSPROCESSINGPARAMETERTYPE_H
#define QGSPROCESSINGPARAMETERTYPE_H

Expand Down
17 changes: 17 additions & 0 deletions src/core/processing/qgsprocessingparametertypeimpl.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/***************************************************************************
qgsprocessingparametertypeimpl.h
------------------------
begin : March 2018
copyright : (C) 2018 by Matthias Kuhn
email : matthias@opengis.ch
***************************************************************************/

/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/

#ifndef QGSPROCESSINGPARAMETERTYPEIMPL_H
#define QGSPROCESSINGPARAMETERTYPEIMPL_H

Expand Down

0 comments on commit f22acb9

Please sign in to comment.