libkcal

KCal::TQtopiaFormat Class Reference

#include <qtopiaformat.h>

Inheritance diagram for KCal::TQtopiaFormat:
KCal::CalFormat

Public Member Functions

bool load (Calendar *, const TQString &fileName)
bool save (Calendar *, const TQString &fileName)
bool fromString (Calendar *, const TQString &)
TQString toString (Calendar *)
Public Member Functions inherited from KCal::CalFormat
 CalFormat ()
virtual ~CalFormat ()
void clearException ()
ErrorFormatexception ()
const TQString & loadedProductId ()
void setException (ErrorFormat *error)

Additional Inherited Members

Static Public Member Functions inherited from KCal::CalFormat
static void setApplication (const TQString &app, const TQString &productID)
static const TQString & application ()
static const TQString & productId ()
static TQString createUniqueId ()
Protected Attributes inherited from KCal::CalFormat
TQString mLoadedProductId

Detailed Description

This class implements the calendar format used by TQtopia.

Definition at line 36 of file qtopiaformat.h.

Constructor & Destructor Documentation

◆ TQtopiaFormat()

TQtopiaFormat::TQtopiaFormat ( )

Definition at line 260 of file qtopiaformat.cpp.

◆ ~TQtopiaFormat()

TQtopiaFormat::~TQtopiaFormat ( )
virtual

Definition at line 264 of file qtopiaformat.cpp.

Member Function Documentation

◆ fromString()

bool TQtopiaFormat::fromString ( Calendar * ,
const TQString &  )
virtual

Parse string and populate calendar with that information.

Implements KCal::CalFormat.

Definition at line 307 of file qtopiaformat.cpp.

◆ load()

bool TQtopiaFormat::load ( Calendar * ,
const TQString & fileName )
virtual

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

Returns true if successful,else returns false.

Parameters
fileNamethe name of the calendar on disk.

Implements KCal::CalFormat.

Definition at line 268 of file qtopiaformat.cpp.

◆ save()

bool TQtopiaFormat::save ( Calendar * ,
const TQString & fileName )
virtual

writes out the calendar to disk.

Returns true if successful and false on error.

Parameters
fileNamethe name of the file

Implements KCal::CalFormat.

Definition at line 282 of file qtopiaformat.cpp.

◆ toString()

TQString TQtopiaFormat::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: