License headers

This commit is contained in:
Matthias Kuhn 2018-03-05 22:39:20 -05:00 committed by Nyall Dawson
parent 0d00491436
commit f22acb93b7
4 changed files with 57 additions and 2 deletions

View File

@ -7,6 +7,9 @@
************************************************************************/
class QgsProcessingParameterType
{
%Docstring
@ -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

View File

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

View File

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

View File

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