korganizer
CalendarView Class Reference
#include <calendarview.h>
Inheritance diagram for CalendarView:

Detailed Description
This is the main calendar widget.main calendar view widget.It provides the different views on the calendar data as well as the date navigator. It also handles synchronization of the different views and controls the different dialogs like preferences, event editor, search dialog etc.
- Author:
- Cornelius Schumacher
Definition at line 80 of file calendarview.h.
Constructor & Destructor Documentation
| CalendarView::CalendarView | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
Constructs a new calendar view widget.
- Parameters:
-
parent parent window name Qt internal widget object name
Definition at line 113 of file calendarview.cpp.
Member Function Documentation
| void CalendarView::adaptNavigationUnits | ( | ) |
Adapt navigation units corresponding to step size of navigation of the current view.
Definition at line 1561 of file calendarview.cpp.
| void CalendarView::addExtension | ( | CalendarViewExtension::Factory * | ) |
Add calendar view extension widget.
CalendarView takes ownership of the objects created by the factory.
Definition at line 1770 of file calendarview.cpp.
| bool CalendarView::addIncidence | ( | const QString & | ical | ) | [slot] |
Add an incidence to the active calendar.
- Parameters:
-
ical A calendar in iCalendar format containing the incidence. The calendar must consist of a VCALENDAR component which contains the incidence (VEVENT, VTODO, VJOURNAL or VFREEBUSY) and optionally a VTIMEZONE component. If there is more than one incidence, only the first is added to KOrganizer's calendar.
Definition at line 1117 of file calendarview.cpp.
| void CalendarView::appointment_delete | ( | ) | [slot] |
pop up dialog confirming deletion of currently selected event in the View.
Definition at line 1149 of file calendarview.cpp.
| void CalendarView::appointment_edit | ( | ) | [slot] |
pop up an Appointment Dialog to edit an existing appointment.
Get information on the appointment from the list of unique IDs that is currently in the View, called currIds.
Definition at line 1140 of file calendarview.cpp.
| void CalendarView::appointment_show | ( | ) | [slot] |
| void CalendarView::archiveCalendar | ( | ) | [slot] |
| void CalendarView::autoArchivingSettingsModified | ( | ) | [signal] |
Emitted when auto-archiving options were modified.
| void CalendarView::cancelAttendees | ( | Incidence * | ) | [signal] |
Attendees were removed from this incidence.
Only the removed attendees are present in the incidence, so we just need to send a cancel messages to all attendees groupware messages are enabled at all.
| void CalendarView::categoriesChanged | ( | ) | [signal] |
Emitted when the categories were updated, and thus the categories editor dialog needs to reload the list of categories.
| void CalendarView::changeIncidenceDisplay | ( | Incidence * | , | |
| int | ||||
| ) | [slot] |
passes on the message that an event has changed to the currently activated view so that it can make appropriate display changes.
Definition at line 790 of file calendarview.cpp.
| void CalendarView::changeNavStringPrev | ( | const QString & | ) | [signal] |
Emitted when the unit of navigation changes.
| void CalendarView::checkClipboard | ( | ) | [slot] |
Check if clipboard contains vCalendar event.
The signal pasteEnabled() is emitted as result.
Definition at line 1617 of file calendarview.cpp.
| void CalendarView::closeCalendar | ( | ) | [slot] |
Close calendar.
Clear calendar data and reset views to display an empty calendar.
Definition at line 459 of file calendarview.cpp.
| void CalendarView::closed | ( | QWidget * | ) | [signal] |
emitted right before we die
| void CalendarView::closingDown | ( | ) | [signal] |
emitted when the topwidget is closing down, so that any attached child windows can also close.
| void CalendarView::configChanged | ( | ) | [signal] |
when change is made to options dialog, the topwidget will catch this and emit this signal which notifies all widgets which have registered for notification to update their settings.
| void CalendarView::copyIncidence | ( | Incidence * | ) | [slot] |
Copies the selected incidence using the edit_copy() method.
Definition at line 1864 of file calendarview.cpp.
| QString CalendarView::currentFilterName | ( | ) | const |
| Incidence * CalendarView::currentSelection | ( | ) | [virtual] |
currentSelection() returns a pointer to the incidence selected in the current view
Implements KOrg::CalendarViewBase.
Definition at line 1822 of file calendarview.cpp.
| void CalendarView::cutIncidence | ( | Incidence * | ) | [slot] |
Cuts the selected incidence using the edit_cut() method.
Definition at line 1859 of file calendarview.cpp.
| void CalendarView::dayPassed | ( | const QDate & | ) | [signal] |
Emitted, when a day changed (i.e.
korganizer was running at midnight). The argument is the new date
| bool CalendarView::deleteEvent | ( | Event * | ) | [inline, slot] |
| bool CalendarView::deleteIncidence | ( | const QString & | uid, | |
| bool | force = false | |||
| ) | [slot] |
Delete the incidence with the given unique ID.
Returns false, if event wasn't found.
- Parameters:
-
uid The UID of the incidence to delete. force If true, all recurrences and sub-todos (if applicable) will be deleted without prompting for confirmation.
Definition at line 1221 of file calendarview.cpp.
| void CalendarView::deleteIncidence | ( | Incidence * | , | |
| bool | force = false | |||
| ) | [slot] |
Delete the supplied incidence.
It calls the correct deleteXXX method
- Parameters:
-
force If true, all recurrences and sub-todos (if applicable) will be deleted without prompting for confirmation.
Definition at line 1975 of file calendarview.cpp.
| bool CalendarView::deleteJournal | ( | Journal * | ) | [inline, slot] |
| void CalendarView::deleteSubTodosIncidence | ( | Todo * | todo | ) | [slot] |
| bool CalendarView::deleteTodo | ( | Todo * | ) | [inline, slot] |
| void CalendarView::deleteTodoIncidence | ( | Todo * | todo, | |
| bool | force = false | |||
| ) | [slot] |
Delete the todo incidence, and its sub-to-dos.
- Parameters:
-
todo The todo to delete. force If true, all sub-todos will be deleted without prompting for confirmation.
Definition at line 1933 of file calendarview.cpp.
| void CalendarView::edit_copy | ( | ) | [slot] |
| void CalendarView::edit_cut | ( | ) | [slot] |
| void CalendarView::edit_options | ( | ) | [slot] |
| void CalendarView::edit_paste | ( | ) | [slot] |
paste the current vobject(s) in the clipboard buffer into calendar
Definition at line 860 of file calendarview.cpp.
| bool CalendarView::editIncidence | ( | Incidence * | ) | [slot] |
Create an editor for the supplied incidence.
It calls the correct editXXX method
Definition at line 1876 of file calendarview.cpp.
| void CalendarView::exportICalendar | ( | ) | [slot] |
| void CalendarView::exportVCalendar | ( | ) | [slot] |
| void CalendarView::exportWeb | ( | ) | [slot] |
| void CalendarView::filterActivated | ( | int | filterNum | ) | [slot] |
| void CalendarView::goDate | ( | const QDate & | date | ) | [slot] |
| void CalendarView::goNext | ( | ) | [slot] |
| void CalendarView::goPrevious | ( | ) | [slot] |
| void CalendarView::goToday | ( | ) | [slot] |
| void CalendarView::groupEventsSelected | ( | bool | ) | [signal] |
Emitted when state of events selection has changed and user is attendee.
| void CalendarView::incidenceSelected | ( | Incidence * | ) | [signal] |
Emitted when an incidence gets selected.
If the selection is cleared the signal is emitted with 0 as argument.
| bool CalendarView::isModified | ( | ) | [slot] |
| bool CalendarView::isReadOnly | ( | ) | [slot] |
| bool CalendarView::makeSubTodosIndependents | ( | Todo * | todo | ) | [slot] |
Make all sub-to-dos of todo independents, not update the view.
Definition at line 1200 of file calendarview.cpp.
| bool CalendarView::makeSubTodosIndependents | ( | ) | [slot] |
Make all sub-to-dos of todo independents, update the view.
Definition at line 1188 of file calendarview.cpp.
| void CalendarView::modifiedChanged | ( | bool | ) | [signal] |
Emitted when state of modified flag changes.
| void CalendarView::newEvent | ( | const QString & | ) | [slot] |
| void CalendarView::newEvent | ( | ) | [slot] |
create new event without having a date hint.
Takes current date as default hint.
Definition at line 923 of file calendarview.cpp.
create an editeventwin with supplied date/time, and if bool is true, make the event take all day.
Definition at line 989 of file calendarview.cpp.
| void CalendarView::newSubTodo | ( | Todo * | ) | [slot] |
| void CalendarView::newSubTodo | ( | ) | [slot] |
| void CalendarView::newTodo | ( | const QDate & | date | ) | [slot] |
| void CalendarView::newTodo |
