meetingrequest/mrgui/mrfieldbuilderpluginextension/src/cesmrncsaifeditor.cpp
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
child 16 b5fbb9b25d57
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009 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".
    16 */
    16 */
    17 
    17 
    18 #include "emailtrace.h"
    18 #include "emailtrace.h"
    19 #include "cesmrncsaifeditor.h"
    19 #include "cesmrncsaifeditor.h"
    20 
    20 
    21 #include <AknsDrawUtils.h>
    21 #include <aknsdrawutils.h>
    22 #include <s32mem.h>
    22 #include <s32mem.h>
    23 #include <txtrich.h>
    23 #include <txtrich.h>
    24 #include <baclipb.h>
    24 #include <baclipb.h>
    25 #include <PtiDefs.h>
    25 #include <ptidefs.h>
    26 #include <StringLoader.h>
    26 #include <stringloader.h>
    27 #include <eikedwin.h>
    27 #include <eikedwin.h>
    28 
       
    29 #ifndef FF_CMAIL_INTEGRATION
       
    30 #include <txtclipboard.h>
    28 #include <txtclipboard.h>
    31 #endif // FF_CMAIL_INTEGRATION
       
    32 
    29 
    33 #include "cesmrncsemailaddressobject.h"
    30 #include "cesmrncsemailaddressobject.h"
    34 #include "cesmrcontacthandler.h"
    31 #include "cesmrcontacthandler.h"
    35 #include "esmrfieldbuilderdef.h"
    32 #include "esmrfieldbuilderdef.h"
    36 
    33 
   274     FUNC_LOG;
   271     FUNC_LOG;
   275     if ( aEventType == MEikEdwinObserver::EEventTextUpdate )
   272     if ( aEventType == MEikEdwinObserver::EEventTextUpdate )
   276         {
   273         {
   277         HandleContactDeletionL();
   274         HandleContactDeletionL();
   278         HandleTextUpdateL();
   275         HandleTextUpdateL();
       
   276         if ( IsVisible() )
       
   277         	{
       
   278         	DrawDeferred();
       
   279         	}
   279         }
   280         }
   280     else if ( aEventType == MEikEdwinObserver::EEventNavigation )
   281     else if ( aEventType == MEikEdwinObserver::EEventNavigation )
   281         {
   282         {
   282         HandleNavigationEventL();
   283         HandleNavigationEventL();
   283         }
   284         }
   354     if ( response == EKeyWasConsumed )
   355     if ( response == EKeyWasConsumed )
   355         {
   356         {
   356         iAddressPopupList->ClosePopupContactListL();
   357         iAddressPopupList->ClosePopupContactListL();
   357         }
   358         }
   358 
   359 
       
   360     DrawDeferred();
   359     return response;
   361     return response;
   360     }
   362     }
   361 
   363 
   362 // -----------------------------------------------------------------------------
   364 // -----------------------------------------------------------------------------
   363 // CESMRNcsAifEditor::HandleContactDeletionL()
   365 // CESMRNcsAifEditor::HandleContactDeletionL()