KCalCore Library
icalformat.cpp
Go to the documentation of this file.
159 kError() << "parse error from icalcomponent_new_from_string. string=" << QString::fromLatin1(string);
void setCodec(QTextCodec *codec)
Exception base class, currently used as a fancy kind of error code and not as an C++ exception...
Definition: exceptions.h:50
bool save(const Calendar::Ptr &calendar, const QString &fileName)
Definition: icalformat.cpp:104
void setTimeSpec(const KDateTime::Spec &timeSpec)
Sets the iCalendar time specification (time zone, etc.).
Definition: icalformat.cpp:620
void setException(Exception *error)
Sets an exception that is to be used by the functions of this class to report errors.
Definition: calformat.cpp:85
static QString methodName(iTIPMethod method)
Returns a machine-readable (not translatable) name for a iTIP method.
Definition: schedulemessage.cpp:70
This file is part of the API for handling calendar data and defines the MemoryCalendar class...
A class which reads and parses iCalendar VTIMEZONE components, and accesses libical time zone data...
Definition: icaltimezones.h:405
const_iterator constEnd() const
const_iterator constBegin() const
An abstract class that provides a common base for all calendar incidence classes. ...
Definition: incidencebase.h:109
bool isEmpty() const
T & first()
typedef ConstIterator
QSharedPointer< ScheduleMessage > Ptr
A shared pointer to a ScheduleMessage.
Definition: schedulemessage.h:72
This file is part of the API for handling calendar data and defines the internal ICalFormatImpl class...
QString timeZoneId() const
Returns the timezone id string used by the iCalendar; an empty string if the iCalendar does not have ...
Definition: icalformat.cpp:630
bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string, bool deleted=false, const QString ¬ebook=QString())
Definition: icalformat.cpp:148
This class provides the libical dependent functions for ICalFormat.
Definition: icalformat_p.h:89
QString fromUtf8(const char *str, int size)
This class provides a calendar stored in memory.
Definition: memorycalendar.h:46
QByteArray toRawString(const Incidence::Ptr &incidence)
Converts an Incidence to a QByteArray.
Definition: icalformat.cpp:308
bool isEmpty() const
QString trimmed() const
const_iterator constEnd() const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
ICalTimeZone parse(icalcomponent *vtimezone)
Creates an ICalTimeZone instance containing the detailed information parsed from an iCalendar VTIMEZO...
Definition: icaltimezones.cpp:853
This file is part of the API for handling calendar data and defines the FreeBusy class.
QString toICalString(const Incidence::Ptr &incidence)
Converts an Incidence to iCalendar formatted text.
Definition: icalformat.cpp:296
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
FreeBusy::Ptr parseFreeBusy(const QString &string)
Converts a QString into a FreeBusy object.
Definition: icalformat.cpp:416
virtual void virtual_hook(int id, void *data)
Definition: icalformat.cpp:636
QByteArray & append(char ch)
Event or to-do decline a counter proposal.
Definition: schedulemessage.h:43
void setLoadedProductId(const QString &id)
Sets the PRODID string loaded from calendar file.
Definition: calformat.cpp:118
Exception * exception() const
Returns an exception, if there is any, containing information about the last error that occurred...
Definition: calformat.cpp:91
virtual void close()
KDateTime::Spec timeSpec() const
Returns the iCalendar time specification.
Definition: icalformat.cpp:625
ScheduleMessage::Ptr parseScheduleMessage(const Calendar::Ptr &calendar, const QString &string)
Parses a Calendar scheduling message string into ScheduleMessage object.
Definition: icalformat.cpp:450
const_iterator constBegin() const
QByteArray toLatin1() const
bool isEmpty() const
The ICalTimeZones class represents a time zone database which consists of a collection of individual ...
Definition: icaltimezones.h:65
char * data()
QString fromLatin1(const char *str, int size)
Event, to-do or journal additional property request.
Definition: schedulemessage.h:39
typedef ConstIterator
bool fromString(const Calendar::Ptr &calendar, const QString &string, bool deleted=false, const QString ¬ebook=QString())
Definition: icalformat.cpp:142
int size() const
const ZoneMap zones() const
Returns all the time zones defined in this collection.
Definition: icaltimezones.cpp:127
QString readAll()
bool load(const Calendar::Ptr &calendar, const QString &fileName)
Definition: icalformat.cpp:79
QString toString(const Calendar::Ptr &calendar, const QString ¬ebook=QString(), bool deleted=false)
Definition: icalformat.cpp:213
QString createScheduleMessage(const IncidenceBase::Ptr &incidence, iTIPMethod method)
Creates a scheduling message string for an Incidence.
Definition: icalformat.cpp:367
This file is part of the API for handling calendar data and defines the ICalFormat class...
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:68
This class represents a recurrence rule for a calendar incidence.
Definition: recurrencerule.h:43
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.