Skip to content
Permalink
Browse files

Update doc for QgsServerParameters

  • Loading branch information
pblottiere committed Jul 19, 2018
1 parent 32256bc commit ffddc9a0159fd09dfee3cf039b67d73be3769f3d
Showing with 22 additions and 0 deletions.
  1. +12 −0 python/server/auto_generated/qgsserverparameters.sip.in
  2. +10 −0 src/server/qgsserverparameters.h
@@ -142,6 +142,13 @@ Removes a parameter.
%End

void remove( QgsServerParameter::Name name );
%Docstring
Removes a parameter.

:param name: The name of the parameter

.. versionadded:: 3.4
%End

QString value( const QString &key ) const;
%Docstring
@@ -201,7 +208,12 @@ defined.
%End

protected:

virtual bool loadParameter( const QString &name, const QString &value );
%Docstring
Loads a parameter with a specific value. This method should be
implemented in subclasses.
%End


};
@@ -131,6 +131,11 @@ class SERVER_EXPORT QgsServerParameters
*/
void remove( const QString &key );

/**
* Removes a parameter.
* \param name The name of the parameter
* \since QGIS 3.4
*/
void remove( QgsServerParameter::Name name );

/**
@@ -185,6 +190,11 @@ class SERVER_EXPORT QgsServerParameters
QString version() const;

protected:

/**
* Loads a parameter with a specific value. This method should be
* implemented in subclasses.
*/
virtual bool loadParameter( const QString &name, const QString &value );

QMap<QString, QString> mUnmanagedParameters;

0 comments on commit ffddc9a

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