vcalformat.h
bool save(Calendar *calendar, const TQString &fileName)
Writes out the given calendar to disk in vCalendar format.
Definition vcalformat.cpp:90
VObject * eventToVTodo(const Todo *anEvent)
translate a Event into a VTodo-type VObject and return pointer
Definition vcalformat.cpp:203
TQDate ISOToTQDate(const TQString &dtStr)
takes a string in the format YYYYMMDD and returns a valid TQDate.
Definition vcalformat.cpp:1400
void populate(VObject *vcal)
takes a vCalendar tree of VObjects, and puts all of them that have the "event" property into the dict...
Definition vcalformat.cpp:1414
Event * VEventToEvent(VObject *vevent)
translates a VObject into a Event and returns a pointer to it.
Definition vcalformat.cpp:857
TQString qDateToISO(const TQDate &)
takes a TQDate and returns a string in the format YYYYMMDDTHHMMSS
Definition vcalformat.cpp:1324
bool fromString(Calendar *, const TQString &)
Parse string and populate calendar with that information.
Definition vcalformat.cpp:136
bool load(Calendar *calendar, const TQString &fileName)
Loads a calendar on disk in vCalendar format into the given calendar.
Definition vcalformat.cpp:58
Todo * VTodoToEvent(VObject *vtodo)
translates a VObject of the TODO type into a Event
Definition vcalformat.cpp:651
VObject * eventToVEvent(const Event *anEvent)
translate a Event into a VObject and returns a pointer to it.
Definition vcalformat.cpp:365
const char * dayFromNum(int day)
takes a number 0 - 6 and returns the two letter string of that day, i.e.
Definition vcalformat.cpp:1546
TQString qDateTimeToISO(const TQDateTime &, bool zulu=true)
takes a TQDateTime and returns a string in format YYYYMMDDTHHMMSS
Definition vcalformat.cpp:1350
TQDateTime ISOToTQDateTime(const TQString &dtStr)
takes a string in the format YYYYMMDDTHHMMSS and returns a valid TQDateTime.
Definition vcalformat.cpp:1373
