KCalUtils::ICalDrag Namespace Reference


KCALUTILS_EXPORT bool canDecode (const QMimeData *)
KCALUTILS_EXPORT bool fromMimeData (const QMimeData *e, const KCalendarCore::Calendar::Ptr &cal)
KCALUTILS_EXPORT QString mimeType ()
KCALUTILS_EXPORT bool populateMimeData (QMimeData *e, const KCalendarCore::Calendar::Ptr &cal)

Detailed Description

iCalendar drag&drop class.

Function Documentation

◆ canDecode()

bool KCalUtils::ICalDrag::canDecode ( const QMimeData * me)

Return, if drag&drop object can be decode to iCalendar.

Definition at line 36 of file icaldrag.cpp.

◆ fromMimeData()

bool KCalUtils::ICalDrag::fromMimeData ( const QMimeData * e,
const KCalendarCore::Calendar::Ptr & cal )

Decode drag&drop object to iCalendar component cal.

Definition at line 45 of file icaldrag.cpp.

◆ mimeType()

QString KCalUtils::ICalDrag::mimeType ( )

Mime-type of iCalendar.

Definition at line 20 of file icaldrag.cpp.

◆ populateMimeData()

bool KCalUtils::ICalDrag::populateMimeData ( QMimeData * e,
const KCalendarCore::Calendar::Ptr & cal )

Sets the iCalendar representation as data of the drag object.

Definition at line 25 of file icaldrag.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:54:35 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.