KCal Library
dndfactory.cpp
Go to the documentation of this file.
This file is part of the API for handling calendar data and defines the Calendar class.
This file is part of the API for handling calendar data and defines the CalendarLocal class.
This class provides a calendar stored as a local file.
Definition calendarlocal.h:44
virtual bool addIncidence(Incidence *incidence)
Inserts an Incidence into the calendar.
Definition calendar.cpp:573
virtual Incidence::List incidences()
Returns a filtered list of all Incidences for this Calendar.
Definition calendar.cpp:282
virtual Event::List events(EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Returns a sorted, filtered list of all Events for this Calendar.
Definition calendar.cpp:565
virtual Todo::List todos(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Returns a sorted, filtered list of all Todos for this Calendar.
Definition calendar.cpp:856
bool cutIncidences(const Incidence::List &incidences)
Cuts a list of incidences to the clipboard.
Definition dndfactory.cpp:281
bool copyIncidences(const Incidence::List &incidences)
Copies a list of incidences to the clipboard.
Definition dndfactory.cpp:294
Event * createDropEvent(const QMimeData *md)
Create Event object from mime data.
Definition dndfactory.cpp:219
Incidence * pasteIncidence(const QDate &, const QTime *newTime=0)
Pastes the event or todo and return a pointer to the new incidence pasted.
Definition dndfactory.cpp:370
Calendar * createDropCalendar(QDropEvent *de)
Create the calendar that is contained in the drop event's data.
Definition dndfactory.cpp:209
QDrag * createDrag(QWidget *owner)
Create a drag object for the whole calendar.
Definition dndfactory.cpp:149
QMimeData * createMimeData()
Create the mime data for the whole calendar.
Definition dndfactory.cpp:139
Incidence::List pasteIncidences(const QDate &newDate=QDate(), const QTime *newTime=0)
Pastes and returns the incidences from the clipboard If no date and time are given,...
Definition dndfactory.cpp:326
Todo * createDropTodo(const QMimeData *md)
Create Todo object from mime data.
Definition dndfactory.cpp:246
DndFactory(Calendar *)
Private class that helps to provide binary compatibility between releases.
Definition dndfactory.cpp:129
virtual QByteArray type() const =0
Prints the type of Incidence as a string.
virtual KDateTime dtStart() const
Returns an incidence's starting date/time as a KDateTime.
Definition incidencebase.cpp:248
KUrl uri() const
Returns the uri for the incidence, of form urn:x-ical:<uid>
Definition incidencebase.cpp:508
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition incidence.h:70
void setRelatedTo(Incidence *incidence)
Relates another incidence to this one.
Definition incidence.cpp:497
void setRelatedToUid(const QString &uid)
Relates another incidence to this one, by UID.
Definition incidence.cpp:483
This file is part of the API for handling calendar data and defines the DndFactory class.
KCAL_DEPRECATED_EXPORT bool fromMimeData(const QMimeData *e, Calendar *cal)
Decode drag&drop object to iCalendar component cal.
Definition icaldrag.cpp:55
KCAL_DEPRECATED_EXPORT bool populateMimeData(QMimeData *e, Calendar *cal)
Sets the iCalendar representation as data of the drag object.
Definition icaldrag.cpp:39
KCAL_DEPRECATED_EXPORT bool populateMimeData(QMimeData *e, Calendar *cal)
Sets the vCalendar representation as data of the drag object.
Definition vcaldrag.cpp:35
KCAL_DEPRECATED_EXPORT bool fromMimeData(const QMimeData *e, Calendar *cal)
Decode drag&drop object to vCalendar component vcal.
Definition vcaldrag.cpp:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.