libkcal

KCal::DndFactory Class Reference

#include <dndfactory.h>

List of all members.


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.

Definition at line 42 of file dndfactory.h.


Public Member Functions

 DndFactory (Calendar *)
ICalDrag * createDrag (Incidence *incidence, QWidget *owner)
Todo * createDropTodo (QDropEvent *de)
Event * createDrop (QDropEvent *de)
void cutIncidence (Incidence *)
bool copyIncidence (Incidence *)
Incidence * pasteIncidence (const QDate &, const QTime *newTime=0)

Member Function Documentation

bool DndFactory::copyIncidence (  Incidence *   ) 
 

copy the incidence to clipboard

Definition at line 109 of file dndfactory.cpp.

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

Create a drag object.

Definition at line 48 of file dndfactory.cpp.

Event * DndFactory::createDrop (  QDropEvent *  de  ) 
 

Create Event object from drop event.

Definition at line 63 of file dndfactory.cpp.

Todo * DndFactory::createDropTodo (  QDropEvent *  de  ) 
 

Create Todo object from drop event.

Definition at line 82 of file dndfactory.cpp.

void DndFactory::cutIncidence (  Incidence *   ) 
 

cut incidence to clipboard

Definition at line 102 of file dndfactory.cpp.

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

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

Definition at line 123 of file dndfactory.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys