libkcal Library API Documentation

KCal::QtopiaFormat Class Reference

This class implements the calendar format used by Qtopia. More...

#include <qtopiaformat.h>

Inheritance diagram for KCal::QtopiaFormat:

Inheritance graph
[legend]
Collaboration diagram for KCal::QtopiaFormat:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool load (Calendar *, const QString &fileName)
bool save (Calendar *, const QString &fileName)
bool fromString (Calendar *, const QString &)
QString toString (Calendar *)

Detailed Description

This class implements the calendar format used by Qtopia.

Definition at line 35 of file qtopiaformat.h.


Member Function Documentation

bool QtopiaFormat::load Calendar ,
const QString fileName
[virtual]
 

loads a calendar on disk into the calendar associated with this format.

Returns TRUE if successful,else returns FALSE.

Parameters:
fileName the name of the calendar on disk.

Implements KCal::CalFormat.

Definition at line 272 of file qtopiaformat.cpp.

References KCal::CalFormat::clearException().

bool QtopiaFormat::save Calendar ,
const QString fileName
[virtual]
 

writes out the calendar to disk.

Returns true if successful and false on error.

Parameters:
fileName the name of the file

Implements KCal::CalFormat.

Definition at line 286 of file qtopiaformat.cpp.

References KCal::CalFormat::clearException(), KCal::CalFormat::setException(), and toString().

bool QtopiaFormat::fromString Calendar ,
const QString
[virtual]
 

Parse string and populate calendar with that information.

Implements KCal::CalFormat.

Definition at line 311 of file qtopiaformat.cpp.

QString QtopiaFormat::toString Calendar  )  [virtual]
 

Return calendar information as string.

Implements KCal::CalFormat.

Definition at line 317 of file qtopiaformat.cpp.

Referenced by save().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkcal Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 4 14:39:53 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003