emailuis/emailui/src/FreestyleEmailUiGlobalSettingsList.cpp
branchRCL_3
changeset 8 e1b6206813b4
parent 0 8466d47a6819
child 12 f5907b1a1053
equal deleted inserted replaced
4:e7aa27f58ae1 8:e1b6206813b4
    95 			CAknBinaryPopupSettingItem* item = new ( ELeave ) 
    95 			CAknBinaryPopupSettingItem* item = new ( ELeave ) 
    96 				CAknBinaryPopupSettingItem( 
    96 				CAknBinaryPopupSettingItem( 
    97 					aId,
    97 					aId,
    98 					iSettings.TitleDividers() );
    98 					iSettings.TitleDividers() );
    99 			return item;
    99 			return item;
   100 			}
   100 			}/*
   101 		case EGlobalSettingsDownloadNotifications:
   101 		case EGlobalSettingsDownloadNotifications:
   102 			{			
   102 			{			
   103 			CAknBinaryPopupSettingItem* item = new ( ELeave ) 
   103 			CAknBinaryPopupSettingItem* item = new ( ELeave ) 
   104 				CAknBinaryPopupSettingItem( 
   104 				CAknBinaryPopupSettingItem( 
   105 					aId,
   105 					aId,
   106 					iSettings.DownloadNotifications() );
   106 					iSettings.DownloadNotifications() );
   107 			return item;
   107 			return item;
   108 			}
   108 			}*/
   109 		case EGlobalSettingsWarnBeforeDelete:
   109 		case EGlobalSettingsWarnBeforeDelete:
   110 		    {         
   110 		    {         
   111 		    CAknBinaryPopupSettingItem* item = new ( ELeave ) 
   111 		    CAknBinaryPopupSettingItem* item = new ( ELeave ) 
   112 		        CAknBinaryPopupSettingItem( 
   112 		        CAknBinaryPopupSettingItem( 
   113                     aId,
   113                     aId,
   202     // CenRep, on the other hand, uses values 1 (1 line) and 2 (2 lines).
   202     // CenRep, on the other hand, uses values 1 (1 line) and 2 (2 lines).
   203 	iSettings.SetMessageListLayout( crHandler->MessageListLayout() == 1 ? 1 : 0 );
   203 	iSettings.SetMessageListLayout( crHandler->MessageListLayout() == 1 ? 1 : 0 );
   204 	
   204 	
   205 	iSettings.SetBodyPreview( crHandler->BodyPreview() );
   205 	iSettings.SetBodyPreview( crHandler->BodyPreview() );
   206 	iSettings.SetTitleDividers( crHandler->TitleDividers() );
   206 	iSettings.SetTitleDividers( crHandler->TitleDividers() );
   207 	iSettings.SetDownloadNotifications( crHandler->DownloadNotifications() );
   207 	//iSettings.SetDownloadNotifications( crHandler->DownloadNotifications() );
   208 	iSettings.SetActiveIdle( crHandler->ActiveIdle() );
   208 	iSettings.SetActiveIdle( crHandler->ActiveIdle() );
   209 	iSettings.SetWarnBeforeDelete( crHandler->WarnBeforeDelete() );
   209 	iSettings.SetWarnBeforeDelete( crHandler->WarnBeforeDelete() );
   210 	//iSettings.SetDownloadHTMLImages( crHandler->DownloadHTMLImages() );
   210 	//iSettings.SetDownloadHTMLImages( crHandler->DownloadHTMLImages() );
   211 	}
   211 	}
   212 	
   212 	
   225 	// CenRep, on the other hand, uses values 1 (1 line) and 2 (2 lines).
   225 	// CenRep, on the other hand, uses values 1 (1 line) and 2 (2 lines).
   226 	crHandler->SetMessageListLayout( iSettings.MessageListLayout() ? 1 : 2 );
   226 	crHandler->SetMessageListLayout( iSettings.MessageListLayout() ? 1 : 2 );
   227 	
   227 	
   228 	crHandler->SetBodyPreview( iSettings.BodyPreview() );
   228 	crHandler->SetBodyPreview( iSettings.BodyPreview() );
   229 	crHandler->SetTitleDividers( iSettings.TitleDividers() );
   229 	crHandler->SetTitleDividers( iSettings.TitleDividers() );
   230 	crHandler->SetDownloadNotifications( iSettings.DownloadNotifications() );
   230 	//crHandler->SetDownloadNotifications( iSettings.DownloadNotifications() );
   231 	crHandler->SetActiveIdle( iSettings.ActiveIdle() );
   231 	crHandler->SetActiveIdle( iSettings.ActiveIdle() );
   232 	crHandler->SetWarnBeforeDelete( iSettings.WarnBeforeDelete() );
   232 	crHandler->SetWarnBeforeDelete( iSettings.WarnBeforeDelete() );
   233 	//crHandler->SetDownloadHTMLImages( iSettings.DownloadHTMLImages() );
   233 	//crHandler->SetDownloadHTMLImages( iSettings.DownloadHTMLImages() );
   234 	}
   234 	}
   235 
   235