KDE PIM / Developers / API Docs / libkcal

KCal::DndFactory Class Reference

This class implements functions to create Drag and Drop objects used for Drag-and-Drop and Copy-and-Paste. vCalendar/iCalendar Drag-and-Drop object factory. More...

#include <dndfactory.h>

List of all members.

Public Member Functions


Detailed Description

This class implements functions to create Drag and Drop objects used for Drag-and-Drop and Copy-and-Paste. vCalendar/iCalendar Drag-and-Drop object factory.


Member Function Documentation

ICalDrag * DndFactory::createDrag (  Incidence *  incidence,
QWidget *  owner
) 
 

Create a drag object.

Todo * DndFactory::createDropTodo (  QDropEvent *  de  ) 
 

Create Todo object from drop event.

Event * DndFactory::createDrop (  QDropEvent *  de  ) 
 

Create Event object from drop event.

void DndFactory::cutIncidence (  Incidence *   ) 
 

cut incidence to clipboard

bool DndFactory::copyIncidence (  Incidence *   ) 
 

copy the incidence to clipboard

Incidence * DndFactory::pasteIncidence (  const QDate &  ,
const QTime *  newTime = 0
) 
 

pastes the event or todo and returns a pointer to the new incidence pasted.


The documentation for this class was generated from the following files: