--- a/ui/uiengine/medialistwrapper/src/glxmlwrapper.cpp Mon May 03 12:31:32 2010 +0300
+++ b/ui/uiengine/medialistwrapper/src/glxmlwrapper.cpp Mon May 03 00:53:50 2010 +0530
@@ -20,6 +20,7 @@
//internal includes
#include "glxmlwrapper.h"
#include "glxmlwrapper_p.h"
+#include <qimage.h>
// ======== 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.
// ---------------------------------------------------------------------------