fep/aknfep/peninputplugins/PeninputPluginKr/src/peninputpluginkrcombinelistquerydialog.cpp
branchRCL_3
changeset 9 e6a39382bb9c
child 11 c8fb4cf7b3ae
equal deleted inserted replaced
8:4eb1ae11334f 9:e6a39382bb9c
       
     1 /*
       
     2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "peninputpluginkrcombinelistquerydialog.h"
       
    19 
       
    20 // -----------------------------------------------------------------------------
       
    21 // CPeninputPluginKrCombineListQueryDialog::CPeninputPluginKrCombineListQueryDialog
       
    22 // Construction
       
    23 // (other items were commented in a header).
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 CPeninputPluginKrCombineListQueryDialog::CPeninputPluginKrCombineListQueryDialog(TInt* aIndex)
       
    27     :CAknListQueryDialog(aIndex)
       
    28     {
       
    29     }
       
    30 
       
    31 // -----------------------------------------------------------------------------
       
    32 // CPeninputPluginKrCombineListQueryDialog::CPeninputPluginKrCombineListQueryDialog
       
    33 // Construction
       
    34 // (other items were commented in a header).
       
    35 // -----------------------------------------------------------------------------
       
    36 //
       
    37 CPeninputPluginKrCombineListQueryDialog::CPeninputPluginKrCombineListQueryDialog(
       
    38           CListBoxView::CSelectionIndexArray* aSelectionIndexArray)
       
    39     :CAknListQueryDialog(aSelectionIndexArray)
       
    40     {
       
    41     }
       
    42 
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 // CPeninputPluginKrCombineListQueryDialog::HandleResourceChange
       
    46 // Cancel itself when rotating screen  
       
    47 // (other items were commented in a header).
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 void CPeninputPluginKrCombineListQueryDialog::HandleResourceChange( TInt aType )
       
    51     {
       
    52     CAknListQueryDialog::HandleResourceChange(aType);
       
    53     if( aType == KEikDynamicLayoutVariantSwitch ) 
       
    54         {
       
    55         CAknListQueryDialog::TryExitL(EAknSoftkeyCancel);
       
    56         }
       
    57     }
       
    58 
       
    59