summaryrefslogtreecommitdiffstats
path: root/libkcal/vcalformat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/vcalformat.cpp')
-rw-r--r--libkcal/vcalformat.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libkcal/vcalformat.cpp b/libkcal/vcalformat.cpp
index f78ad2a3..539921fa 100644
--- a/libkcal/vcalformat.cpp
+++ b/libkcal/vcalformat.cpp
@@ -71,7 +71,7 @@ bool VCalFormat::load(Calendar *calendar, const TQString &fileName)
if (!vcal) {
setException(new ErrorFormat(ErrorFormat::CalVersionUnknown));
- return FALSE;
+ return false;
}
// any other top-level calendar stuff should be added/initialized here
@@ -503,7 +503,7 @@ VObject* VCalFormat::eventToVEvent(const Event *anEvent)
} else if (recur->duration() == -1) {
tmpStr += "#0"; // defined as repeat forever
} else {
- tmpStr += qDateTimeToISO(recur->endDateTime(), FALSE);
+ tmpStr += qDateTimeToISO(recur->endDateTime(), false);
}
// Only write out the rrule if we have a valid recurrence (i.e. a known
// type in thee switch above)
@@ -948,11 +948,11 @@ Event* VCalFormat::VEventToEvent(VObject *vevent)
// "take up" any time.
/*if ((isAPropertyOf(vevent, VCDTstartProp) == 0) ||
(isAPropertyOf(vevent, VCDTendProp) == 0)) {
- anEvent->setFloats(TRUE);
+ anEvent->setFloats(true);
} else {
}*/
- anEvent->setFloats(FALSE);
+ anEvent->setFloats(false);
// start time
if ((vo = isAPropertyOf(vevent, VCDTstartProp)) != 0) {
@@ -960,7 +960,7 @@ Event* VCalFormat::VEventToEvent(VObject *vevent)
// kdDebug(5800) << "s is " << // s << ", ISO is " << ISOToTQDateTime(s = fakeCString(vObjectUStringZValue(vo))).toString() << endl;
deleteStr(s);
if (anEvent->dtStart().time().isNull())
- anEvent->setFloats(TRUE);
+ anEvent->setFloats(true);
}
// stop time
@@ -968,7 +968,7 @@ Event* VCalFormat::VEventToEvent(VObject *vevent)
anEvent->setDtEnd(ISOToTQDateTime(s = fakeCString(vObjectUStringZValue(vo))));
deleteStr(s);
if (anEvent->dtEnd().time().isNull())
- anEvent->setFloats(TRUE);
+ anEvent->setFloats(true);
}
// at this point, there should be at least a start or end time.
@@ -1071,7 +1071,7 @@ Event* VCalFormat::VEventToEvent(VObject *vevent)
}
anEvent->recurrence()->addMonthlyPos( tmpPos, qba );
qba.detach();
- qba.fill(FALSE); // clear out
+ qba.fill(false); // clear out
} // while != "#"
}
break;}