Skip to content
Permalink
Browse files

Merge pull request #6433 from alexbruy/hide-modeler-tools

[processing] hide 'Rename layer' and 'Load layer' algs from toolbox
  • Loading branch information
alexbruy committed Feb 23, 2018
2 parents 67a578f + e59c264 commit 35cc4c902d5b2c4ed2d01d48248d2ad76b1c15a2
@@ -24,6 +24,11 @@ QString QgsLoadLayerAlgorithm::name() const
return QStringLiteral( "loadlayer" );
}

QgsProcessingAlgorithm::Flags QgsLoadLayerAlgorithm::flags() const
{
return FlagHideFromToolbox;
}

QString QgsLoadLayerAlgorithm::displayName() const
{
return QObject::tr( "Load layer into project" );
@@ -33,6 +33,7 @@ class QgsLoadLayerAlgorithm : public QgsProcessingAlgorithm
public:
QgsLoadLayerAlgorithm() = default;
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
Flags flags() const override;
QString name() const override;
QString displayName() const override;
QStringList tags() const override;
@@ -24,6 +24,11 @@ QString QgsRenameLayerAlgorithm::name() const
return QStringLiteral( "renamelayer" );
}

QgsProcessingAlgorithm::Flags QgsRenameLayerAlgorithm::flags() const
{
return FlagHideFromToolbox;
}

QString QgsRenameLayerAlgorithm::displayName() const
{
return QObject::tr( "Rename layer" );
@@ -33,6 +33,7 @@ class QgsRenameLayerAlgorithm : public QgsProcessingAlgorithm
public:
QgsRenameLayerAlgorithm() = default;
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
Flags flags() const override;
QString name() const override;
QString displayName() const override;
QStringList tags() const override;

0 comments on commit 35cc4c9

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