libkcal

KCal::QtopiaFormat Class Reference

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

#include <qtopiaformat.h>

Inheritance diagram for KCal::QtopiaFormat:

List of all members.


Public Member Functions

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

Detailed Description

This class implements the calendar format used by Qtopia.

Definition at line 36 of file qtopiaformat.h.


Constructor & Destructor Documentation

QtopiaFormat::QtopiaFormat (  ) 

Definition at line 260 of file qtopiaformat.cpp.

QtopiaFormat::~QtopiaFormat (  )  [virtual]

Definition at line 264 of file qtopiaformat.cpp.


Member Function Documentation

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

Parse string and populate calendar with that information.

Implements KCal::CalFormat.

Definition at line 307 of file qtopiaformat.cpp.

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 268 of file qtopiaformat.cpp.

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 282 of file qtopiaformat.cpp.

QString QtopiaFormat::toString ( Calendar  )  [virtual]

Return calendar information as string.

Implements KCal::CalFormat.

Definition at line 313 of file qtopiaformat.cpp.


The documentation for this class was generated from the following files: