KCalUtils::ICalDrag
KCalUtils::ICalDrag Namespace Reference
Functions | |
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-2023 The KDE developers.
Generated on Sat Sep 30 2023 04:10:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 04:10:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.