diff -r ae8abd0db65c -r e32024264ebb cellular/telephonysettings/src/PSetCallDivertingBase.cpp --- a/cellular/telephonysettings/src/PSetCallDivertingBase.cpp Fri Mar 19 09:40:14 2010 +0200 +++ b/cellular/telephonysettings/src/PSetCallDivertingBase.cpp Fri Apr 16 15:31:58 2010 +0300 @@ -17,14 +17,11 @@ // INCLUDE FILES -#include "PSetCallDivertingBasicImpl.h" +#include "psetcalldivertingbasicimpl.h" #include #include #include -// <-- QT PHONE START --> -//include -// <-- QT PHONE END --> #include #include #include @@ -33,13 +30,13 @@ #include "psetcalldiverting.h" #include "psetcontainer.h" #include "mpsetdivertobs.h" -#include "PsetTelephony.h" -#include "PSetPanic.h" +#include "psettelephony.h" +#include "psetpanic.h" #include "mpsetrequestobs.h" -#include "PSetUtility.h" -#include "PhoneSettingsLogger.h" +#include "psetutility.h" +#include "phonesettingslogger.h" #include "psetsaobserver.h" -#include "PSetCallDivertingBase.h" +#include "psetcalldivertingbase.h" // LOCAL CONSTANTS AND MACROS @@ -169,7 +166,6 @@ // Empty implementation. } -// <-- QT PHONE START --> // --------------------------------------------------------------------------- // SetRequestObserver // --------------------------------------------------------------------------- @@ -178,7 +174,6 @@ { iReqObserver = aObs; } -// <-- QT PHONE END --> // --------------------------------------------------------------------------- // SetDivertingL @@ -827,65 +822,11 @@ __PHSLOGSTRING("[PHS]--> CPSetCallDivertingBase::IsVMBXDivertL" ); TBool result = EFalse; - // <-- QT PHONE START --> - - /* - if ( FeatureManager::FeatureSupported ( KFeatureIdVmbxCallDivertIcon ) ) - { - RVmbxNumber vmbxConnection; - TTelNumber telNumber; - TInt retValue = OpenVmbxLC( telNumber, vmbxConnection ); - __PHSLOGSTRING1("[PHS] CPSetCallDivertingBase::IsVMBXDivertL: telNumber = %S", &telNumber ); - __PHSLOGSTRING1("[PHS] CPSetCallDivertingBase::IsVMBXDivertL: retValue = %d", retValue ); - - CleanupStack::PopAndDestroy(); //vmbxConnection is closed when popped - if ( retValue == KErrNone ) //VMBX number found - { - - //Concatenate the existing number and add '*' to the beginning - TTelNumber tempStr; - tempStr.Zero(); - tempStr.Append( KPSetAsterisk ); - - //Match with seven characters - TInt matchChars = KPsetMatchingChars; - if ( telNumber.Length() < matchChars ) - { - matchChars = telNumber.Length(); - } - tempStr.Append( telNumber.Right( matchChars ) ); - - //Compare value with divert-to number - if ( aTelNumber.Match ( tempStr ) != KErrNotFound ) - { - __PHSLOGSTRING("[PHS] CPSetCallDivertingBase::IsVMBXDivertL: Match found" ); - result = ETrue; - } - } - } -*/ - // <-- QT PHONE END--> __PHSLOGSTRING("[PHS] <--CPSetCallDivertingBase::IsVMBXDivertL" ); return result; } // --------------------------------------------------------------------------- -// Opens Vmbx. Leaves vmbx to the stack. -// --------------------------------------------------------------------------- -// <-- QT PHONE START--> -/* -TInt CPSetCallDivertingBase::OpenVmbxLC( TDes& aTelNumber, RVmbxNumber& aVmbx ) - { - __PHSLOGSTRING("[PHS]--> CPSetCallDivertingBase::OpenVmbxLC" ); - User::LeaveIfError( aVmbx.Open( iPhone ) ); - CleanupClosePushL( aVmbx ); - __PHSLOGSTRING("[PHS]<-- CPSetCallDivertingBase::OpenVmbxLC" ); - return aVmbx.GetVmbxNumber( aTelNumber ); - - } -*/ -// <-- QT PHONE END--> -// --------------------------------------------------------------------------- // If SsSettings notifies of settings change, copy new value to member variable. // --------------------------------------------------------------------------- void CPSetCallDivertingBase::PhoneSettingChanged(