KCalUtils::VCalDrag

KCalUtils::VCalDrag 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 ()
 

Detailed Description

vCalendar drag&drop class.

Function Documentation

◆ canDecode()

bool KCalUtils::VCalDrag::canDecode ( const QMimeData * me)
nodiscard

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

Definition at line 25 of file vcaldrag.cpp.

◆ fromMimeData()

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

Decode drag&drop object to vCalendar component vcal.

Definition at line 34 of file vcaldrag.cpp.

◆ mimeType()

QString KCalUtils::VCalDrag::mimeType ( )
nodiscard

Mime-type of iCalendar.

Definition at line 20 of file vcaldrag.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:09:16 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.