phoneapp/phoneuiview/src/cphonenote.cpp
branchRCL_3
changeset 5 2a26698d78ba
parent 0 5f000ab63145
child 14 b8d67d6176f5
equal deleted inserted replaced
4:24062c24fe38 5:2a26698d78ba
    19 // INCLUDE FILES
    19 // INCLUDE FILES
    20 #include "cphonenote.h"
    20 #include "cphonenote.h"
    21 #include "phoneui.hrh"
    21 #include "phoneui.hrh"
    22 #include <featmgr.h>
    22 #include <featmgr.h>
    23 
    23 
       
    24 #include <eikcba.h>
       
    25 
    24 // ================= MEMBER FUNCTIONS =======================
    26 // ================= MEMBER FUNCTIONS =======================
    25 // C++ default constructor can NOT contain any code, that
    27 // C++ default constructor can NOT contain any code, that
    26 // might leave.
    28 // might leave.
    27 //
    29 //
    28 CPhoneNote::CPhoneNote( CEikDialog** aSelfPtr, MEikCommandObserver& aCommandObserver ) :
    30 CPhoneNote::CPhoneNote( CEikDialog** aSelfPtr, MEikCommandObserver& aCommandObserver ) :
    35 // Destructor
    37 // Destructor
    36 // ---------------------------------------------------------
    38 // ---------------------------------------------------------
    37 // 
    39 // 
    38 CPhoneNote::~CPhoneNote()
    40 CPhoneNote::~CPhoneNote()
    39     {
    41     {
       
    42     }
       
    43 
       
    44 // ---------------------------------------------------------
       
    45 // CPhoneNote::PreLayoutDynInitL
       
    46 // ---------------------------------------------------------
       
    47 //
       
    48 void CPhoneNote::PreLayoutDynInitL()
       
    49     {
       
    50     CEikButtonGroupContainer& cba = ButtonGroupContainer();
       
    51     CEikCba* eikCba = static_cast< CEikCba* >( cba.ButtonGroup() );
       
    52     
       
    53     if ( eikCba )
       
    54         {
       
    55         eikCba->EnableItemSpecificSoftkey( EFalse );
       
    56         }
       
    57     
       
    58     CAknNoteDialog::PreLayoutDynInitL();
    40     }
    59     }
    41 
    60 
    42 // ---------------------------------------------------------
    61 // ---------------------------------------------------------
    43 // CPhoneNote::OfferKeyEventL
    62 // CPhoneNote::OfferKeyEventL
    44 // ---------------------------------------------------------
    63 // ---------------------------------------------------------