KCal Library
#include <qtopiaformat.h>
Public Member Functions | |
bool | fromRawString (Calendar *calendar, const QByteArray &string) |
bool | fromString (Calendar *calendar, const QString &) |
bool | load (Calendar *calendar, const QString &fileName) |
bool | save (Calendar *calendar, const QString &fileName) |
QString | toString (Calendar *calendar) |
Public Member Functions inherited from KCal::CalFormat | |
CalFormat () | |
virtual | ~CalFormat () |
void | clearException () |
ErrorFormat * | exception () |
const QString & | loadedProductId () |
void | setException (ErrorFormat *error) |
Additional Inherited Members | |
Static Public Member Functions inherited from KCal::CalFormat | |
static const QString & | application () |
static QString | createUniqueId () |
static const QString & | productId () |
static void | setApplication (const QString &application, const QString &productID) |
Protected Member Functions inherited from KCal::CalFormat | |
void | setLoadedProductId (const QString &id) |
Detailed Description
This class implements the calendar format used by Qtopia.
Definition at line 36 of file qtopiaformat.h.
Member Function Documentation
|
virtual |
Parses a utf8 encoded string, returning the first iCal component encountered in that string.
This is an overload used for efficient reading to avoid utf8 conversions, which are expensive when reading from disk.
- Parameters
-
calendar is the Calendar to be loaded. string is the QByteArray containing the Calendar data.
- Returns
- true if successful; false otherwise.
- See also
- fromString(), toString().
Implements KCal::CalFormat.
Definition at line 343 of file qtopiaformat.cpp.
Loads a calendar from a string.
- Returns
- true if successful; false otherwise.
- See also
- fromRawString(), toString().
Implements KCal::CalFormat.
Definition at line 337 of file qtopiaformat.cpp.
Loads a calendar on disk into the calendar associated with this format.
- Parameters
-
calendar is the Calendar to be loaded. fileName is the name of the disk file containing the Calendar data.
- Returns
- true if successful; false otherwise.
Implements KCal::CalFormat.
Definition at line 296 of file qtopiaformat.cpp.
Writes the calendar to disk.
- Parameters
-
calendar is the Calendar containing the data to be saved. fileName is the name of the file to write the calendar data.
- Returns
- true if successful; false otherwise.
Implements KCal::CalFormat.
Definition at line 310 of file qtopiaformat.cpp.
Returns the calendar as a string.
- Parameters
-
calendar is the Calendar containing the data to be saved.
- See also
- fromString(), fromRawString().
Implements KCal::CalFormat.
Definition at line 349 of file qtopiaformat.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.