diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /kplato/kptcalendar.h | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; } /** |