pkiutilities/CertmanUi/SRC/CertmanuicontainerDevice.cpp
branchRCL_3
changeset 5 3b17fc5c9564
parent 0 164170e6151a
child 49 09b1ac925e3f
equal deleted inserted replaced
1:d5423fbb4f29 5:3b17fc5c9564
     1 /*
     1 /*
     2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2003-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".
    78     CERTMANUILOGGER_ENTERFN( " CCertManUIContainerDevice::ConstructL" );
    78     CERTMANUILOGGER_ENTERFN( " CCertManUIContainerDevice::ConstructL" );
    79 
    79 
    80     CreateWindowL();
    80     CreateWindowL();
    81     CreateListBoxL();
    81     CreateListBoxL();
    82     UpdateListBoxL( aCurrentPosition, aTopItem );
    82     UpdateListBoxL( aCurrentPosition, aTopItem );
    83 
    83     iListBox->ItemDrawer()->ColumnData()->SetIconArray( iIconHandler->CreateIconArrayL() );
    84     if ( iListBox )
       
    85         {
       
    86         // Creates graphic.
       
    87         iListBox->ItemDrawer()->ColumnData()->
       
    88         SetIconArray( iIconHandler->CreateIconArrayL() );
       
    89     }
       
    90 
       
    91     SetRect( aRect );
    84     SetRect( aRect );
    92 
    85 
    93     CERTMANUILOGGER_LEAVEFN( " CCertManUIContainerDevice::ConstructL" );
    86     CERTMANUILOGGER_LEAVEFN( " CCertManUIContainerDevice::ConstructL" );
    94     }
    87     }
    95 
    88