equal
deleted
inserted
replaced
401 { |
401 { |
402 m_d->setAttribute(name, value); |
402 m_d->setAttribute(name, value); |
403 } |
403 } |
404 |
404 |
405 /*! |
405 /*! |
|
406 Removes attribute. |
|
407 \param name name of an attribute. |
|
408 |
|
409 \code |
|
410 ... |
|
411 QString attrName_1( "name_1" ); |
|
412 QString attrValue_1( "value_1" ); |
|
413 QString attrName_2( "name_2" ); |
|
414 QString attrValue_2( "value_2" ); |
|
415 resultEntry->setAttribute( attrName_1, attrValue_1 ); |
|
416 resultEntry->setAttribute( attrName_2, attrValue_2 ); |
|
417 resultEntry->removeAttribute( attrName_2 ); |
|
418 |
|
419 \endcode |
|
420 */ |
|
421 void CaEntry::removeAttribute(const QString &name) |
|
422 { |
|
423 m_d->removeAttribute(name); |
|
424 } |
|
425 |
|
426 /*! |
406 Creates an icon. |
427 Creates an icon. |
407 \param size icon size to display |
428 \param size icon size to display |
408 \retval created icon (HbIcon). |
429 \retval created icon (HbIcon). |
409 |
430 |
410 \code |
431 \code |
639 { |
660 { |
640 mAttributes.insert(name, value); |
661 mAttributes.insert(name, value); |
641 } |
662 } |
642 |
663 |
643 /*! |
664 /*! |
|
665 Removes attribute. |
|
666 \param name name of an attribute. |
|
667 */ |
|
668 void CaEntryPrivate::removeAttribute(const QString &name) |
|
669 { |
|
670 mAttributes.remove(name); |
|
671 } |
|
672 /*! |
644 Creates an icon. |
673 Creates an icon. |
645 \param size icon size to display |
674 \param size icon size to display |
646 \retval created icon (HbIcon). |
675 \retval created icon (HbIcon). |
647 */ |
676 */ |
648 HbIcon CaEntryPrivate::makeIcon(const QSizeF &size) const |
677 HbIcon CaEntryPrivate::makeIcon(const QSizeF &size) const |