contentstorage/caclient/src/caentry.cpp
changeset 112 dbfb5e38438b
parent 107 b34d53f6acdf
child 125 26079c1bb561
equal deleted inserted replaced
107:b34d53f6acdf 112:dbfb5e38438b
   416  icon.width() == 50
   416  icon.width() == 50
   417  icon.height() == 80
   417  icon.height() == 80
   418  icon.size() == iconSize;
   418  icon.size() == iconSize;
   419  \endcode
   419  \endcode
   420  */
   420  */
   421 HbIcon CaEntry::makeIcon(const QSize &size) const
   421 HbIcon CaEntry::makeIcon(const QSizeF &size) const
   422 {
   422 {
   423     CACLIENTTEST_FUNC_ENTRY("CaEntry::makeIcon");
   423     CACLIENTTEST_FUNC_ENTRY("CaEntry::makeIcon");
   424     HbIcon icon = CaIconCache::cache()->icon(*this,size);
   424     HbIcon icon = CaIconCache::cache()->icon(*this, size);
   425     if (icon.isNull()) {
   425     if (icon.isNull()) {
   426         icon = m_d->makeIcon(size);
   426         icon = m_d->makeIcon(size);
   427         CaIconCache::cache()->insert(*this, size, icon);
   427         CaIconCache::cache()->insert(*this, size, icon);
   428     }
   428     }
   429     CACLIENTTEST_FUNC_EXIT("CaEntry::makeIcon");
   429     CACLIENTTEST_FUNC_EXIT("CaEntry::makeIcon");
   643 /*!
   643 /*!
   644  Creates an icon.
   644  Creates an icon.
   645  \param  size icon size to display
   645  \param  size icon size to display
   646  \retval created icon (HbIcon).
   646  \retval created icon (HbIcon).
   647  */
   647  */
   648 HbIcon CaEntryPrivate::makeIcon(const QSize &size) const
   648 HbIcon CaEntryPrivate::makeIcon(const QSizeF &size) const
   649 {
   649 {
   650     return CaMenuIconUtility::getEntryIcon(*m_q, size);
   650     return CaMenuIconUtility::getEntryIcon(*m_q, size);
   651 }
   651 }
   652 
   652 
   653 /*!
   653 /*!