ui/uiengine/model/mediamodel/src/glxmediamodel.cpp
changeset 65 ccee5c4b0de4
parent 62 36d93b4dc635
child 69 45459746d5e8
equal deleted inserted replaced
63:60cc495d7bcf 65:ccee5c4b0de4
    43 {
    43 {
    44 	qDebug("GlxMediaModel::GlxMediaModel");
    44 	qDebug("GlxMediaModel::GlxMediaModel");
    45 	
    45 	
    46 	thumbnailPopulatedFlag = modelParm.collection() == KGlxCollectionPluginAllImplementationUid ? false : true;
    46 	thumbnailPopulatedFlag = modelParm.collection() == KGlxCollectionPluginAllImplementationUid ? false : true;
    47 	mPaintPage = modelParm.collection() == KGlxCollectionPluginAllImplementationUid ? true : false;
    47 	mPaintPage = modelParm.collection() == KGlxCollectionPluginAllImplementationUid ? true : false;
    48 	mMLWrapper = new GlxMLWrapper(modelParm.collection(),0,EGlxFilterImage);
    48 	mMLWrapper = new GlxMLWrapper(modelParm.collection(),0,modelParm.filterType(),NULL,modelParm.fetcherFiterType());
    49 	mMLWrapper->setContextMode( modelParm.contextMode() );
    49 	mMLWrapper->setContextMode( modelParm.contextMode() );
    50 	mContextMode = modelParm.contextMode( ) ; 
    50 	mContextMode = modelParm.contextMode( ) ; 
    51 	mDRMUtilityWrapper = new GlxDRMUtilityWrapper();
    51 	mDRMUtilityWrapper = new GlxDRMUtilityWrapper();
    52 	
    52 	
    53 	int err = connect(mMLWrapper, SIGNAL(updateItem(int, GlxTBContextType)), this, SLOT(itemUpdated(int, GlxTBContextType)));
    53 	int err = connect(mMLWrapper, SIGNAL(updateItem(int, GlxTBContextType)), this, SLOT(itemUpdated(int, GlxTBContextType)));