KCalUtils::ICalDrag Namespace Reference


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

Detailed Description

iCalendar drag&drop class.

Function Documentation

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.

bool KCalUtils::ICalDrag::fromMimeData ( const QMimeData e,
const KCalendarCore::MemoryCalendar::Ptr cal 

Decode drag&drop object to iCalendar component cal.

Definition at line 45 of file icaldrag.cpp.

QString KCalUtils::ICalDrag::mimeType ( )

Mime-type of iCalendar.

Definition at line 20 of file icaldrag.cpp.

bool KCalUtils::ICalDrag::populateMimeData ( QMimeData e,
const KCalendarCore::MemoryCalendar::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-2020 The KDE developers.
Generated on Mon Nov 30 2020 23:14:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.