File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
python/server/auto_generated Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,13 @@ Removes a parameter.
142
142
%End
143
143
144
144
void remove( QgsServerParameter::Name name );
145
+ %Docstring
146
+ Removes a parameter.
147
+
148
+ :param name: The name of the parameter
149
+
150
+ .. versionadded:: 3.4
151
+ %End
145
152
146
153
QString value( const QString &key ) const;
147
154
%Docstring
@@ -201,7 +208,12 @@ defined.
201
208
%End
202
209
203
210
protected:
211
+
204
212
virtual bool loadParameter( const QString &name, const QString &value );
213
+ %Docstring
214
+ Loads a parameter with a specific value. This method should be
215
+ implemented in subclasses.
216
+ %End
205
217
206
218
207
219
};
Original file line number Diff line number Diff line change @@ -131,6 +131,11 @@ class SERVER_EXPORT QgsServerParameters
131
131
*/
132
132
void remove ( const QString &key );
133
133
134
+ /* *
135
+ * Removes a parameter.
136
+ * \param name The name of the parameter
137
+ * \since QGIS 3.4
138
+ */
134
139
void remove ( QgsServerParameter::Name name );
135
140
136
141
/* *
@@ -185,6 +190,11 @@ class SERVER_EXPORT QgsServerParameters
185
190
QString version () const ;
186
191
187
192
protected:
193
+
194
+ /* *
195
+ * Loads a parameter with a specific value. This method should be
196
+ * implemented in subclasses.
197
+ */
188
198
virtual bool loadParameter ( const QString &name, const QString &value );
189
199
190
200
QMap<QString, QString> mUnmanagedParameters ;
You can’t perform that action at this time.
0 commit comments