libkcal Library API Documentation

KCal::VCalDrag Class Reference

vCalendar drag&drop class. More...

#include <vcaldrag.h>

Inheritance diagram for KCal::VCalDrag:

QStoredDrag List of all members.

Public Methods

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

Static Public Methods

bool canDecode (QMimeSource *)
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 QStoredDrag::setEncodedData(), KCal::VCalFormat::toString(), and QString::utf8().


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.

References QMimeSource::provides().

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 QMimeSource::encodedData(), KCal::VCalFormat::fromString(), and QString::fromUtf8().


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:25 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003