KCal Library
KCal::DndFactory Class Reference
#include <dndfactory.h>
Detailed Description
vCalendar/iCalendar Drag-and-Drop object factory.This class implements functions to create Drag and Drop objects used for Drag-and-Drop and Copy-and-Paste.
Definition at line 59 of file dndfactory.h.
Public Member Functions | |
| DndFactory (Calendar *) | |
| Calendar * | createDropCalendar (QDropEvent *de) |
| Calendar * | createDropCalendar (const QMimeData *md) |
| QDrag * | createDrag (QWidget *owner) |
| QDrag * | createDrag (Incidence *incidence, QWidget *owner) |
| Todo * | createDropTodo (QDropEvent *de) |
| Event * | createDropEvent (QDropEvent *de) |
| void | cutIncidence (Incidence *) |
| bool | copyIncidence (Incidence *) |
| Incidence * | pasteIncidence (const QDate &, const QTime *newTime=0) |
Constructor & Destructor Documentation
| DndFactory::DndFactory | ( | Calendar * | cal | ) | [explicit] |
Private class that helps to provide binary compatibility between releases.
Definition at line 70 of file dndfactory.cpp.
Member Function Documentation
| Calendar * DndFactory::createDropCalendar | ( | QDropEvent * | de | ) |
Create the calendar that is contained in the drop event's data.
Definition at line 132 of file dndfactory.cpp.
Create the calendar that is contained in the mime data.
Definition at line 121 of file dndfactory.cpp.
| Todo * DndFactory::createDropTodo | ( | QDropEvent * | de | ) |
| Event * DndFactory::createDropEvent | ( | QDropEvent * | de | ) |
| void DndFactory::cutIncidence | ( | Incidence * | selectedInc | ) |
| bool DndFactory::copyIncidence | ( | Incidence * | selectedInc | ) |
pastes the event or todo and returns a pointer to the new incidence pasted.
Definition at line 203 of file dndfactory.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference