dndfactory.cpp
Provides the main "calendar" object class.
This class provides a calendar stored as a local file.
Definition: calendarlocal.h:37
virtual bool addIncidence(Incidence *incidence)
Insert an Incidence into the Calendar.
Definition: calendar.cpp:466
virtual Incidence::List incidences()
Return a filtered list of all Incidences for this Calendar.
Definition: calendar.cpp:178
virtual bool deleteIncidence(Incidence *incidence)
Remove an Incidence from the Calendar.
Definition: calendar.cpp:473
virtual Event::List events(EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return a sorted, filtered list of all Events for this Calendar.
Definition: calendar.cpp:458
virtual Todo::List todos(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return a sorted, filtered list of all Todos for this Calendar.
Definition: calendar.cpp:755
bool cutIncidences(const Incidence::List &incidences)
cuts a list of incidences to the clipboard
Definition: dndfactory.cpp:166
Incidence * pasteIncidence(const TQDate &, const TQTime *newTime=0)
pastes the event or todo and returns a pointer to the new incidence pasted.
Definition: dndfactory.cpp:249
bool copyIncidences(const Incidence::List &incidences)
copies a list of incidences to the clipboard
Definition: dndfactory.cpp:179
Incidence::List pasteIncidences(const TQDate &newDate=TQDate(), const TQTime *newTime=0)
pastes and returns the incidences from the clipboard If no date and time are given,...
Definition: dndfactory.cpp:206
ICalDrag * createDrag(Incidence *incidence, TQWidget *owner)
Create a drag object.
Definition: dndfactory.cpp:106
Todo * createDropTodo(TQDropEvent *de)
Create Todo object from drop event.
Definition: dndfactory.cpp:140
Event * createDrop(TQDropEvent *de)
Create Event object from drop event.
Definition: dndfactory.cpp:121
static bool decode(TQMimeSource *e, Calendar *cal)
Decode drag&drop object to iCalendar component cal.
Definition: icaldrag.cpp:45
virtual TQDateTime dtStart() const
returns an event's starting date/time as a TQDateTime.
Definition: incidencebase.cpp:201
This class provides the base class common to all calendar components.
Definition: incidence.h:48
TQString relatedToUid() const
What event does this one relate to? This function should only be used when constructing a calendar be...
Definition: incidence.cpp:340
void setRelatedTo(Incidence *relatedTo)
Point at some other event to which the event relates.
Definition: incidence.cpp:345
void setRelatedToUid(const TQString &)
Point at some other event to which the event relates.
Definition: incidence.cpp:333
virtual void setDtStart(const TQDateTime &dtStart)
Set starting date/time.
Definition: incidence.cpp:264
void setDtDue(const TQDateTime &dtDue, bool first=false)
Sets due date and time.
Definition: todo.cpp:85
static bool decode(TQMimeSource *e, Calendar *cal)
Decode drag&drop object to vCalendar component vcal.
Definition: vcaldrag.cpp:41
Namespace KCal is for global classes, objects and/or functions in libkcal.
Definition: alarm.h:38