diff -r 579cc610882e -r ef813d54df51 calendarui/caleneditor/inc/caleneditorrepeatfield.h --- a/calendarui/caleneditor/inc/caleneditorrepeatfield.h Tue Jul 06 14:14:56 2010 +0300 +++ b/calendarui/caleneditor/inc/caleneditorrepeatfield.h Wed Aug 18 09:47:38 2010 +0300 @@ -57,6 +57,7 @@ private: void insertRepeatUntilItem(); + void removeRepeatUntilItem(); private slots: void handleRepeatIndexChanged(int index); @@ -65,14 +66,22 @@ private: enum RepeatTypes { - RepeatOnce, - RepeatDaily, - RepeatWorkdays, - RepeatWeekly, - RepeatBiWeekly, - RepeatMonthly, - RepeatYearly - }; + RepeatOnce, + RepeatDaily, + RepeatWorkdays, + RepeatWeekly, + RepeatBiWeekly, + RepeatMonthly, + RepeatYearly + }; + enum RepeatRoles { + DailyRole = 1, + WorkdaysRole, + WeeklyRole, + BiWeeklyRole, + MonthlyRole, + YearlyRole + }; CalenEditorPrivate* mCalenEditor; HbDataForm* mEditorForm; HbDataFormModel* mCalenEditorModel; @@ -82,6 +91,7 @@ HbDateTimePicker* mDatePicker; QDate mRepeatUntilDate; AgendaRepeatRule::RuleType mRepeatRuleType; + int mRepeatRoleValue; bool mIsBiWeekly; bool mIsWorkdays; bool mRepeatUntilItemAdded;