KCal Library
Go to the documentation of this file. 38 #ifndef KCAL_VCALFORMAT_H 39 #define KCAL_VCALFORMAT_H 44 #include "kcal_export.h" 46 #include <kdatetime.h> 48 #include <QtCore/QByteArray> 50 #define _VCAL_VERSION "1.0" 56 class KCAL_DEPRECATED_EXPORT VCalFormat :
public CalFormat
60 virtual ~VCalFormat();
66 bool load( Calendar *calendar,
const QString &fileName );
72 bool save( Calendar *calendar,
const QString &fileName );
78 bool fromString( Calendar *calendar,
const QString &
string );
84 QString toString( Calendar *calendar );
90 bool fromRawString( Calendar *calendar,
const QByteArray &
string );
96 Todo *VTodoToEvent( VObject *vtodo );
101 Event *VEventToEvent( VObject *vevent );
106 VObject *eventToVTodo(
const Todo *anEvent );
111 VObject *eventToVEvent(
const Event *anEvent );
116 QString qDateToISO(
const QDate &date );
121 QString kDateTimeToISO(
const KDateTime &date,
bool zulu=
true );
126 KDateTime ISOToKDateTime(
const QString &dtStr );
131 QDate ISOToQDate(
const QString &dtStr );
137 void populate( VObject *vcal );
145 const char *dayFromNum(
int day );
148 int numFromDay(
const QString &day );
164 Q_DISABLE_COPY( VCalFormat )
PartStat
The different types of participant status.
This file is part of the API for handling calendar data and defines the Todo class.
This file is part of the API for handling calendar data and defines the Event class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Thu Mar 9 2017 14:24:22 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.