camerauis/cameraapp/generic/GsCamcorderPlugin/src/CamLocationSettingContainer.cpp
changeset 2 e8773a61782d
parent 0 1ddebce53859
child 12 8c55c525d5d7
equal deleted inserted replaced
1:f5ec9446e5bf 2:e8773a61782d
     1 /*
     1 /*
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   228 	    {
   228 	    {
   229 	    iListBox->InitializeL
   229 	    iListBox->InitializeL
   230 		    ( parent->IntegerSettingValue( listInt ) );
   230 		    ( parent->IntegerSettingValue( listInt ) );
   231 		}
   231 		}
   232 	iListBox->SetContainerWindowL( *iParent );
   232 	iListBox->SetContainerWindowL( *iParent );
   233     iListBox->DisableSingleClick( ETrue );
       
   234 	
   233 	
   235 	TRect listboxRect;
   234 	TRect listboxRect;
   236 	ReadListboxLayoutL(listboxRect);
   235 	ReadListboxLayoutL(listboxRect);
   237     
   236     
   238     // Determine the height of the listbox; Either the height based on the number of items,
   237     // Determine the height of the listbox; Either the height based on the number of items,
   753     switch( aEventType )
   752     switch( aEventType )
   754         {
   753         {
   755         
   754         
   756         case EEventEnterKeyPressed:
   755         case EEventEnterKeyPressed:
   757         case EEventItemDoubleClicked:
   756         case EEventItemDoubleClicked:
       
   757         case EEventItemSingleClicked:
   758               {
   758               {
   759                TKeyEvent key;
   759                TKeyEvent key;
   760                key.iRepeats = 0;
   760                key.iRepeats = 0;
   761                key.iCode = EKeyOK;
   761                key.iCode = EKeyOK;
   762                key.iModifiers = 0;
   762                key.iModifiers = 0;