fep/aknfep/src/aknfepuispellcontainer.cpp
branchRCL_3
changeset 5 a47de9135b21
parent 0 eb1f2e154e89
child 7 6defe5d1bd39
equal deleted inserted replaced
3:f5a1e66df979 5:a47de9135b21
    87 // CAknFepUiSpellContainer::ConstructL
    87 // CAknFepUiSpellContainer::ConstructL
    88 // (other items were commented in a header)
    88 // (other items were commented in a header)
    89 // ---------------------------------------------------------------------------
    89 // ---------------------------------------------------------------------------
    90 // 
    90 // 
    91 void CAknFepUiSpellContainer::ConstructL(const TInt aEditorFlag, 
    91 void CAknFepUiSpellContainer::ConstructL(const TInt aEditorFlag, 
    92     const TInt aEditorCase, const TInt aEditorSCTResID)
    92     const TInt aEditorCase, const TInt aEditorSCTResID, const TBool aIsSplitEditor )
    93     {  
    93     {  
    94     CreateWindowL();
    94     CreateWindowL();
    95 
    95 
    96     iInputPane = CAknFepUiSpellInputPane::NewL( this, aEditorFlag, aEditorCase,aEditorSCTResID);
    96     iInputPane = CAknFepUiSpellInputPane::NewL( this, aEditorFlag, aEditorCase,
       
    97     		                                    aEditorSCTResID, aIsSplitEditor );
    97     
    98     
    98     iInputPane->SetMopParent(this);
    99     iInputPane->SetMopParent(this);
    99     
   100     
   100     iInputPane->SetFocus( ETrue );
   101     iInputPane->SetFocus( ETrue );
   101     SetContainerRect();
   102     SetContainerRect();
   108 // CAknFepUiSpellContainer::NewL
   109 // CAknFepUiSpellContainer::NewL
   109 // (other items were commented in a header)
   110 // (other items were commented in a header)
   110 // ---------------------------------------------------------------------------
   111 // ---------------------------------------------------------------------------
   111 // 
   112 // 
   112 CAknFepUiSpellContainer* CAknFepUiSpellContainer::NewL(const TInt aEditorFlag, 
   113 CAknFepUiSpellContainer* CAknFepUiSpellContainer::NewL(const TInt aEditorFlag, 
   113     const TInt aEditorCase, const TInt aEditorSCTResID)
   114     const TInt aEditorCase, const TInt aEditorSCTResID, const TBool aSplitEditor )
   114     {
   115     {
   115     CAknFepUiSpellContainer* self = new ( ELeave ) CAknFepUiSpellContainer();
   116     CAknFepUiSpellContainer* self = new ( ELeave ) CAknFepUiSpellContainer();
   116     CleanupStack::PushL( self );
   117     CleanupStack::PushL( self );
   117     
   118     
   118     self->SetMopParent(CEikonEnv::Static()->EikAppUi());
   119     self->SetMopParent(CEikonEnv::Static()->EikAppUi());
   119     self->ConstructL(aEditorFlag, aEditorCase, aEditorSCTResID);
   120     self->ConstructL(aEditorFlag, aEditorCase, aEditorSCTResID, aSplitEditor );
   120 
   121 
   121     CleanupStack::Pop();
   122     CleanupStack::Pop();
   122     
   123     
   123     return self;
   124     return self;
   124     }
   125     }