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 60 of file dndfactory.h.
Public Member Functions | |
bool | copyIncidence (Incidence *) |
QDrag * | createDrag (Incidence *incidence, QWidget *owner) |
QDrag * | createDrag (QWidget *owner) |
Calendar * | createDropCalendar (const QMimeData *md) |
Calendar * | createDropCalendar (QDropEvent *de) |
Event * | createDropEvent (QDropEvent *de) |
Event * | createDropEvent (const QMimeData *md) |
Todo * | createDropTodo (QDropEvent *de) |
Todo * | createDropTodo (const QMimeData *md) |
QMimeData * | createMimeData (Incidence *incidence) |
QMimeData * | createMimeData () |
void | cutIncidence (Incidence *) |
DndFactory (Calendar *) | |
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 71 of file dndfactory.cpp.
Member Function Documentation
bool DndFactory::copyIncidence | ( | Incidence * | selectedInc | ) |
Create the calendar that is contained in the mime data.
Definition at line 134 of file dndfactory.cpp.
Calendar * DndFactory::createDropCalendar | ( | QDropEvent * | de | ) |
Create the calendar that is contained in the drop event's data.
Definition at line 145 of file dndfactory.cpp.
Event * DndFactory::createDropEvent | ( | QDropEvent * | de | ) |
Todo * DndFactory::createDropTodo | ( | QDropEvent * | de | ) |
QMimeData * DndFactory::createMimeData | ( | ) |
void DndFactory::cutIncidence | ( | Incidence * | selectedInc | ) |
Paste the event or todo and return a pointer to the new incidence pasted.
Definition at line 238 of file dndfactory.cpp.
The documentation for this class was generated from the following files: