equal
deleted
inserted
replaced
78 * the Utc time of this object to be Time::NullTTime. |
78 * the Utc time of this object to be Time::NullTTime. |
79 * @param aInstanceId the id of the focused instance. |
79 * @param aInstanceId the id of the focused instance. |
80 */ |
80 */ |
81 virtual void setFocusDateAndTimeAndInstance( const QDateTime& focusDateTime, |
81 virtual void setFocusDateAndTimeAndInstance( const QDateTime& focusDateTime, |
82 const TCalenInstanceId& aInstanceId ) = 0; |
82 const TCalenInstanceId& aInstanceId ) = 0; |
|
83 |
|
84 /** |
|
85 * Sets start date and time that should be used for creating new instance. |
|
86 * |
|
87 * @param startDateTime Start date and time for new instance |
|
88 */ |
|
89 virtual void setStartDateAndTimeForNewInstance(const QDateTime &startDateTime) = 0; |
83 |
90 |
84 // Getters |
91 // Getters |
85 /** |
92 /** |
86 * Gets the date and time currently focused. |
93 * Gets the date and time currently focused. |
87 * @return The currently focused date and time. When no time is |
94 * @return The currently focused date and time. When no time is |
101 * Gets the id of the instance currently focused. |
108 * Gets the id of the instance currently focused. |
102 * @return The instance id currently focused. When no instance is focused, |
109 * @return The instance id currently focused. When no instance is focused, |
103 * this will be TCalenInstanceId::NullInstanceIdL() |
110 * this will be TCalenInstanceId::NullInstanceIdL() |
104 */ |
111 */ |
105 virtual TCalenInstanceId instanceId() const = 0; |
112 virtual TCalenInstanceId instanceId() const = 0; |
|
113 |
|
114 /** |
|
115 * Returns start date and time that should be used for creating new instance. |
|
116 * Check isValid() to verify if returnd value is valid. |
|
117 * |
|
118 * @return Start date and time for new instance |
|
119 */ |
|
120 virtual QDateTime startDateAndTimeForNewInstance() const = 0; |
106 |
121 |
107 public: // For Mutliple Context Support |
122 public: // For Mutliple Context Support |
108 |
123 |
109 /** |
124 /** |
110 * Set multiple context ids |
125 * Set multiple context ids |