Skip to content

Commit

Permalink
Fix processing parameter type ids
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 9f76c41 commit 53cf1a1
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/core/processing/qgsprocessingparametertypeimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CORE_EXPORT QgsProcessingParameterTypeRasterLayer : public QgsProcessingPa

virtual QString id() const override
{
return QStringLiteral( "Raster Layer" );
return QStringLiteral( "raster" );
}
};

Expand All @@ -50,7 +50,7 @@ class CORE_EXPORT QgsProcessingParameterTypeVectorLayer : public QgsProcessingPa

virtual QString id() const override
{
return QStringLiteral( "Vector Layer" );
return QStringLiteral( "vector" );
}
};

Expand All @@ -73,7 +73,7 @@ class CORE_EXPORT QgsProcessingParameterTypeBoolean : public QgsProcessingParame

virtual QString id() const override
{
return QStringLiteral( "Boolean" );
return QStringLiteral( "boolean" );
}
};

Expand All @@ -96,7 +96,7 @@ class CORE_EXPORT QgsProcessingParameterTypeCrs : public QgsProcessingParameterT

virtual QString id() const override
{
return QStringLiteral( "CRS" );
return QStringLiteral( "crs" );
}
};

Expand All @@ -109,7 +109,7 @@ class CORE_EXPORT QgsProcessingParameterTypeRange : public QgsProcessingParamete

virtual QString description() const override
{
return QCoreApplication::translate( "Processing", "TODO." );
return QCoreApplication::translate( "Processing", "A numeric range parameter for processing algorithms." );
}

virtual QString name() const override
Expand All @@ -119,7 +119,7 @@ class CORE_EXPORT QgsProcessingParameterTypeRange : public QgsProcessingParamete

virtual QString id() const override
{
return QStringLiteral( "Range" );
return QStringLiteral( "range" );
}
};

Expand All @@ -142,7 +142,7 @@ class CORE_EXPORT QgsProcessingParameterTypePoint : public QgsProcessingParamete

virtual QString id() const override
{
return QStringLiteral( "Point" );
return QStringLiteral( "point" );
}
};

Expand All @@ -165,7 +165,7 @@ class CORE_EXPORT QgsProcessingParameterTypeEnum : public QgsProcessingParameter

virtual QString id() const override
{
return QStringLiteral( "Enum" );
return QStringLiteral( "enum" );
}
};

Expand All @@ -188,7 +188,7 @@ class CORE_EXPORT QgsProcessingParameterTypeExtent : public QgsProcessingParamet

virtual QString id() const override
{
return QStringLiteral( "Extent" );
return QStringLiteral( "extent" );
}
};

Expand All @@ -211,7 +211,7 @@ class CORE_EXPORT QgsProcessingParameterTypeMatrix : public QgsProcessingParamet

virtual QString id() const override
{
return QStringLiteral( "Matrix" );
return QStringLiteral( "matrix" );
}
};

Expand All @@ -229,12 +229,12 @@ class CORE_EXPORT QgsProcessingParameterTypeFile : public QgsProcessingParameter

virtual QString name() const override
{
return QCoreApplication::translate( "Processing", "Extent" );
return QCoreApplication::translate( "Processing", "File" );
}

virtual QString id() const override
{
return QStringLiteral( "Extent" );
return QStringLiteral( "file" );
}
};

Expand All @@ -257,7 +257,7 @@ class CORE_EXPORT QgsProcessingParameterTypeField : public QgsProcessingParamete

virtual QString id() const override
{
return QStringLiteral( "Field" );
return QStringLiteral( "field" );
}
};

Expand All @@ -284,7 +284,7 @@ class CORE_EXPORT QgsProcessingParameterTypeVectorDestination : public QgsProces

virtual QString id() const override
{
return QStringLiteral( "Vector Destination" );
return QStringLiteral( "vectorDestination" );
}
};

Expand All @@ -309,7 +309,7 @@ class CORE_EXPORT QgsProcessingParameterTypeFileDestination : public QgsProcessi

virtual QString id() const override
{
return QStringLiteral( "File Destination" );
return QStringLiteral( "fileDestination" );
}
};

Expand All @@ -334,7 +334,7 @@ class CORE_EXPORT QgsProcessingParameterTypeFolderDestination : public QgsProces

virtual QString id() const override
{
return QStringLiteral( "Folder Destination" );
return QStringLiteral( "folderDestination" );
}
};

Expand All @@ -359,7 +359,7 @@ class CORE_EXPORT QgsProcessingParameterTypeRasterDestination : public QgsProces

virtual QString id() const override
{
return QStringLiteral( "Raster Destination" );
return QStringLiteral( "rasterDestination" );
}
};

Expand All @@ -382,7 +382,7 @@ class CORE_EXPORT QgsProcessingParameterTypeString : public QgsProcessingParamet

virtual QString id() const override
{
return QStringLiteral( "String" );
return QStringLiteral( "string" );
}
};

Expand All @@ -405,7 +405,7 @@ class CORE_EXPORT QgsProcessingParameterTypeMultipleLayers : public QgsProcessin

virtual QString id() const override
{
return QStringLiteral( "Multiple Input" );
return QStringLiteral( "multilayer" );
}
};

Expand All @@ -432,7 +432,7 @@ class CORE_EXPORT QgsProcessingParameterTypeFeatureSource : public QgsProcessing

virtual QString id() const override
{
return QStringLiteral( "Vector Features" );
return QStringLiteral( "source" );
}
};

Expand All @@ -455,7 +455,7 @@ class CORE_EXPORT QgsProcessingParameterTypeNumber : public QgsProcessingParamet

virtual QString id() const override
{
return QStringLiteral( "Number" );
return QStringLiteral( "number" );
}
};

Expand All @@ -478,7 +478,7 @@ class CORE_EXPORT QgsProcessingParameterTypeBand : public QgsProcessingParameter

virtual QString id() const override
{
return QStringLiteral( "Raster Band" );
return QStringLiteral( "band" );
}
};

Expand Down

0 comments on commit 53cf1a1

Please sign in to comment.