diff -r c499df2dbb33 -r 2c833fc9e98f ui/uiengine/medialistwrapper/src/glxmlwrapper.cpp --- a/ui/uiengine/medialistwrapper/src/glxmlwrapper.cpp Mon May 03 12:31:32 2010 +0300 +++ b/ui/uiengine/medialistwrapper/src/glxmlwrapper.cpp Fri May 14 15:52:22 2010 +0300 @@ -20,6 +20,7 @@ //internal includes #include "glxmlwrapper.h" #include "glxmlwrapper_p.h" +#include // ======== MEMBER FUNCTIONS ======== @@ -27,9 +28,9 @@ // constructor. // --------------------------------------------------------------------------- // -GlxMLWrapper::GlxMLWrapper(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType) +GlxMLWrapper::GlxMLWrapper(int aCollectionId, int aHierarchyId, TGlxFilterItemType aFilterType,QString uri) { - mMLWrapperPrivate = GlxMLWrapperPrivate::Instance(this, aCollectionId, aHierarchyId, aFilterType); + mMLWrapperPrivate = GlxMLWrapperPrivate::Instance(this, aCollectionId, aHierarchyId, aFilterType,uri); } // --------------------------------------------------------------------------- @@ -69,6 +70,11 @@ } +QImage GlxMLWrapper::retrieveItemImage(int index, GlxTBContextType aTBContextType) +{ + return (mMLWrapperPrivate->RetrieveItemImage(index,aTBContextType)); +} + // --------------------------------------------------------------------------- // retrieveItemIcon. // --------------------------------------------------------------------------- @@ -120,6 +126,16 @@ return var; } +int GlxMLWrapper::retrieveListItemCount(int index) +{ + return mMLWrapperPrivate->RetrieveListItemCount( index ) ; +} + +bool GlxMLWrapper::isSystemItem( int aItemIndex ) +{ + return mMLWrapperPrivate->isSystemItem( aItemIndex ); +} + // --------------------------------------------------------------------------- // getFocusIndex. // ---------------------------------------------------------------------------