equal
deleted
inserted
replaced
22 #include "caentry.h" |
22 #include "caentry.h" |
23 #include "caentry_p.h" |
23 #include "caentry_p.h" |
24 #include "caobjectadapter.h" |
24 #include "caobjectadapter.h" |
25 #include "caiconcache.h" |
25 #include "caiconcache.h" |
26 #include "caclienttest_global.h" |
26 #include "caclienttest_global.h" |
|
27 #include "camenuiconutility.h" |
27 |
28 |
28 |
29 |
29 // ======== MEMBER FUNCTIONS ======== |
30 // ======== MEMBER FUNCTIONS ======== |
30 |
31 |
31 /*! |
32 /*! |
471 \param entryPublic associated public entry |
472 \param entryPublic associated public entry |
472 */ |
473 */ |
473 CaEntryPrivate::CaEntryPrivate(CaEntry *entryPublic) : |
474 CaEntryPrivate::CaEntryPrivate(CaEntry *entryPublic) : |
474 m_q(entryPublic), mId(0), mText(), mDescription(), mIconDescription(), |
475 m_q(entryPublic), mId(0), mText(), mDescription(), mIconDescription(), |
475 mFlags(RemovableEntryFlag|VisibleEntryFlag),mEntryTypeName(), |
476 mFlags(RemovableEntryFlag|VisibleEntryFlag),mEntryTypeName(), |
476 mAttributes() |
477 mAttributes(), mEntryRole(ItemEntryRole) |
477 { |
478 { |
478 } |
479 } |
479 /*! |
480 /*! |
480 Copy assignment operator. |
481 Copy assignment operator. |
481 \param entry const reference to CaEntryPrivate. |
482 \param entry const reference to CaEntryPrivate. |
627 \param size icon size to display |
628 \param size icon size to display |
628 \retval created icon (HbIcon). |
629 \retval created icon (HbIcon). |
629 */ |
630 */ |
630 HbIcon CaEntryPrivate::makeIcon(const QSize &size) const |
631 HbIcon CaEntryPrivate::makeIcon(const QSize &size) const |
631 { |
632 { |
632 return CaObjectAdapter::makeIcon(*m_q, size); |
633 return CaMenuIconUtility::getEntryIcon(*m_q, size); |
633 } |
634 } |
634 |
635 |
635 /*! |
636 /*! |
636 Sets entry id. |
637 Sets entry id. |
637 \param id item id. |
638 \param id item id. |