22 #ifndef KCAL_VCALFORMAT_H
23 #define KCAL_VCALFORMAT_H
25 #include "calformat.h"
29 #include "libkcal_export.h"
31 #define _VCAL_VERSION "1.0"
57 bool load( Calendar *calendar, const TQString &fileName );
65 bool save( Calendar *calendar, const TQString &fileName);
70 bool fromString( Calendar *, const TQString & );
78 Todo *VTodoToEvent(VObject *vtodo);
80 Event *VEventToEvent(VObject *vevent);
82 VObject *eventToVTodo( const Todo *anEvent);
84 VObject* eventToVEvent( const Event *anEvent);
87 TQString qDateToISO( const TQDate &);
89 TQString qDateTimeToISO( const TQDateTime &, bool zulu=TRUE);
92 TQDateTime ISOToTQDateTime( const TQString & dtStr);
95 TQDate ISOToTQDate( const TQString & dtStr);
98 void populate(VObject *vcal);
102 const char *dayFromNum( int day);
104 int numFromDay( const TQString &day);
106 Attendee::PartStat readStatus( const char *s) const;
107 TQCString writeStatus(Attendee::PartStat status) const;
This is the main "calendar" object class.
This class provides an Event in the sense of RFC2445.
This class provides a Todo in the sense of RFC2445.
Namespace KCal is for global classes, objects and/or functions in libkcal.
|