Skip to content
Permalink
Browse files

Add virtual default destructors

  • Loading branch information
pblottiere committed Jul 6, 2018
1 parent 555b947 commit 7b32f8c61b18048edd56e8ee62fa10a6d79db6d0
@@ -29,6 +29,8 @@ the Free Software Foundation; either version 2 of the License, or *
QgsServerParameterDefinition( const QVariant::Type type = QVariant::String,
const QVariant defaultValue = QVariant( "" ) );

virtual ~QgsServerParameterDefinition();

QString typeName() const;
virtual bool isValid() const;

@@ -110,6 +112,8 @@ Constructor.
Constructor.
%End

virtual ~QgsServerParameters();

void load( const QUrlQuery &query );
%Docstring
Loads new parameters.
@@ -32,6 +32,8 @@ class SERVER_EXPORT QgsServerParameterDefinition
QgsServerParameterDefinition( const QVariant::Type type = QVariant::String,
const QVariant defaultValue = QVariant( "" ) );

virtual ~QgsServerParameterDefinition() = default;

QString typeName() const;
virtual bool isValid() const;

@@ -103,6 +105,8 @@ class SERVER_EXPORT QgsServerParameters
*/
QgsServerParameters( const QUrlQuery &query );

virtual ~QgsServerParameters() = default;

/**
* Loads new parameters.
* \param query url query
@@ -66,6 +66,8 @@ namespace QgsWfs
const QVariant::Type type = QVariant::String,
const QVariant defaultValue = QVariant( "" ) );

virtual ~QgsWfsParameter() = default;

int toInt() const;
QStringList toStringListWithExp( const QString &exp = "\\(([^()]+)\\)" ) const;
QgsRectangle toRectangle() const;
@@ -113,6 +115,8 @@ namespace QgsWfs
*/
QgsWfsParameters();

virtual ~QgsWfsParameters() = default;

/**
* Loads new parameters.
* \param parameters Map of parameters
@@ -159,6 +159,8 @@ namespace QgsWms
const QVariant::Type type = QVariant::String,
const QVariant defaultValue = QVariant( "" ) );

virtual ~QgsWmsParameter() = default;

bool isValid() const override;

QList<QgsGeometry> toGeomList( const char delimiter = ',' ) const;
@@ -210,6 +212,8 @@ namespace QgsWms
*/
QgsWmsParameters();

virtual ~QgsWmsParameters() = default;

/**
* Loads new parameters.
* \param parameters Map of parameters

0 comments on commit 7b32f8c

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