calendarui/editors/src/calendbfield.cpp
branchRCL_3
changeset 86 ed599363c2d7
parent 74 97232defd20e
equal deleted inserted replaced
78:356f28cd5ca0 86:ed599363c2d7
   262             TBool continueOnError = EFalse;
   262             TBool continueOnError = EFalse;
   263             ReadDataFromFormL( continueOnError );
   263             ReadDataFromFormL( continueOnError );
   264             iUnifiedEditor.EditorDataHandler().SetCalendarFieldEditedL(IsCalendarEdited()
   264             iUnifiedEditor.EditorDataHandler().SetCalendarFieldEditedL(IsCalendarEdited()
   265                                                             ,iPreviousColId,iCurrentColId);
   265                                                             ,iPreviousColId,iCurrentColId);
   266             
   266             
   267             
       
   268             if(!iAsyncDBquery)
       
   269                 {
       
   270             TCallBack callback(DoAsyncShowChangeDBQueryL,this);
   267             TCallBack callback(DoAsyncShowChangeDBQueryL,this);
   271             iAsyncDBquery = new(ELeave) CAsyncCallBack(callback,CActive::EPriorityStandard);
   268             iAsyncDBquery = new(ELeave) CAsyncCallBack(callback,CActive::EPriorityStandard);
   272                 }
       
   273             
       
   274             iAsyncDBquery->CallBack();
   269             iAsyncDBquery->CallBack();
   275             break;
   270             break;
   276             }
   271             }
   277         default: 
   272         default: 
   278             break;
   273             break;
   386     CleanupStack::PopAndDestroy( &calendarInfoList );
   381     CleanupStack::PopAndDestroy( &calendarInfoList );
   387     
   382     
   388     TRACE_EXIT_POINT
   383     TRACE_EXIT_POINT
   389     return *iCalendarFileName;
   384     return *iCalendarFileName;
   390     }
   385     }
   391 
       
   392 // -----------------------------------------------------------------------------
   386 // -----------------------------------------------------------------------------
   393 // CCalenDbField::GetCalendarNameForEntryL
   387 // CCalenDbField::GetCalendarNameForEntryL
   394 // get calendar index for the entry
   388 // get calendar index for the entry
   395 // -----------------------------------------------------------------------------
   389 // -----------------------------------------------------------------------------
   396 //
   390 //