textinput/peninputsplititut/src/peninputsplititutwindowmanager.cpp
branchRCL_3
changeset 5 a47de9135b21
parent 0 eb1f2e154e89
child 11 c8fb4cf7b3ae
equal deleted inserted replaced
3:f5a1e66df979 5:a47de9135b21
    29 #include <aknfeppeninputenums.h>
    29 #include <aknfeppeninputenums.h>
    30 //#include <peninputdropdownlist.h>
    30 //#include <peninputdropdownlist.h>
    31 #include <s32mem.h>
    31 #include <s32mem.h>
    32 #include <peninputlabel.h>
    32 #include <peninputlabel.h>
    33 #include <peninputlayoutinputmodechoice.h>
    33 #include <peninputlayoutinputmodechoice.h>
    34 //#include <peninputlayoutbubblectrl.h>
    34 #include <peninputlayoutbubblectrl.h>
    35 #include <peninputcommonlayoutglobalenum.h>
    35 #include <peninputcommonlayoutglobalenum.h>
    36 
    36 
    37 #include "peninputsplititutwindowmanager.h"
    37 #include "peninputsplititutwindowmanager.h"
    38 #include "peninputsplititutwindow.h"
    38 #include "peninputsplititutwindow.h"
    39 #include "peninputsplititutdatamgr.h"
    39 #include "peninputsplititutdatamgr.h"
    81     {
    81     {
    82     delete iWindow;
    82     delete iWindow;
    83     }
    83     }
    84 
    84 
    85 // ---------------------------------------------------------------------------
    85 // ---------------------------------------------------------------------------
       
    86 // CSplitItutWindowManager::CSplitItutWindowManager
       
    87 // ---------------------------------------------------------------------------
       
    88 //
       
    89 TInt CSplitItutWindowManager::OnAppEditorTextComing(const TFepInputContextFieldData& aData)
       
    90     {
       
    91     TRAPD(err, iWindow->Icf()->SetTextL(aData));
       
    92     return err;
       
    93     }
       
    94 
       
    95 // ---------------------------------------------------------------------------
    86 // CSplitItutWindowManager::SetPropertyL
    96 // CSplitItutWindowManager::SetPropertyL
    87 // ---------------------------------------------------------------------------
    97 // ---------------------------------------------------------------------------
    88 //
    98 //
    89 void CSplitItutWindowManager::SetPropertyL(MItutPropertySubscriber::TItutProperty aPropertyName, 
    99 void CSplitItutWindowManager::SetPropertyL(MItutPropertySubscriber::TItutProperty aPropertyName, 
    90                                         const TDesC& aPropertyValue)
   100                                         const TDesC& aPropertyValue)
   236         case ECmdPenInputInEditWordQueryDlg:
   246         case ECmdPenInputInEditWordQueryDlg:
   237             {
   247             {
   238             iInEditWordQueryDlg = *data;
   248             iInEditWordQueryDlg = *data;
   239             }
   249             }
   240             break;
   250             break;
       
   251         case ECmdPenInputSetPromptText:
       
   252         	{
       
   253         	if( iDataMgr->IsSpellMode())
       
   254         		{
       
   255         	    SetPromptTextL(aData);
       
   256         	    handle = ETrue;
       
   257         		}
       
   258         	}
       
   259         	break;
       
   260         case ECmdPenInputFingerMatchIndicator:
       
   261         	{
       
   262         	iWindow->UpdateIndiBubbleL( aData );
       
   263         	handle = ETrue;
       
   264         	}
       
   265         	break;
   241         default:
   266         default:
   242             break;
   267             break;
   243             
   268             
   244         };
   269         };
   245     return handle;
   270     return handle;
   313 //
   338 //
   314 void CSplitItutWindowManager::ApplyVariantLafDataL(TBool aResolutionChange)
   339 void CSplitItutWindowManager::ApplyVariantLafDataL(TBool aResolutionChange)
   315     {
   340     {
   316     iWindow->ApplyVariantLafDataL(aResolutionChange);
   341     iWindow->ApplyVariantLafDataL(aResolutionChange);
   317     }
   342     }
       
   343 
       
   344 // ---------------------------------------------------------------------------
       
   345 // CSplitItutWindowManager::ApplyVariantLafDataForSpellL
       
   346 // ---------------------------------------------------------------------------
       
   347 //
       
   348 void CSplitItutWindowManager::ApplyVariantLafDataForSpellL()
       
   349     {
       
   350     iWindow->ApplyVariantLafDataForSpellL();
       
   351     }
       
   352 
   318 
   353 
   319 // ---------------------------------------------------------------------------
   354 // ---------------------------------------------------------------------------
   320 // CSplitItutWindowManager::CreateChineseSpecificCtrlsIfNeededL
   355 // CSplitItutWindowManager::CreateChineseSpecificCtrlsIfNeededL
   321 // ---------------------------------------------------------------------------
   356 // ---------------------------------------------------------------------------
   322 //
   357 //
   461         standard->ShowBubble(EFalse);
   496         standard->ShowBubble(EFalse);
   462         punctuation->ShowBubble(EFalse);
   497         punctuation->ShowBubble(EFalse);
   463         }
   498         }
   464     */
   499     */
   465     }
   500     }
       
   501 
       
   502 // ---------------------------------------------------------------------------
       
   503 // CSplitItutWindowManager::ShowBubble
       
   504 // ---------------------------------------------------------------------------
       
   505 //
       
   506 void CSplitItutWindowManager::SetPromptTextL(TUint8* aData)
       
   507     {
       
   508     iWindow->SetPromptTextL(aData);
       
   509     }
   466          
   510          
   467 // End Of File
   511 // End Of File