equal
deleted
inserted
replaced
64 // MMS.Content.Upload |
64 // MMS.Content.Upload |
65 #include <CSendingServiceInfo.h> |
65 #include <CSendingServiceInfo.h> |
66 #include <sendui.h> |
66 #include <sendui.h> |
67 #include <CMessageData.h> |
67 #include <CMessageData.h> |
68 |
68 |
69 |
69 #include <layoutmetadata.cdl.h>//for layout id |
70 #include <aknappui.h> |
70 #include <aknappui.h> |
71 #include <StringLoader.h> // stringloader |
71 #include <StringLoader.h> // stringloader |
72 #include <akntabgrp.h> |
72 #include <akntabgrp.h> |
73 #include <aknnavide.h> |
73 #include <aknnavide.h> |
74 #include <aknclearer.h> |
74 #include <aknclearer.h> |
1253 { |
1253 { |
1254 return ; |
1254 return ; |
1255 } |
1255 } |
1256 |
1256 |
1257 CAknViewAppUi::HandleResourceChangeL( aType ); |
1257 CAknViewAppUi::HandleResourceChangeL( aType ); |
|
1258 // this is fix for setting the correct status pane id, if AVKON changes the status pane ids then there will be a problem |
|
1259 TBool landscape( Layout_Meta_Data::IsLandscapeOrientation() ); |
|
1260 if(!landscape) |
|
1261 { |
|
1262 CEikStatusPane* statusPane = StatusPane(); |
|
1263 if(statusPane->CurrentLayoutResId()== R_AVKON_STATUS_PANE_LAYOUT_USUAL_FLAT) |
|
1264 { |
|
1265 statusPane->SwitchLayoutL( R_AVKON_STATUS_PANE_LAYOUT_USUAL_EXT ); |
|
1266 } |
|
1267 } |
1258 if( aType == KEikDynamicLayoutVariantSwitch ) |
1268 if( aType == KEikDynamicLayoutVariantSwitch ) |
1259 { |
1269 { |
1260 if ( iLocalScreenClearer ) |
1270 if ( iLocalScreenClearer ) |
1261 { |
1271 { |
1262 delete iLocalScreenClearer; |
1272 delete iLocalScreenClearer; |
1640 else |
1650 else |
1641 { |
1651 { |
1642 entryUid = tentry.iMtm; |
1652 entryUid = tentry.iMtm; |
1643 } |
1653 } |
1644 |
1654 |
1645 CBaseMtmUiData* mtmUiData; |
1655 CBaseMtmUiData* mtmUiData = NULL; |
1646 |
1656 |
1647 TRAPD( returnVal, mtmUiData = |
1657 TRAPD( returnVal, mtmUiData = |
1648 &( iMtmStore->MtmUiDataL( entryUid ) ) ); |
1658 &( iMtmStore->MtmUiDataL( entryUid ) ) ); |
1649 |
1659 |
1650 if ( returnVal == KErrNone) |
1660 if ( returnVal == KErrNone) |
3657 // ---------------------------------------------------- |
3667 // ---------------------------------------------------- |
3658 // CMceUi::CheckIAUpdate |
3668 // CMceUi::CheckIAUpdate |
3659 // ---------------------------------------------------- |
3669 // ---------------------------------------------------- |
3660 void CMceUi::CheckIAUpdate() |
3670 void CMceUi::CheckIAUpdate() |
3661 { |
3671 { |
3662 iMceIAUpdate->StartL( TUid::Uid( KMceApplicationUidValue ) ); |
3672 TRAP_IGNORE(iMceIAUpdate->StartL( TUid::Uid( KMceApplicationUidValue ) )); |
3663 } |
3673 } |
3664 |
3674 |
3665 // ---------------------------------------------------- |
3675 // ---------------------------------------------------- |
3666 // CMceUi::GoOnlineWithQueryL |
3676 // CMceUi::GoOnlineWithQueryL |
3667 // ---------------------------------------------------- |
3677 // ---------------------------------------------------- |
6620 |
6630 |
6621 CMsvSingleOpWatcher* singleOpWatcher=CMsvSingleOpWatcher::NewL( *this ); |
6631 CMsvSingleOpWatcher* singleOpWatcher=CMsvSingleOpWatcher::NewL( *this ); |
6622 CleanupStack::PushL( singleOpWatcher ); |
6632 CleanupStack::PushL( singleOpWatcher ); |
6623 |
6633 |
6624 CMsvOperation* op = NULL; |
6634 CMsvOperation* op = NULL; |
6625 TRAPD( error, ( op=mtmUi.OpenL(singleOpWatcher->iStatus ) ) ); |
6635 TRAP_IGNORE( op=mtmUi.OpenL(singleOpWatcher->iStatus ) ); |
6626 |
6636 |
6627 CleanupStack::PushL( op ); |
6637 CleanupStack::PushL( op ); |
6628 iOperations.AppendL( singleOpWatcher ); |
6638 iOperations.AppendL( singleOpWatcher ); |
6629 CleanupStack::Pop( op ); |
6639 CleanupStack::Pop( op ); |
6630 CleanupStack::Pop( singleOpWatcher ); |
6640 CleanupStack::Pop( singleOpWatcher ); |
6706 TFindFile finder( iFs ); |
6716 TFindFile finder( iFs ); |
6707 error = finder.FindByDir(KWild,KTopDir); |
6717 error = finder.FindByDir(KWild,KTopDir); |
6708 |
6718 |
6709 if ( error !=KErrNone ) |
6719 if ( error !=KErrNone ) |
6710 { |
6720 { |
6711 return; |
6721 return -1; |
6712 } |
6722 } |
6713 // Reset inactivity timer to keep viewServer from crashing |
6723 // Reset inactivity timer to keep viewServer from crashing |
6714 User::ResetInactivityTime(); |
6724 User::ResetInactivityTime(); |
6715 |
6725 |
6716 TFileName CurrentPath; |
6726 TFileName CurrentPath; |