qtmobility/src/versit/qversitproperty.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
child 15 1f895d8a5b2b
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
   238  * Adds a new parameter with \a name and \a value.
   238  * Adds a new parameter with \a name and \a value.
   239  * Both the name and the value are converted to upper-case.
   239  * Both the name and the value are converted to upper-case.
   240  */
   240  */
   241 void QVersitProperty::insertParameter(const QString& name, const QString& value)
   241 void QVersitProperty::insertParameter(const QString& name, const QString& value)
   242 {
   242 {
   243     d->mParameters.insert(name.toUpper(), value.toUpper());
   243     d->mParameters.insert(name.toUpper(), value);
   244 }
   244 }
   245 
   245 
   246 /*!
   246 /*!
   247  * Removes a parameter with \a name and \a value.
   247  * Removes a parameter with \a name and \a value.
   248  *
   248  *
   249  * \sa removeParameters()
   249  * \sa removeParameters()
   250  */
   250  */
   251 void QVersitProperty::removeParameter(const QString& name, const QString& value)
   251 void QVersitProperty::removeParameter(const QString& name, const QString& value)
   252 {
   252 {
   253     d->mParameters.remove(name.toUpper(), value.toUpper());
   253     d->mParameters.remove(name.toUpper(), value);
   254 }
   254 }
   255 
   255 
   256 /*!
   256 /*!
   257  * Removes all parameters with the given \a name.
   257  * Removes all parameters with the given \a name.
   258  *
   258  *