summaryrefslogtreecommitdiffstats
path: root/kalarm/kalarmd/adcalendar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/kalarmd/adcalendar.cpp')
-rw-r--r--kalarm/kalarmd/adcalendar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalarm/kalarmd/adcalendar.cpp b/kalarm/kalarmd/adcalendar.cpp
index e1f0823ae..409ab88f0 100644
--- a/kalarm/kalarmd/adcalendar.cpp
+++ b/kalarm/kalarmd/adcalendar.cpp
@@ -51,7 +51,7 @@ ADCalendar::ADCalendar(const TQString& url, const TQCString& appname)
kdError(5900) << "ADCalendar::ADCalendar(" << url << "): calendar already exists" << endl;
assert(0);
}
- mUrlIndex = mCalendarUrls.tqfindIndex(url); // get unique index for this URL
+ mUrlIndex = mCalendarUrls.findIndex(url); // get unique index for this URL
if (mUrlIndex < 0)
{
mUrlIndex = static_cast<int>(mCalendarUrls.count());
@@ -142,7 +142,7 @@ bool ADCalendar::setLoadedConnected()
*/
bool ADCalendar::eventHandled(const KCal::Event* event, const TQValueList<TQDateTime>& alarmtimes)
{
- EventsMap::ConstIterator it = mEventsHandled.tqfind(EventKey(event->uid(), mUrlIndex));
+ EventsMap::ConstIterator it = mEventsHandled.find(EventKey(event->uid(), mUrlIndex));
if (it == mEventsHandled.end())
return false;
@@ -170,7 +170,7 @@ void ADCalendar::setEventHandled(const TQString& eventID)
EventKey key(eventID, mUrlIndex);
// Remove it from the pending list, and add it to the handled list
- EventsMap::Iterator it = mEventsPending.tqfind(key);
+ EventsMap::Iterator it = mEventsPending.find(key);
if (it != mEventsPending.end())
{
setEventInMap(mEventsHandled, key, it.data().alarmTimes, it.data().eventSequence);
@@ -197,7 +197,7 @@ void ADCalendar::setEventPending(const KCal::Event* event, const TQValueList<TQD
*/
void ADCalendar::setEventInMap(EventsMap& map, const EventKey& key, const TQValueList<TQDateTime>& alarmtimes, int sequence)
{
- EventsMap::Iterator it = map.tqfind(key);
+ EventsMap::Iterator it = map.find(key);
if (it != map.end())
{
// Update the existing entry for the event