From 8027ee5507213488d64bdc2588276111fae15c49 Mon Sep 17 00:00:00 2001 From: signedav Date: Mon, 26 Aug 2024 08:14:04 +0200 Subject: [PATCH] named properly and added short description --- src/analysis/processing/qgsalgorithmfiledownloader.cpp | 9 +++++++-- src/analysis/processing/qgsalgorithmfiledownloader.h | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/analysis/processing/qgsalgorithmfiledownloader.cpp b/src/analysis/processing/qgsalgorithmfiledownloader.cpp index e2b543b75d22..2910888e71e4 100644 --- a/src/analysis/processing/qgsalgorithmfiledownloader.cpp +++ b/src/analysis/processing/qgsalgorithmfiledownloader.cpp @@ -35,7 +35,12 @@ QString QgsFileDownloaderAlgorithm::name() const QString QgsFileDownloaderAlgorithm::displayName() const { - return tr( "Download file (HTTP request)" ); + return tr( "Download file via HTTP(S)" ); +} + +QString QgsFileDownloaderAlgorithm::shortDescription() const +{ + return tr( "Downloads a URL on the file system with an HTTP(S) GET or POST request" ); } QStringList QgsFileDownloaderAlgorithm::tags() const @@ -55,7 +60,7 @@ QString QgsFileDownloaderAlgorithm::groupId() const QString QgsFileDownloaderAlgorithm::shortHelpString() const { - return tr( "This algorithm downloads a URL on the file system with an HTTP GET or POST request" ); + return tr( "This algorithm downloads a URL on the file system with an HTTP(S) GET or POST request" ); } QgsFileDownloaderAlgorithm *QgsFileDownloaderAlgorithm::createInstance() const diff --git a/src/analysis/processing/qgsalgorithmfiledownloader.h b/src/analysis/processing/qgsalgorithmfiledownloader.h index fca18ca5bf5a..5afc24100dd8 100644 --- a/src/analysis/processing/qgsalgorithmfiledownloader.h +++ b/src/analysis/processing/qgsalgorithmfiledownloader.h @@ -39,6 +39,7 @@ class QgsFileDownloaderAlgorithm : public QObject, public QgsProcessingAlgorithm void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override; QString name() const override; QString displayName() const override; + QString shortDescription() const override; QStringList tags() const override; QString group() const override; QString groupId() const override;