@@ -813,19 +813,19 @@ namespace QgsWms
813
813
QVariant value ( ParameterName name, int mapId ) const ;
814
814
QVariant defaultValue ( ParameterName name, int mapId ) const ;
815
815
void log ( const QString &msg ) const ;
816
- double toDouble ( QVariant value, const QVariant &defaultValue, bool *error = Q_NULLPTR ) const ;
816
+ double toDouble ( const QVariant & value, const QVariant &defaultValue, bool *error = Q_NULLPTR ) const ;
817
817
double toDouble ( ParameterName name ) const ;
818
818
double toDouble ( ParameterName name, int mapId ) const ;
819
- bool toBool ( QVariant value, const QVariant &defaultValue ) const ;
819
+ bool toBool ( const QVariant & value, const QVariant &defaultValue ) const ;
820
820
bool toBool ( ParameterName name ) const ;
821
821
bool toBool ( ParameterName name, int mapId ) const ;
822
- int toInt ( QVariant value, const QVariant &defaultValue, bool *error = Q_NULLPTR ) const ;
822
+ int toInt ( const QVariant & value, const QVariant &defaultValue, bool *error = Q_NULLPTR ) const ;
823
823
int toInt ( ParameterName name ) const ;
824
824
int toInt ( ParameterName name, int mapId ) const ;
825
- QColor toColor ( QVariant value, const QVariant &defaultValue, bool *error = Q_NULLPTR ) const ;
825
+ QColor toColor ( const QVariant & value, const QVariant &defaultValue, bool *error = Q_NULLPTR ) const ;
826
826
QColor toColor ( ParameterName name ) const ;
827
827
QColor toColor ( ParameterName name, int mapId ) const ;
828
- QgsRectangle toRectangle ( QVariant value, bool *error = Q_NULLPTR ) const ;
828
+ QgsRectangle toRectangle ( const QVariant & value, bool *error = Q_NULLPTR ) const ;
829
829
QgsRectangle toRectangle ( ParameterName name ) const ;
830
830
QgsRectangle toRectangle ( ParameterName name, int mapId ) const ;
831
831
QStringList toStringList ( ParameterName name, char delimiter = ' ,' ) const ;
0 commit comments