equal
deleted
inserted
replaced
36 #include "FreestyleEmailUiGlobalSettingsData.h" |
36 #include "FreestyleEmailUiGlobalSettingsData.h" |
37 #include "FreestyleEmailUiGlobalSettings.hrh" |
37 #include "FreestyleEmailUiGlobalSettings.hrh" |
38 #include "FreestyleEmailUiGlobalSettingsListView.h" |
38 #include "FreestyleEmailUiGlobalSettingsListView.h" |
39 #include "FreestyleEmailUiGlobalSettingsList.h" |
39 #include "FreestyleEmailUiGlobalSettingsList.h" |
40 #include "FreestyleEmailUiAppui.h" |
40 #include "FreestyleEmailUiAppui.h" |
41 #include "FreestyleEmailCenRepHandler.h" |
41 #include "freestyleemailcenrephandler.h" |
42 #include "FreestyleEmailUiShortcutBinding.h" |
42 #include "FreestyleEmailUiShortcutBinding.h" |
43 #include "FreestyleEmailUiConstants.h" |
43 #include "FreestyleEmailUiConstants.h" |
44 |
44 |
45 /** |
45 /** |
46 * Constructor |
46 * Constructor |
111 CAknBinaryPopupSettingItem* item = new ( ELeave ) |
111 CAknBinaryPopupSettingItem* item = new ( ELeave ) |
112 CAknBinaryPopupSettingItem( |
112 CAknBinaryPopupSettingItem( |
113 aId, |
113 aId, |
114 iSettings.WarnBeforeDelete() ); |
114 iSettings.WarnBeforeDelete() ); |
115 return item; |
115 return item; |
116 }/* |
116 } |
117 case EGlobalSettingsDownloadHTMLImages: |
117 case EGlobalSettingsDownloadHTMLImages: |
118 { |
118 { |
119 CAknBinaryPopupSettingItem* item = new ( ELeave ) |
119 CAknBinaryPopupSettingItem* item = new ( ELeave ) |
120 CAknBinaryPopupSettingItem( |
120 CAknBinaryPopupSettingItem( |
121 aId, |
121 aId, |
122 iSettings.DownloadHTMLImages() ); |
122 iSettings.DownloadHTMLImages() ); |
123 return item; |
123 return item; |
124 }*/ |
124 } |
125 case EGlobalSettingsActiveIdle: |
125 case EGlobalSettingsActiveIdle: |
126 { |
126 { |
127 CAknBigSettingItemBase* item = new ( ELeave ) |
127 CAknBigSettingItemBase* item = new ( ELeave ) |
128 CAknBigSettingItemBase( aId ); |
128 CAknBigSettingItemBase( aId ); |
129 TBool hideHsSetting = !IsHsModesAppAvailable(); // handling other HS types to be added later |
129 TBool hideHsSetting = !IsHsModesAppAvailable(); // handling other HS types to be added later |
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 |
213 /** |
213 /** |
214 * Save the contents of the setting items. Note, this is called |
214 * Save the contents of the setting items. Note, this is called |
215 * whenever an item is changed and stored to the model, so it |
215 * whenever an item is changed and stored to the model, so it |
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 |
236 /** |
236 /** |
237 * Get ID of the focused setting list item |
237 * Get ID of the focused setting list item |
238 */ |
238 */ |