--- 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).