equal
deleted
inserted
replaced
255 }break; |
255 }break; |
256 } |
256 } |
257 |
257 |
258 DP1("Download automatically: %d", iAutoDownload); |
258 DP1("Download automatically: %d", iAutoDownload); |
259 se.SetDownloadAutomatically(iAutoDownload); |
259 se.SetDownloadAutomatically(iAutoDownload); |
|
260 |
|
261 DP1("Delete automatically: %d", iAutoDownload); |
|
262 se.SetDeleteAutomatically((TAutoDeleteSetting)iAutoDelete); |
260 se.SaveSettingsL(); |
263 se.SaveSettingsL(); |
261 DP("StoreSettings END"); |
264 DP("StoreSettings END"); |
262 } |
265 } |
263 |
266 |
264 void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType) |
267 void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType) |
374 iConnection = EConnectionAlwaysAsk; |
377 iConnection = EConnectionAlwaysAsk; |
375 } |
378 } |
376 } |
379 } |
377 |
380 |
378 iAutoDownload = se.DownloadAutomatically(); |
381 iAutoDownload = se.DownloadAutomatically(); |
|
382 iAutoDelete = se.DeleteAutomatically(); |
379 |
383 |
380 switch(aSettingId) |
384 switch(aSettingId) |
381 { |
385 { |
382 case EPodcastSettingShowDir: |
386 case EPodcastSettingShowDir: |
383 DP("EPodcastSettingShowDir"); |
387 DP("EPodcastSettingShowDir"); |
400 case EPodcastSettingAutoDownload: |
404 case EPodcastSettingAutoDownload: |
401 DP("EPodcastSettingAutoDownload"); |
405 DP("EPodcastSettingAutoDownload"); |
402 iSettingAutoDownload = new (ELeave) CAknBinaryPopupSettingItem (aSettingId, iAutoDownload); |
406 iSettingAutoDownload = new (ELeave) CAknBinaryPopupSettingItem (aSettingId, iAutoDownload); |
403 return iSettingAutoDownload; |
407 return iSettingAutoDownload; |
404 break; |
408 break; |
|
409 case EPodcastSettingAutoDelete: |
|
410 DP("EPodcastSettingAutoDelete"); |
|
411 iSettingAutoDelete = new (ELeave) CAknEnumeratedTextPopupSettingItem (aSettingId, iAutoDelete); |
|
412 return iSettingAutoDelete; |
|
413 break; |
405 default: |
414 default: |
406 return CAknSettingItemList::CreateSettingItemL(aSettingId); |
415 return CAknSettingItemList::CreateSettingItemL(aSettingId); |
407 break; |
416 break; |
408 } |
417 } |
409 DP("CreateSettingItemL END"); |
418 DP("CreateSettingItemL END"); |
415 TInt iAutoUpdate; |
424 TInt iAutoUpdate; |
416 CAknSettingItem *iSettingAutoUpdate; |
425 CAknSettingItem *iSettingAutoUpdate; |
417 |
426 |
418 TInt iAutoDownload; |
427 TInt iAutoDownload; |
419 CAknSettingItem *iSettingAutoDownload; |
428 CAknSettingItem *iSettingAutoDownload; |
|
429 |
|
430 TInt iAutoDelete; |
|
431 CAknSettingItem *iSettingAutoDelete; |
420 |
432 |
421 TInt iConnection; |
433 TInt iConnection; |
422 |
434 |
423 TInt iIap; |
435 TInt iIap; |
424 CIapSetting *iSettingIAP; |
436 CIapSetting *iSettingIAP; |