phoneapp/phoneuiutils/src/tphonetouchbuttonconfig.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // INCLUDE FILES
    18 // INCLUDE FILES
    19 #include "cphonecenrepproxy.h"
    19 #include "cphonecenrepproxy.h"
    20 #include <callhandlingui.rsg>
    20 // <-- QT PHONE START -->
       
    21 //#include <callhandlingui.rsg>
       
    22 // <-- QT PHONE END -->
    21 #include <barsread.h>
    23 #include <barsread.h>
    22 #include <coemain.h>
    24 #include <coemain.h>
    23 
    25 
    24 #include "tphonetouchbuttonconfig.h"
    26 #include "tphonetouchbuttonconfig.h"
    25 #include "phoneui.pan"
    27 #include "phoneui.pan"
    91 // ---------------------------------------------------------------------------
    93 // ---------------------------------------------------------------------------
    92 // ReadConfigResourceL
    94 // ReadConfigResourceL
    93 // ---------------------------------------------------------------------------
    95 // ---------------------------------------------------------------------------
    94 //
    96 //
    95 void TPhoneTouchButtonConfig::ReadConfigResourceL( 
    97 void TPhoneTouchButtonConfig::ReadConfigResourceL( 
    96     const TFixedArray<TInt,KTelButtonsConfigKeyCount>& aKeyValues )
    98     const TFixedArray<TInt,KTelButtonsConfigKeyCount>& /*aKeyValues*/ )
    97     {
    99     {
    98     TResourceReader reader;
   100 // <-- QT PHONE START -->
       
   101     /*TResourceReader reader;
    99     CCoeEnv::Static()->CreateResourceReaderLC( 
   102     CCoeEnv::Static()->CreateResourceReaderLC( 
   100             reader, 
   103             reader, 
   101             R_PHONEUI_TOUCH_BUTTON_CONFIG );
   104             R_PHONEUI_TOUCH_BUTTON_CONFIG );
   102 
   105 
   103     TInt configItemCount = reader.ReadInt16();
   106     TInt configItemCount = reader.ReadInt16();
   113                 iConfiguration[ buttonSetId ] = buttonSetResourceId;
   116                 iConfiguration[ buttonSetId ] = buttonSetResourceId;
   114                 }
   117                 }
   115             }
   118             }
   116         }
   119         }
   117     
   120     
   118     CleanupStack::PopAndDestroy(); // reader
   121     CleanupStack::PopAndDestroy(); // reader*/
       
   122 // <-- QT PHONE END -->
   119     }
   123     }
   120 
   124 
   121 // ---------------------------------------------------------------------------
   125 // ---------------------------------------------------------------------------
   122 // MapToCenRepKey
   126 // MapToCenRepKey
   123 // ---------------------------------------------------------------------------
   127 // ---------------------------------------------------------------------------