libkcal Library API Documentation

KCal::VCalDrag Class Reference

vCalendar drag&drop class. More...

#include <vcaldrag.h>

Inheritance diagram for KCal::VCalDrag:

Inheritance graph
[legend]
Collaboration diagram for KCal::VCalDrag:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VCalDrag (Calendar *vcal, QWidget *parent=0, const char *name=0)

Static Public Member Functions

static bool canDecode (QMimeSource *)
static bool decode (QMimeSource *e, Calendar *cal)

Detailed Description

vCalendar drag&drop class.

Definition at line 34 of file vcaldrag.h.


Constructor & Destructor Documentation

VCalDrag::VCalDrag Calendar vcal,
QWidget parent = 0,
const char *  name = 0
 

Create a drag&drop object for vCalendar component vcal.

Definition at line 28 of file vcaldrag.cpp.

References KCal::VCalFormat::toString().


Member Function Documentation

bool VCalDrag::canDecode QMimeSource  )  [static]
 

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

Definition at line 35 of file vcaldrag.cpp.

bool VCalDrag::decode QMimeSource e,
Calendar cal
[static]
 

Decode drag&drop object to vCalendar component vcal.

Definition at line 40 of file vcaldrag.cpp.

References KCal::VCalFormat::fromString().

Referenced by KCal::DndFactory::createDrop(), KCal::DndFactory::createDropTodo(), and KCal::DndFactory::pasteIncidence().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkcal Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jan 31 15:52:39 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003