equal
deleted
inserted
replaced
77 #include "FreestyleEmailUiCLSListsHandler.h" |
77 #include "FreestyleEmailUiCLSListsHandler.h" |
78 #include "FreestyleEmailUiUtilities.h" |
78 #include "FreestyleEmailUiUtilities.h" |
79 #include "FreestyleEmailUiLiterals.h" |
79 #include "FreestyleEmailUiLiterals.h" |
80 #include "FreestyleEmailUiContactHandlerObserver.h" |
80 #include "FreestyleEmailUiContactHandlerObserver.h" |
81 #include "FreestyleEmailUiCLSItem.h" |
81 #include "FreestyleEmailUiCLSItem.h" |
|
82 #include "FreestyleEmailUiAppui.h" |
82 |
83 |
83 //Constants |
84 //Constants |
84 const TInt KInternetCallPreferred = 1; |
85 const TInt KInternetCallPreferred = 1; |
85 |
86 |
86 |
87 |
1711 |
1712 |
1712 CPbkxRemoteContactLookupServiceUiContext* context = |
1713 CPbkxRemoteContactLookupServiceUiContext* context = |
1713 Pbk2RemoteContactLookupFactory::NewContextL( params ); |
1714 Pbk2RemoteContactLookupFactory::NewContextL( params ); |
1714 CleanupStack::PushL( context ); |
1715 CleanupStack::PushL( context ); |
1715 |
1716 |
|
1717 if ( !iEnv ) |
|
1718 { |
|
1719 iEnv = CEikonEnv::Static(); |
|
1720 } |
|
1721 |
|
1722 CFreestyleEmailUiAppUi* fsAppUi = |
|
1723 static_cast<CFreestyleEmailUiAppUi*>( iEnv->AppUi() ); |
|
1724 |
|
1725 TBool indicatorsWereOn = EFalse; |
|
1726 CCustomStatuspaneIndicators* indicators = fsAppUi->GetStatusPaneIndicatorContainer(); |
|
1727 |
|
1728 if ( indicators->IsVisible() ) |
|
1729 { |
|
1730 indicatorsWereOn = ETrue; |
|
1731 // hide message indicators |
|
1732 indicators->HideStatusPaneIndicators(); |
|
1733 } |
|
1734 |
1716 context->ExecuteL( aQueryString, aResult ); |
1735 context->ExecuteL( aQueryString, aResult ); |
|
1736 if ( indicatorsWereOn ) |
|
1737 { |
|
1738 // show message indicators |
|
1739 indicators->ShowStatusPaneIndicators(); |
|
1740 } |
|
1741 |
1717 CleanupStack::PopAndDestroy( context ); |
1742 CleanupStack::PopAndDestroy( context ); |
1718 } |
1743 } |
1719 |
1744 |
1720 |
1745 |
1721 // --------------------------------------------------------------------------- |
1746 // --------------------------------------------------------------------------- |