calendarui/globaldata/src/calencontextimpl.cpp
changeset 83 5aadd1120515
parent 45 b6db4fd4947b
child 89 b57382753122
equal deleted inserted replaced
82:dcd0ca396fa1 83:5aadd1120515
   193     if(mObserver)
   193     if(mObserver)
   194         mObserver->ContextChanged();
   194         mObserver->ContextChanged();
   195     }
   195     }
   196 
   196 
   197 // -----------------------------------------------------------------------------
   197 // -----------------------------------------------------------------------------
       
   198 // CalenContextImpl::setStartDateAndTimeForNewInstance
       
   199 // Sets start date and time that should be used for creating new instance.
       
   200 // (other items were commented in a header).
       
   201 // -----------------------------------------------------------------------------
       
   202 //
       
   203 void CalenContextImpl::setStartDateAndTimeForNewInstance(
       
   204     const QDateTime &startDateTime)
       
   205     {
       
   206     mDateTimeForNewInstance = startDateTime;
       
   207     }
       
   208 
       
   209 // -----------------------------------------------------------------------------
   198 // CalenContextImpl::FocusDateAndTimeL
   210 // CalenContextImpl::FocusDateAndTimeL
   199 // Returns the focus time
   211 // Returns the focus time
   200 // (other items were commented in a header).
   212 // (other items were commented in a header).
   201 // -----------------------------------------------------------------------------
   213 // -----------------------------------------------------------------------------
   202 //
   214 //
   241     TRACE_EXIT_POINT;
   253     TRACE_EXIT_POINT;
   242     return mInstanceId;
   254     return mInstanceId;
   243     }
   255     }
   244 
   256 
   245 // -----------------------------------------------------------------------------
   257 // -----------------------------------------------------------------------------
       
   258 // CalenContextImpl::startDateAndTimeForNewInstance
       
   259 // Returns start date and time that should be used for creating new instance.
       
   260 // (other items were commented in a header).
       
   261 // -----------------------------------------------------------------------------
       
   262 //
       
   263 QDateTime CalenContextImpl::startDateAndTimeForNewInstance() const
       
   264     {
       
   265     return mDateTimeForNewInstance;
       
   266     }
       
   267 
       
   268 // -----------------------------------------------------------------------------
   246 // CalenContextImpl::SetMutlipleContextIds
   269 // CalenContextImpl::SetMutlipleContextIds
   247 // Set multiple context ids
   270 // Set multiple context ids
   248 // (other items were commented in a header).
   271 // (other items were commented in a header).
   249 // -----------------------------------------------------------------------------
   272 // -----------------------------------------------------------------------------
   250 //
   273 //