dndfactory.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef KCAL_DNDFACTORY_H
00024 #define KCAL_DNDFACTORY_H
00025
00026 namespace KCal {
00027
00028 class ICalDrag;
00029 class Event;
00030 class Todo;
00031 class Calendar;
00032
00039 class DndFactory
00040 {
00041 public:
00042 DndFactory( Calendar * );
00043
00047 ICalDrag *createDrag( Incidence *incidence, QWidget *owner );
00048
00050 Todo *createDropTodo(QDropEvent *de);
00052 Event *createDrop(QDropEvent *de);
00053
00055 void cutEvent(Event *);
00057 void cutTodo(Todo *);
00059 bool copyEvent(Event *);
00061 bool copyTodo(Todo *);
00063 Incidence *pasteIncidence(const QDate &, const QTime *newTime = 0);
00064
00065 private:
00066 Calendar *mCalendar;
00067
00068 class Private;
00069 Private *d;
00070 };
00071
00072 }
00073
00074 #endif
This file is part of the documentation for libkcal Library Version 3.3.2.