libkcal
KCal::DndFactory Class Reference
This class implements functions to create Drag and Drop objects used for Drag-and-Drop and Copy-and-Paste. More...
#include <dndfactory.h>
Public Member Functions | |
bool | copyIncidence (Incidence *) |
ICalDrag * | createDrag (Incidence *incidence, QWidget *owner) |
Event * | createDrop (QDropEvent *de) |
Todo * | createDropTodo (QDropEvent *de) |
void | cutIncidence (Incidence *) |
DndFactory (Calendar *) | |
Incidence * | pasteIncidence (const QDate &, const QTime *newTime=0) |
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.
Constructor & Destructor Documentation
DndFactory::DndFactory | ( | Calendar * | cal | ) |
Definition at line 43 of file dndfactory.cpp.
Member Function Documentation
bool DndFactory::copyIncidence | ( | Incidence * | selectedInc | ) |
Event * DndFactory::createDrop | ( | QDropEvent * | de | ) |
Todo * DndFactory::createDropTodo | ( | QDropEvent * | de | ) |
void DndFactory::cutIncidence | ( | Incidence * | selectedInc | ) |
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: