calendarui/globaldata/src/calencontextimpl.cpp
changeset 83 5aadd1120515
parent 45 b6db4fd4947b
child 89 b57382753122
--- a/calendarui/globaldata/src/calencontextimpl.cpp	Tue Oct 05 14:14:48 2010 +0530
+++ b/calendarui/globaldata/src/calencontextimpl.cpp	Fri Oct 15 12:10:36 2010 +0530
@@ -195,6 +195,18 @@
     }
 
 // -----------------------------------------------------------------------------
+// CalenContextImpl::setStartDateAndTimeForNewInstance
+// Sets start date and time that should be used for creating new instance.
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+void CalenContextImpl::setStartDateAndTimeForNewInstance(
+    const QDateTime &startDateTime)
+    {
+    mDateTimeForNewInstance = startDateTime;
+    }
+
+// -----------------------------------------------------------------------------
 // CalenContextImpl::FocusDateAndTimeL
 // Returns the focus time
 // (other items were commented in a header).
@@ -243,6 +255,17 @@
     }
 
 // -----------------------------------------------------------------------------
+// CalenContextImpl::startDateAndTimeForNewInstance
+// Returns start date and time that should be used for creating new instance.
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+QDateTime CalenContextImpl::startDateAndTimeForNewInstance() const
+    {
+    return mDateTimeForNewInstance;
+    }
+
+// -----------------------------------------------------------------------------
 // CalenContextImpl::SetMutlipleContextIds
 // Set multiple context ids
 // (other items were commented in a header).