KCalendarCore::Journal Class

class KCalendarCore::Journal

Provides a Journal in the sense of RFC2445. More...

Header: #include <KCalendarCore/Journal>
CMake: find_package(KF6 REQUIRED COMPONENTS CalendarCore)
target_link_libraries(mytarget PRIVATE KF6::CalendarCore)
Inherits: KCalendarCore::Incidence

Public Types

Public Functions

Journal()
Journal(const KCalendarCore::Journal &)
virtual ~Journal() override

Reimplemented Public Functions

virtual KCalendarCore::Journal *clone() const override
virtual QDateTime dateTime(KCalendarCore::IncidenceBase::DateTimeRole role) const override
virtual QLatin1String iconName(const QDateTime &recurrenceId = {}) const override
virtual QLatin1String mimeType() const override
virtual void setDateTime(const QDateTime &dateTime, KCalendarCore::IncidenceBase::DateTimeRole role) override
virtual bool supportsGroupwareCommunication() const override
virtual KCalendarCore::IncidenceBase::IncidenceType type() const override
virtual QByteArray typeStr() const override

Static Public Members

QLatin1String journalMimeType()

Reimplemented Protected Functions

virtual KCalendarCore::IncidenceBase &assign(const KCalendarCore::IncidenceBase &other) override
virtual bool equals(const KCalendarCore::IncidenceBase &journal) const override
virtual void virtual_hook(KCalendarCore::IncidenceBase::VirtualHook id, void *data) override

Detailed Description

Member Type Documentation

Journal::List

List of journals.

Journal::Ptr

A shared pointer to a Journal object.

Member Function Documentation

Journal::Journal()

Constructs an empty journal.

Journal::Journal(const KCalendarCore::Journal &)

Copy a journey object.

[override virtual noexcept] Journal::~Journal()

Destroys a journal.

[override virtual protected] KCalendarCore::IncidenceBase &Journal::assign(const KCalendarCore::IncidenceBase &other)

Reimplements: Incidence::assign(const KCalendarCore::IncidenceBase &other).

[override virtual] KCalendarCore::Journal *Journal::clone() const

Reimplements: Incidence::clone() const.

Returns an exact copy of this journal. The returned object is owned by the caller.

[override virtual] QDateTime Journal::dateTime(KCalendarCore::IncidenceBase::DateTimeRole role) const

Reimplements: IncidenceBase::dateTime(KCalendarCore::IncidenceBase::DateTimeRole role) const.

See also setDateTime().

[override virtual protected] bool Journal::equals(const KCalendarCore::IncidenceBase &journal) const

Reimplements: Incidence::equals(const KCalendarCore::IncidenceBase &incidence) const.

Compare this with journal for equality.

journal is the journal to compare.

Returns true if journal is equal to this object, or false if they are different.

[override virtual] QLatin1String Journal::iconName(const QDateTime &recurrenceId = {}) const

Reimplements: Incidence::iconName(const QDateTime &recurrenceId) const.

[static] QLatin1String Journal::journalMimeType()

Returns the Akonadi specific sub MIME type of a KCalendarCore::Journal.

[override virtual] QLatin1String Journal::mimeType() const

Reimplements: IncidenceBase::mimeType() const.

[override virtual] void Journal::setDateTime(const QDateTime &dateTime, KCalendarCore::IncidenceBase::DateTimeRole role)

Reimplements: IncidenceBase::setDateTime(const QDateTime &dateTime, KCalendarCore::IncidenceBase::DateTimeRole role).

See also dateTime().

[override virtual] bool Journal::supportsGroupwareCommunication() const

Reimplements: Incidence::supportsGroupwareCommunication() const.

[override virtual] KCalendarCore::IncidenceBase::IncidenceType Journal::type() const

Reimplements: IncidenceBase::type() const.

[override virtual] QByteArray Journal::typeStr() const

Reimplements: IncidenceBase::typeStr() const.

[override virtual protected] void Journal::virtual_hook(KCalendarCore::IncidenceBase::VirtualHook id, void *data)

Reimplements: IncidenceBase::virtual_hook(KCalendarCore::IncidenceBase::VirtualHook id, void *data).