equal
deleted
inserted
replaced
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))); |