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 1b738b043..2752a3689 100644
--- a/kalarm/kalarmd/adcalendar.cpp
+++ b/kalarm/kalarmd/adcalendar.cpp
@@ -115,7 +115,7 @@ void ADCalendar::slotDownloadJobResult(KIO::Job *job)
loadLocalFile(mTempFileName);
}
unlink(TQFile::encodeName(mTempFileName));
- mTempFileName = TQString::null;
+ mTempFileName = TQString();
emit loaded(this, mLoaded);
}
@@ -142,7 +142,7 @@ bool ADCalendar::setLoadedConnected()
*/
bool ADCalendar::eventHandled(const KCal::Event* event, const TQValueList<TQDateTime>& alarmtimes)
{
- EventsMap::ConstIterator it = mEventsHandled.find(EventKey(event->uid(), mUrlIndex));
+ EventsMap::ConstIterator it = mEventsHandled.tqfind(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.find(key);
+ EventsMap::Iterator it = mEventsPending.tqfind(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.find(key);
+ EventsMap::Iterator it = map.tqfind(key);
if (it != map.end())
{
// Update the existing entry for the event