KCalendarCore::XCalFormat

Search for usage in LXR

KCalendarCore::XCalFormat Class Reference

#include <xcalformat.h>

Inheritance diagram for KCalendarCore::XCalFormat:

Public Member Functions

bool fromRawString (const Calendar::Ptr &calendar, const QByteArray &string) override
 
bool load (const Calendar::Ptr &calendar, const QString &fileName) override
 
bool save (const Calendar::Ptr &calendar, const QString &fileName) override
 
QString toString (const Calendar::Ptr &calendar) override
 
- Public Member Functions inherited from KCalendarCore::CalFormat
virtual ~CalFormat ()
 
void clearException ()
 
Exceptionexception () const
 
bool fromString (const Calendar::Ptr &calendar, const QString &string)
 
QString loadedProductId ()
 
void setException (Exception *error)
 

Additional Inherited Members

- Static Public Member Functions inherited from KCalendarCore::CalFormat
static const QStringapplication ()
 
static QString createUniqueId ()
 
static const QStringproductId ()
 
static void setApplication (const QString &application, const QString &productID)
 
- Protected Member Functions inherited from KCalendarCore::CalFormat
void setLoadedProductId (const QString &id)
 

Detailed Description

Read support for xCal events.

This is currently only exposed via the KCalendarCore::FileStorage API.

Supported variants:

Since
6.6

Definition at line 26 of file xcalformat.h.

Constructor & Destructor Documentation

◆ XCalFormat()

XCalFormat::XCalFormat ( )
explicit

Definition at line 391 of file xcalformat.cpp.

Member Function Documentation

◆ fromRawString()

bool XCalFormat::fromRawString ( const Calendar::Ptr & calendar,
const QByteArray & string )
overridevirtual

CalFormat::fromRawString()

Implements KCalendarCore::CalFormat.

Definition at line 426 of file xcalformat.cpp.

◆ load()

bool XCalFormat::load ( const Calendar::Ptr & calendar,
const QString & fileName )
overridevirtual

CalFormat::load()

Implements KCalendarCore::CalFormat.

Definition at line 398 of file xcalformat.cpp.

◆ save()

bool XCalFormat::save ( const Calendar::Ptr & calendar,
const QString & fileName )
overridevirtual

Does nothing.

Implements KCalendarCore::CalFormat.

Definition at line 420 of file xcalformat.cpp.

◆ toString()

QString XCalFormat::toString ( const Calendar::Ptr & calendar)
nodiscardoverridevirtual

Does nothing.

Implements KCalendarCore::CalFormat.

Definition at line 442 of file xcalformat.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:15:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.