52 |
52 |
53 // Setters |
53 // Setters |
54 /** |
54 /** |
55 * Sets the date and time currently focused. |
55 * Sets the date and time currently focused. |
56 * @param aFocusTime The new focus date and time. |
56 * @param aFocusTime The new focus date and time. |
57 * @param aViewId The view id of the currently active view. |
|
58 */ |
57 */ |
59 virtual void setFocusDateAndTimeL( const QDateTime& focusDateTime, |
58 virtual void setFocusDateAndTime( const QDateTime& focusDateTime) = 0; |
60 const int& viewId ) = 0; |
|
61 |
59 |
62 /** |
60 /** |
63 * Sets the date currently focused. When retrieving the focus |
61 * Sets the date currently focused. When retrieving the focus |
64 * date and time after calling this function, the time component |
62 * date and time after calling this function, the time component |
65 * will be set to the default of view. When retrieving the focus |
63 * will be set to the default of view. When retrieving the focus |
66 * time only, it will be set to -1. |
64 * time only, it will be set to -1. |
67 * @param aFocusDate The new focus date and time. |
65 * @param aFocusDate The new focus date and time. |
68 * @param aViewId The view id of the currently active view. |
|
69 */ |
66 */ |
70 virtual void setFocusDateL( const QDateTime& focusDateTime, |
67 virtual void setFocusDate( const QDateTime& focusDateTime) = 0; |
71 const int& viewId ) = 0; |
|
72 |
68 |
73 /** |
69 /** |
74 * Sets the id of the instance currently focused. |
70 * Sets the id of the instance currently focused. |
75 * @param aInstanceId the id of the focused instance. |
71 * @param aInstanceId the id of the focused instance. |
76 * @param aViewId The view id of the currently active view. |
|
77 */ |
72 */ |
78 virtual void setInstanceIdL( const TCalenInstanceId& instanceId, |
73 virtual void setInstanceId( const TCalenInstanceId& instanceId ) = 0; |
79 const int& viewId ) = 0; |
|
80 |
74 |
81 /** |
75 /** |
82 * Sets the time and instance currently focused. |
76 * Sets the time and instance currently focused. |
83 * @param aFocusTime The new focus time. If no time is focused, set |
77 * @param aFocusTime The new focus time. If no time is focused, set |
84 * the Utc time of this object to be Time::NullTTime. |
78 * the Utc time of this object to be Time::NullTTime. |
85 * @param aInstanceId the id of the focused instance. |
79 * @param aInstanceId the id of the focused instance. |
86 * @param aViewId The view id of the currently active view. |
|
87 */ |
80 */ |
88 virtual void setFocusDateAndTimeAndInstanceL( const QDateTime& focusDateTime, |
81 virtual void setFocusDateAndTimeAndInstance( const QDateTime& focusDateTime, |
89 const TCalenInstanceId& aInstanceId, |
82 const TCalenInstanceId& aInstanceId ) = 0; |
90 const int& viewId ) = 0; |
|
91 |
83 |
92 // Getters |
84 // Getters |
93 /** |
85 /** |
94 * Gets the date and time currently focused. |
86 * Gets the date and time currently focused. |
95 * @return The currently focused date and time. When no time is |
87 * @return The currently focused date and time. When no time is |
96 * focused, the default time on the current date will be returned. |
88 * focused, the default time on the current date will be returned. |
97 */ |
89 */ |
98 virtual QDateTime focusDateAndTimeL() const = 0; |
90 virtual QDateTime focusDateAndTime() const = 0; |
|
91 |
99 |
92 |
100 /** |
93 /** |
101 * Gets the time currently focused. |
94 * Gets the time currently focused. |
102 * @return The currently focused time. When no time is |
95 * @return The currently focused time. When no time is |
103 * focused, -1 will be returned. |
96 * focused, -1 will be returned. |