File tree 3 files changed +25
-0
lines changed
python/core/auto_generated/processing
3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,16 @@ The default implementation returns the same string as name().
87
87
.. seealso:: :py:func:`name`
88
88
89
89
.. seealso:: :py:func:`id`
90
+ %End
91
+
92
+ virtual QString versionInfo() const;
93
+ %Docstring
94
+ Returns a version information string for the provider, or an empty string if this
95
+ is not applicable (e.g. for inbuilt Processing providers).
96
+
97
+ For plugin based providers, this should return the plugin's version identifier.
98
+
99
+ .. versionadded:: 3.8
90
100
%End
91
101
92
102
virtual bool canBeActivated() const;
Original file line number Diff line number Diff line change @@ -51,6 +51,11 @@ QString QgsProcessingProvider::longName() const
51
51
return name ();
52
52
}
53
53
54
+ QString QgsProcessingProvider::versionInfo () const
55
+ {
56
+ return QString ();
57
+ }
58
+
54
59
QStringList QgsProcessingProvider::supportedOutputRasterLayerExtensions () const
55
60
{
56
61
return QgsRasterFileWriter::supportedFormatExtensions ();
Original file line number Diff line number Diff line change @@ -98,6 +98,16 @@ class CORE_EXPORT QgsProcessingProvider : public QObject
98
98
*/
99
99
virtual QString longName () const ;
100
100
101
+ /* *
102
+ * Returns a version information string for the provider, or an empty string if this
103
+ * is not applicable (e.g. for inbuilt Processing providers).
104
+ *
105
+ * For plugin based providers, this should return the plugin's version identifier.
106
+ *
107
+ * \since QGIS 3.8
108
+ */
109
+ virtual QString versionInfo () const ;
110
+
101
111
/* *
102
112
* Returns TRUE if the provider can be activated, or FALSE if it cannot be activated (e.g. due to
103
113
* missing external dependencies).
You can’t perform that action at this time.
0 commit comments