Skip to content
Permalink
Browse files

make QgsProcessingParameterVectorTileWriterLayers public

hide parameter types definitions for TIN and vector tile parameters from
SIPP
  • Loading branch information
alexbruy authored and nyalldawson committed Nov 1, 2020
1 parent f36701c commit 5271ca26f5aa74d636a7b82d088db5a4a25c1158
@@ -303,6 +303,8 @@ their acceptable ranges, defaults, etc.
sipType = sipType_QgsProcessingParameterFieldMapping;
else if ( sipCpp->type() == QgsProcessingParameterTinInputLayers::typeName() )
sipType = sipType_QgsProcessingParameterTinInputLayers;
else if ( sipCpp->type() == QgsProcessingParameterVectorTileWriterLayers::typeName() )
sipType = sipType_QgsProcessingParameterVectorTileWriterLayers;
else
sipType = nullptr;
%End
@@ -64,11 +64,16 @@ Returns the type name for the parameter class.
%End
};


class QgsProcessingParameterTypeTinInputLayers : QgsProcessingParameterType
{
%Docstring
Parameter type definition for QgsProcessingParameterTinInputLayers.

.. note::

This class is not a part of public API.

.. versionadded:: 3.16
%End

@@ -91,6 +96,7 @@ Parameter type definition for QgsProcessingParameterTinInputLayers.
virtual QStringList acceptedPythonTypes() const;
};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -28,10 +28,6 @@ A valid value for this parameter is a list (QVariantList), where each item is a
Static functions :py:func:`~parametersAsLayers`, :py:func:`~variantMapAsLayer`, :py:func:`~layerAsVariantMap` provide conversion between
QgsVectorTileWriter.Layer representation and QVariant representation.

.. note::

This class is not a part of public API.

.. versionadded:: 3.14
%End

@@ -410,6 +410,8 @@ class CORE_EXPORT QgsProcessingParameterDefinition
sipType = sipType_QgsProcessingParameterFieldMapping;
else if ( sipCpp->type() == QgsProcessingParameterTinInputLayers::typeName() )
sipType = sipType_QgsProcessingParameterTinInputLayers;
else if ( sipCpp->type() == QgsProcessingParameterVectorTileWriterLayers::typeName() )
sipType = sipType_QgsProcessingParameterVectorTileWriterLayers;
else
sipType = nullptr;
SIP_END
@@ -65,10 +65,13 @@ class CORE_EXPORT QgsProcessingParameterTinInputLayers: public QgsProcessingPara
static QString typeName() { return QStringLiteral( "tininputlayers" ); }
};

///@cond PRIVATE

/**
* Parameter type definition for QgsProcessingParameterTinInputLayers.
*
* \ingroup core
* \note This class is not a part of public API.
* \since QGIS 3.16
*/
class CORE_EXPORT QgsProcessingParameterTypeTinInputLayers : public QgsProcessingParameterType
@@ -110,4 +113,6 @@ class CORE_EXPORT QgsProcessingParameterTypeTinInputLayers : public QgsProcessin
}
};

///@endcond

#endif // QGSPROCESSINGPARAMETERTININPUTLAYERS_H
@@ -39,7 +39,6 @@
* QgsVectorTileWriter::Layer representation and QVariant representation.
*
* \ingroup core
* \note This class is not a part of public API.
* \since QGIS 3.14
*/
class CORE_EXPORT QgsProcessingParameterVectorTileWriterLayers : public QgsProcessingParameterDefinition
@@ -66,6 +65,7 @@ class CORE_EXPORT QgsProcessingParameterVectorTileWriterLayers : public QgsProce

};

///@cond PRIVATE

/**
* Parameter type definition for QgsProcessingParameterVectorTileWriterLayers.
@@ -113,5 +113,6 @@ class CORE_EXPORT QgsProcessingParameterTypeVectorTileWriterLayers : public QgsP
}
};

///@endcond

#endif // QGSPROCESSINGPARAMETERVECTORTILEWRITERLAYERS_H

0 comments on commit 5271ca2

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