diff options
Diffstat (limited to 'kplato/kptcalendar.h')
-rw-r--r-- | kplato/kptcalendar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kplato/kptcalendar.h b/kplato/kptcalendar.h index 6607ea67..6e35622a 100644 --- a/kplato/kptcalendar.h +++ b/kplato/kptcalendar.h @@ -128,9 +128,9 @@ public: */ CalendarDay *weekday(int day) const; CalendarDay *weekday(const TQDate &date) const { return weekday(date.dayOfWeek()-1); } - CalendarDay *tqreplace(int weekday, CalendarDay *day) { + CalendarDay *replace(int weekday, CalendarDay *day) { CalendarDay *d = m_weekdays.at(weekday); - m_weekdays.tqreplace(weekday, day); + m_weekdays.replace(weekday, day); return d; } IntMap map(); @@ -235,7 +235,7 @@ public: CalendarDay *findDay(const TQDate &date, bool skipUndefined=false) const; bool addDay(CalendarDay *day) { return m_days.insert(0, day); } bool removeDay(CalendarDay *day) { return m_days.removeRef(day); } - CalendarDay *takeDay(CalendarDay *day) { return m_days.take(m_days.tqfind(day)); } + CalendarDay *takeDay(CalendarDay *day) { return m_days.take(m_days.find(day)); } const TQPtrList<CalendarDay> &days() const { return m_days; } /** |