equal
deleted
inserted
replaced
109 // --------------------------------------------------------------------------- |
109 // --------------------------------------------------------------------------- |
110 // |
110 // |
111 TSettingItem CMCSPluginSettingsBkmList::FindItemL( RPointerArray<HSPluginSettingsIf::CPropertyMap>& aProperties ) |
111 TSettingItem CMCSPluginSettingsBkmList::FindItemL( RPointerArray<HSPluginSettingsIf::CPropertyMap>& aProperties ) |
112 { |
112 { |
113 TInt index( KErrNotFound ); |
113 TInt index( KErrNotFound ); |
114 TSettingItem settingItem = { KErrNotFound, EBookmark, EFalse }; |
114 TSettingItem settingItem = { KErrNotFound, EBookmark, EFalse, EFalse }; |
115 for( TInt i= 0; i < aProperties.Count(); i++ ) |
115 for( TInt i= 0; i < aProperties.Count(); i++ ) |
116 { |
116 { |
117 if( aProperties[i]->Name() == KUid ) |
117 if( aProperties[i]->Name() == KUid ) |
118 { |
118 { |
119 HBufC* value( NULL ); |
119 HBufC* value( NULL ); |
245 { |
245 { |
246 CMenuItem* newItem = CMenuItem::CreateL( iMenu, KMenuTypeUrl, 0, 0 ); |
246 CMenuItem* newItem = CMenuItem::CreateL( iMenu, KMenuTypeUrl, 0, 0 ); |
247 CleanupStack::PushL( newItem ); |
247 CleanupStack::PushL( newItem ); |
248 newItem->SetAttributeL( KMenuAttrUid, aUid ); |
248 newItem->SetAttributeL( KMenuAttrUid, aUid ); |
249 newItem->SetAttributeL( KMenuAttrLongName, aName ); |
249 newItem->SetAttributeL( KMenuAttrLongName, aName ); |
250 newItem->SetAttributeL( KMenuAttrView, aUrl ); |
250 newItem->SetAttributeL( KMenuAttrUrl, aUrl ); |
251 newItem->SetAttributeL( KMenuAttrParameter, aName ); |
251 newItem->SetAttributeL( KMenuAttrParameter, aName ); |
252 iMenuItems.AppendL( newItem ); |
252 iMenuItems.AppendL( newItem ); |
253 CleanupStack::Pop( newItem ); |
253 CleanupStack::Pop( newItem ); |
254 return newItem; |
254 return newItem; |
255 } |
255 } |