#include <calendarview.h>
|
void | updateConfig (const TQCString &) |
|
void | updateCategories () |
|
bool | openCalendar (const TQString &filename, bool merge=false) |
|
bool | saveCalendar (const TQString &filename) |
|
void | closeCalendar () |
|
void | archiveCalendar () |
|
void | showIncidence () |
|
void | editIncidence () |
|
bool | editIncidence (const TQString &uid) |
|
bool | editIncidence (const TQString &uid, const TQDate &date) |
|
void | deleteIncidence () |
|
bool | addIncidence (const TQString &ical) |
|
void | connectIncidenceEditor (KOIncidenceEditor *editor) |
|
void | newEvent () |
|
void | newEvent (ResourceCalendar *res, const TQString &subRes) |
|
void | newEvent (ResourceCalendar *res, const TQString &subRes, const TQDate &startDt) |
|
void | newEvent (ResourceCalendar *res, const TQString &subRes, const TQDateTime &startDt) |
|
void | newEvent (ResourceCalendar *res, const TQString &subRes, const TQDateTime &startDt, const TQDateTime &EndDt, bool allDay=false) |
|
void | newEvent (ResourceCalendar *res, const TQString &subRes, const TQString &summary, const TQString &description=TQString(), const TQStringList &attachment=TQStringList(), const TQStringList &attendees=TQStringList(), const TQStringList &attachmentMimetypes=TQStringList(), bool inlineAttachment=false) |
|
void | showIncidence (Incidence *, const TQDate &) |
|
bool | editIncidence (Incidence *incidence, const TQDate &date, bool isCounter=false) |
|
void | deleteIncidence (Incidence *, bool force=false) |
|
void | cutIncidence (Incidence *) |
|
void | copyIncidence (Incidence *) |
|
void | pasteIncidence () |
|
void | deleteSubTodosIncidence (Todo *todo) |
|
void | deleteTodoIncidence (Todo *todo, bool force=false) |
|
bool | deleteEvent (Event *) |
|
bool | deleteTodo (Todo *) |
|
bool | deleteJournal (Journal *) |
|
bool | deleteIncidence (const TQString &uid, bool force=false) |
|
void | newTodo () |
|
void | newTodo (ResourceCalendar *res, const TQString &subRes) |
|
void | newTodo (ResourceCalendar *res, const TQString &subRes, const TQDate &date) |
|
void | newSubTodo () |
|
void | newSubTodo (Todo *) |
|
void | newTodo (ResourceCalendar *res, const TQString &subRes, const TQString &summary, const TQString &description=TQString(), const TQStringList &attachments=TQStringList(), const TQStringList &attendees=TQStringList(), const TQStringList &attachmentMimetypes=TQStringList(), bool inlineAttachment=false, bool createTask=false) |
|
void | newJournal () |
|
void | newJournal (ResourceCalendar *res, const TQString &subRes) |
|
void | newJournal (ResourceCalendar *res, const TQString &subRes, const TQDate &date) |
|
void | newJournal (ResourceCalendar *res, const TQString &subRes, const TQString &text, const TQDate &date=TQDate()) |
|
void | toggleAlarm (Incidence *) |
|
void | dissociateOccurrence (Incidence *, const TQDate &) |
|
void | dissociateFutureOccurrence (Incidence *, const TQDate &) |
|
void | checkClipboard () |
|
void | readSettings () |
|
void | writeSettings () |
|
void | readFilterSettings (TDEConfig *config) |
|
void | writeFilterSettings (TDEConfig *config) |
|
void | changeIncidenceDisplay (Incidence *, int) |
|
void | incidenceAdded (Incidence *) |
|
void | incidenceChanged (Incidence *oldEvent, Incidence *newEvent, KOGlobals::WhatChanged modification) |
|
void | incidenceToBeDeleted (Incidence *incidence) |
|
void | incidenceDeleted (Incidence *) |
|
void | startMultiModify (const TQString &text) |
|
void | endMultiModify () |
|
void | editCanceled (Incidence *) |
|
void | updateView (const TQDate &start, const TQDate &end) |
|
void | updateView () |
|
void | updateUnmanagedViews () |
|
void | edit_cut () |
|
void | edit_copy () |
|
void | edit_paste () |
|
void | edit_options () |
|
void | print () |
|
void | exportWeb () |
|
void | exportICalendar () |
|
void | exportVCalendar () |
|
void | appointment_show () |
|
void | appointment_edit () |
|
void | appointment_delete () |
|
void | todo_unsub () |
|
bool | incidence_unsub (Incidence *inc) |
|
bool | makeSubTodosIndependent () |
|
bool | makeChildrenIndependent (Incidence *inc) |
|
void | takeOverEvent () |
|
void | takeOverCalendar () |
|
bool | isModified () |
|
void | setModified (bool modified=true) |
|
bool | isReadOnly () |
|
void | setReadOnly (bool readOnly=true) |
|
void | eventUpdated (Incidence *) |
|
void | schedule_publish (Incidence *incidence=0) |
|
void | schedule_request (Incidence *incidence=0) |
|
void | schedule_refresh (Incidence *incidence=0) |
|
void | schedule_cancel (Incidence *incidence=0) |
|
void | schedule_add (Incidence *incidence=0) |
|
void | schedule_reply (Incidence *incidence=0) |
|
void | schedule_counter (Incidence *incidence=0) |
|
void | schedule_declinecounter (Incidence *incidence=0) |
|
void | schedule_forward (Incidence *incidence=0) |
|
void | mailFreeBusy (int daysToPublish=30) |
|
void | uploadFreeBusy () |
|
void | openAddressbook () |
|
void | editFilters () |
|
void | updateFilter () |
|
void | showIntro () |
|
void | showDateNavigator (bool) |
|
void | showTodoView (bool) |
|
void | showEventViewer (bool) |
|
void | goDate (const TQDate &date) |
|
void | showDate (const TQDate &date) |
|
void | goToday () |
|
void | goNext () |
|
void | goPrevious () |
|
void | toggleExpand () |
|
void | showLeftFrame (bool show=true) |
|
void | dialogClosing (Incidence *) |
|
void | processMainViewSelection (Incidence *incidence, const TQDate &date) |
|
void | processTodoListSelection (Incidence *incidence, const TQDate &date) |
|
void | processIncidenceSelection (Incidence *incidence, const TQDate &date) |
|
void | purgeCompleted () |
|
void | slotAutoArchivingSettingsModified () |
|
void | showErrorMessage (const TQString &) |
|
void | schedule (Scheduler::Method, Incidence *incidence) |
|
void | addIncidenceOn (Incidence *, const TQDate &) |
|
void | moveIncidenceTo (Incidence *, const TQDate &) |
|
void | filterActivated (int filterNum) |
|
void | resourcesChanged () |
|
void | selectWeek (const TQDate &) |
|
virtual void | updateView ()=0 |
|
virtual void | updateCategories ()=0 |
|
|
void | showDates (const KCal::DateList &, const TQDate &preferredMonth=TQDate()) |
|
This is the main calendar 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.
main calendar view widget - Author
- Cornelius Schumacher
Definition at line 81 of file calendarview.h.
◆ CalendarView()
CalendarView::CalendarView |
( |
TQWidget * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
Constructs a new calendar view widget.
- Parameters
-
parent | parent window |
name | TQt internal widget object name |
Definition at line 115 of file calendarview.cpp.
◆ ~CalendarView()
CalendarView::~CalendarView |
( |
| ) |
|
|
virtual |
◆ activeDate()
TQDate CalendarView::activeDate |
( |
bool |
fallbackToToday = false | ) |
|
Returns the best guess at the current active date in the view.
This has nothing to do with selected incidences, use activeIncidenceDate() for that, for example, agenda supports time selection and incidence selection and they can have diferent dates.
- Parameters
-
fallbackToToday | If guessing doesn't work, some views will prefer today to be returned instead of the first select date in the day matrix, Journal view for example. |
Definition at line 372 of file calendarview.cpp.
◆ activeIncidenceDate()
TQDate CalendarView::activeIncidenceDate |
( |
| ) |
|
Returns the date of the selected incidence.
If the selected incidence is recurring, it will return the date of the selected occurrence
Definition at line 396 of file calendarview.cpp.
◆ adaptNavigationUnits()
void CalendarView::adaptNavigationUnits |
( |
| ) |
|
Adapt navigation units corresponding to step size of navigation of the current view.
Definition at line 1865 of file calendarview.cpp.
◆ addExtension()
void CalendarView::addExtension |
( |
CalendarViewExtension::Factory * |
factory | ) |
|
◆ addIncidence
bool CalendarView::addIncidence |
( |
const TQString & |
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 1326 of file calendarview.cpp.
◆ addIncidenceOn
void CalendarView::addIncidenceOn |
( |
Incidence * |
incadd, |
|
|
const TQDate & |
dt |
|
) |
| |
|
slot |
◆ addView()
◆ appointment_delete
void CalendarView::appointment_delete |
( |
| ) |
|
|
slot |
pop up dialog confirming deletion of currently selected event in the View.
Definition at line 1360 of file calendarview.cpp.
◆ appointment_edit
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 1350 of file calendarview.cpp.
◆ appointment_show
void CalendarView::appointment_show |
( |
| ) |
|
|
slot |
◆ archiveCalendar
void CalendarView::archiveCalendar |
( |
| ) |
|
|
slot |
◆ autoArchivingSettingsModified
void CalendarView::autoArchivingSettingsModified |
( |
| ) |
|
|
signal |
Emitted when auto-archiving options were modified.
◆ calendar()
◆ cancelAttendees
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.
◆ categoriesChanged
void CalendarView::categoriesChanged |
( |
| ) |
|
|
signal |
Emitted when the categories were updated, and thus the categories editor dialog needs to reload the list of categories.
◆ changeIncidenceDisplay
void CalendarView::changeIncidenceDisplay |
( |
Incidence * |
incidence, |
|
|
int |
action |
|
) |
| |
|
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 863 of file calendarview.cpp.
◆ changeNavStringPrev
void CalendarView::changeNavStringPrev |
( |
const TQString & |
| ) |
|
|
signal |
Emitted when the unit of navigation changes.
◆ checkClipboard
void CalendarView::checkClipboard |
( |
| ) |
|
|
slot |
◆ checkForFilteredChange()
void CalendarView::checkForFilteredChange |
( |
Incidence * |
incidence | ) |
|
|
protected |
◆ closeCalendar
void CalendarView::closeCalendar |
( |
| ) |
|
|
slot |
Close calendar.
Clear calendar data and reset views to display an empty calendar.
Definition at line 516 of file calendarview.cpp.
◆ closed
void CalendarView::closed |
( |
TQWidget * |
| ) |
|
|
signal |
emitted right before we die
◆ closingDown
void CalendarView::closingDown |
( |
| ) |
|
|
signal |
emitted when the topwidget is closing down, so that any attached child windows can also close.
◆ configChanged
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.
◆ connectIncidenceEditor
◆ copyIncidence
void CalendarView::copyIncidence |
( |
Incidence * |
| ) |
|
|
slot |
◆ currentFilterName()
TQString CalendarView::currentFilterName |
( |
| ) |
const |
◆ currentSelection()
Incidence * CalendarView::currentSelection |
( |
| ) |
|
|
virtual |
◆ cutIncidence
void CalendarView::cutIncidence |
( |
Incidence * |
| ) |
|
|
slot |
◆ dateNavigator()
◆ dateTimesForNewEvent()
void CalendarView::dateTimesForNewEvent |
( |
TQDateTime & |
startDt, |
|
|
TQDateTime & |
endDt, |
|
|
bool & |
allDay |
|
) |
| |
|
protected |
Adjust the given date/times by valid defaults (selection or configured defaults, if invalid values are given) and allow the view to adjust the type.
Definition at line 1118 of file calendarview.cpp.
◆ dayPassed
void CalendarView::dayPassed |
( |
const TQDate & |
| ) |
|
|
signal |
Emitted, when a day changed (i.e.
korganizer was running at midnight). The argument is the new date
◆ deleteEvent
bool CalendarView::deleteEvent |
( |
Event * |
| ) |
|
|
inlineslot |
Check if deleting the supplied event is allowed.
Definition at line 330 of file calendarview.h.
◆ deleteIncidence [1/3]
void CalendarView::deleteIncidence |
( |
| ) |
|
|
slot |
◆ deleteIncidence [2/3]
bool CalendarView::deleteIncidence |
( |
const TQString & |
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 1430 of file calendarview.cpp.
◆ deleteIncidence [3/3]
void CalendarView::deleteIncidence |
( |
Incidence * |
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 2357 of file calendarview.cpp.
◆ deleteJournal
bool CalendarView::deleteJournal |
( |
Journal * |
| ) |
|
|
inlineslot |
Check if deleting the supplied journal is allowed.
Definition at line 334 of file calendarview.h.
◆ deleteSubTodosIncidence
void CalendarView::deleteSubTodosIncidence |
( |
Todo * |
todo | ) |
|
|
slot |
◆ deleteTodo
bool CalendarView::deleteTodo |
( |
Todo * |
| ) |
|
|
inlineslot |
Check if deleting the todo is allowed.
Definition at line 332 of file calendarview.h.
◆ deleteTodoIncidence
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 2313 of file calendarview.cpp.
◆ dialogClosing
void CalendarView::dialogClosing |
( |
Incidence * |
in | ) |
|
|
slot |
◆ dialogManager()
◆ dissociateFutureOccurrence
void CalendarView::dissociateFutureOccurrence |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ dissociateOccurrence
void CalendarView::dissociateOccurrence |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ edit_copy
void CalendarView::edit_copy |
( |
| ) |
|
|
slot |
copy the current appointment(s) to the clipboard
Definition at line 947 of file calendarview.cpp.
◆ edit_cut
void CalendarView::edit_cut |
( |
| ) |
|
|
slot |
◆ edit_options
void CalendarView::edit_options |
( |
| ) |
|
|
slot |
◆ edit_paste
void CalendarView::edit_paste |
( |
| ) |
|
|
slot |
paste the current vobject(s) in the clipboard buffer into calendar
Definition at line 1021 of file calendarview.cpp.
◆ editCanceled
void CalendarView::editCanceled |
( |
Incidence * |
incidence | ) |
|
|
slot |
◆ editFilters
void CalendarView::editFilters |
( |
| ) |
|
|
slot |
◆ editIncidence [1/4]
void CalendarView::editIncidence |
( |
| ) |
|
|
slot |
◆ editIncidence [2/4]
bool CalendarView::editIncidence |
( |
const TQString & |
uid | ) |
|
|
slot |
◆ editIncidence [3/4]
bool CalendarView::editIncidence |
( |
const TQString & |
uid, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ editIncidence [4/4]
bool CalendarView::editIncidence |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date, |
|
|
bool |
isCounter = false |
|
) |
| |
|
slot |
Create an editor for the supplied incidence.
It calls the correct editXXX method
Definition at line 2207 of file calendarview.cpp.
◆ editorDialog()
◆ endDate()
TQDate CalendarView::endDate |
( |
| ) |
|
|
virtual |
◆ endMultiModify
void CalendarView::endMultiModify |
( |
| ) |
|
|
slot |
◆ eventUpdated
void CalendarView::eventUpdated |
( |
Incidence * |
| ) |
|
|
slot |
◆ exportICalendar
void CalendarView::exportICalendar |
( |
| ) |
|
|
slot |
◆ exportVCalendar
void CalendarView::exportVCalendar |
( |
| ) |
|
|
slot |
◆ exportWeb
void CalendarView::exportWeb |
( |
| ) |
|
|
slot |
◆ filterActivated
void CalendarView::filterActivated |
( |
int |
filterNum | ) |
|
|
slot |
◆ goDate
void CalendarView::goDate |
( |
const TQDate & |
date | ) |
|
|
slot |
Move the current view date to the specified date.
Definition at line 668 of file calendarview.cpp.
◆ goNext
void CalendarView::goNext |
( |
| ) |
|
|
slot |
◆ goPrevious
void CalendarView::goPrevious |
( |
| ) |
|
|
slot |
Move to the previous date(s) in the current view.
Definition at line 697 of file calendarview.cpp.
◆ goToday
void CalendarView::goToday |
( |
| ) |
|
|
slot |
◆ groupEventsSelected
void CalendarView::groupEventsSelected |
( |
bool |
| ) |
|
|
signal |
Emitted when state of events selection has changed and user is attendee.
◆ history()
KOrg::History * CalendarView::history |
( |
| ) |
const |
|
inline |
◆ incidence_unsub
bool CalendarView::incidence_unsub |
( |
Incidence * |
inc | ) |
|
|
slot |
◆ incidenceAdded
void CalendarView::incidenceAdded |
( |
Incidence * |
incidence | ) |
|
|
slot |
◆ incidenceChanged
void CalendarView::incidenceChanged |
( |
Incidence * |
oldEvent, |
|
|
Incidence * |
newEvent, |
|
|
KOGlobals::WhatChanged |
modification |
|
) |
| |
|
slot |
◆ incidenceChanger()
IncidenceChangerBase * CalendarView::incidenceChanger |
( |
| ) |
const |
|
inline |
◆ incidenceDeleted
void CalendarView::incidenceDeleted |
( |
Incidence * |
incidence | ) |
|
|
slot |
◆ incidenceSelected
void CalendarView::incidenceSelected |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date |
|
) |
| |
|
signal |
Emitted when an incidence gets selected.
If the selection is cleared the signal is emitted with 0 as argument.
◆ incidenceToBeDeleted
void CalendarView::incidenceToBeDeleted |
( |
Incidence * |
incidence | ) |
|
|
slot |
◆ isModified
bool CalendarView::isModified |
( |
| ) |
|
|
slot |
◆ isReadOnly
bool CalendarView::isReadOnly |
( |
| ) |
|
|
slot |
◆ leftFrame()
TQWidget * CalendarView::leftFrame |
( |
| ) |
const |
|
inline |
◆ mailFreeBusy
void CalendarView::mailFreeBusy |
( |
int |
daysToPublish = 30 | ) |
|
|
slot |
◆ makeChildrenIndependent
bool CalendarView::makeChildrenIndependent |
( |
Incidence * |
inc | ) |
|
|
slot |
Make all children of incidence independent, not update the view Works with any incidence type, although currently we only pass to-dos.
Definition at line 1413 of file calendarview.cpp.
◆ makeSubTodosIndependent
bool CalendarView::makeSubTodosIndependent |
( |
| ) |
|
|
slot |
Make all sub-to-dos of the selected todo independent, update the view.
Definition at line 1401 of file calendarview.cpp.
◆ modifiedChanged
void CalendarView::modifiedChanged |
( |
bool |
| ) |
|
|
signal |
Emitted when state of modified flag changes.
◆ moveIncidenceTo
void CalendarView::moveIncidenceTo |
( |
Incidence * |
incmove, |
|
|
const TQDate & |
dt |
|
) |
| |
|
slot |
◆ msgItemDelete()
int CalendarView::msgItemDelete |
( |
Incidence * |
incidence | ) |
|
|
protected |
◆ navigatorBar()
NavigatorBar * CalendarView::navigatorBar |
( |
| ) |
const |
|
inline |
◆ newEvent [1/6]
void CalendarView::newEvent |
( |
| ) |
|
|
slot |
create new event without having a date hint.
Takes current date as default hint.
Definition at line 1153 of file calendarview.cpp.
◆ newEvent [2/6]
◆ newEvent [3/6]
void CalendarView::newEvent |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQDate & |
startDt |
|
) |
| |
|
slot |
create an editeventwin with supplied date/time, and if bool is true, make the event take all day.
Definition at line 1173 of file calendarview.cpp.
◆ newEvent [4/6]
void CalendarView::newEvent |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQDateTime & |
startDt |
|
) |
| |
|
slot |
◆ newEvent [5/6]
void CalendarView::newEvent |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQDateTime & |
startDt, |
|
|
const TQDateTime & |
EndDt, |
|
|
bool |
allDay = false |
|
) |
| |
|
slot |
◆ newEvent [6/6]
void CalendarView::newEvent |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQString & |
summary, |
|
|
const TQString & |
description = TQString() , |
|
|
const TQStringList & |
attachment = TQStringList() , |
|
|
const TQStringList & |
attendees = TQStringList() , |
|
|
const TQStringList & |
attachmentMimetypes = TQStringList() , |
|
|
bool |
inlineAttachment = false |
|
) |
| |
|
slot |
Create new Event from given summary, description, attachment list and attendees list.
Definition at line 1195 of file calendarview.cpp.
◆ newEventEditor()
KOEventEditor * CalendarView::newEventEditor |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQDateTime & |
startDtParam = TQDateTime() , |
|
|
const TQDateTime & |
endDtParam = TQDateTime() , |
|
|
bool |
allDayParam = false |
|
) |
| |
|
protected |
◆ newJournal [1/4]
void CalendarView::newJournal |
( |
| ) |
|
|
slot |
◆ newJournal [2/4]
void CalendarView::newJournal |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes |
|
) |
| |
|
slot |
◆ newJournal [3/4]
void CalendarView::newJournal |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ newJournal [4/4]
void CalendarView::newJournal |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQString & |
text, |
|
|
const TQDate & |
date = TQDate() |
|
) |
| |
|
slot |
◆ newSubTodo [1/2]
void CalendarView::newSubTodo |
( |
| ) |
|
|
slot |
◆ newSubTodo [2/2]
void CalendarView::newSubTodo |
( |
Todo * |
parentEvent | ) |
|
|
slot |
◆ newTodo [1/4]
void CalendarView::newTodo |
( |
| ) |
|
|
slot |
◆ newTodo [2/4]
◆ newTodo [3/4]
void CalendarView::newTodo |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ newTodo [4/4]
void CalendarView::newTodo |
( |
ResourceCalendar * |
res, |
|
|
const TQString & |
subRes, |
|
|
const TQString & |
summary, |
|
|
const TQString & |
description = TQString() , |
|
|
const TQStringList & |
attachments = TQStringList() , |
|
|
const TQStringList & |
attendees = TQStringList() , |
|
|
const TQStringList & |
attachmentMimetypes = TQStringList() , |
|
|
bool |
inlineAttachment = false , |
|
|
bool |
createTask = false |
|
) |
| |
|
slot |
◆ openAddressbook
void CalendarView::openAddressbook |
( |
| ) |
|
|
slot |
◆ openCalendar
bool CalendarView::openCalendar |
( |
const TQString & |
filename, |
|
|
bool |
merge = false |
|
) |
| |
|
slot |
Load calendar from file filename.
If merge is true, load calendar into existing one, if it is false, clear calendar, before loading. Return true, if calendar could be successfully loaded.
Definition at line 424 of file calendarview.cpp.
◆ organizerEventsSelected
void CalendarView::organizerEventsSelected |
( |
bool |
| ) |
|
|
signal |
Emitted when state of events selection has changed and user is organizer.
◆ pasteEnabled
void CalendarView::pasteEnabled |
( |
bool |
| ) |
|
|
signal |
Emitted, when clipboard content changes.
Parameter indicates if paste is possible or not.
◆ pasteIncidence
void CalendarView::pasteIncidence |
( |
| ) |
|
|
slot |
◆ print
void CalendarView::print |
( |
| ) |
|
|
slot |
Functions for printing, previewing a print, and setting up printing parameters.
Definition at line 1774 of file calendarview.cpp.
◆ processIncidenceSelection
void CalendarView::processIncidenceSelection |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ processMainViewSelection
void CalendarView::processMainViewSelection |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ processTodoListSelection
void CalendarView::processTodoListSelection |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
◆ purgeCompleted
void CalendarView::purgeCompleted |
( |
| ) |
|
|
slot |
◆ readFilterSettings
void CalendarView::readFilterSettings |
( |
TDEConfig * |
config | ) |
|
|
slot |
◆ readOnlyChanged
void CalendarView::readOnlyChanged |
( |
bool |
| ) |
|
|
signal |
Emitted when state of read-only flag changes.
◆ readSettings
void CalendarView::readSettings |
( |
| ) |
|
|
slot |
Using the TDEConfig associated with the tdeApp variable, read in the settings from the config file.
You have to call setCalendar before calling readSettings.
Definition at line 534 of file calendarview.cpp.
◆ resourcesChanged
void CalendarView::resourcesChanged |
( |
| ) |
|
|
slot |
◆ saveCalendar
bool CalendarView::saveCalendar |
( |
const TQString & |
filename | ) |
|
|
slot |
Save calendar data to file.
Return true if calendar could be successfully saved.
Definition at line 496 of file calendarview.cpp.
◆ schedule
◆ schedule_add
void CalendarView::schedule_add |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ schedule_cancel
void CalendarView::schedule_cancel |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ schedule_counter
void CalendarView::schedule_counter |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ schedule_declinecounter
void CalendarView::schedule_declinecounter |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ schedule_forward
void CalendarView::schedule_forward |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ schedule_publish
void CalendarView::schedule_publish |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ schedule_refresh
void CalendarView::schedule_refresh |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ schedule_reply
void CalendarView::schedule_reply |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ schedule_request
void CalendarView::schedule_request |
( |
Incidence * |
incidence = 0 | ) |
|
|
slot |
◆ selectedIncidence()
Incidence * CalendarView::selectedIncidence |
( |
| ) |
|
Return a pointer to the incidence selected in the current view.
If there is no selection, return the selected todo from the todo list on the left
Definition at line 2145 of file calendarview.cpp.
◆ selectedTodo()
Todo * CalendarView::selectedTodo |
( |
| ) |
|
|
protected |
◆ selectWeek
void CalendarView::selectWeek |
( |
const TQDate & |
date | ) |
|
|
slot |
The user clicked on a week number in the date navigator.
Lets select a week or a work week depending on the user's config option.
Definition at line 2785 of file calendarview.cpp.
◆ setCalendar()
void CalendarView::setCalendar |
( |
Calendar * |
cal | ) |
|
◆ setIncidenceChanger()
void CalendarView::setIncidenceChanger |
( |
IncidenceChangerBase * |
changer | ) |
|
|
protected |
◆ setModified
void CalendarView::setModified |
( |
bool |
modified = true | ) |
|
|
slot |
set the state of calendar.
Modified means "dirty", i.e. needing a save.
Definition at line 1748 of file calendarview.cpp.
◆ setReadOnly
void CalendarView::setReadOnly |
( |
bool |
readOnly = true | ) |
|
|
slot |
◆ showDate
void CalendarView::showDate |
( |
const TQDate & |
date | ) |
|
|
slot |
Show the given date without changing date selection length.
Definition at line 673 of file calendarview.cpp.
◆ showDateNavigator
void CalendarView::showDateNavigator |
( |
bool |
show | ) |
|
|
slot |
◆ showDates
void CalendarView::showDates |
( |
const KCal::DateList & |
, |
|
|
const TQDate & |
preferredMonth = TQDate() |
|
) |
| |
|
protectedslot |
Select a view or adapt the current view to display the specified dates.
preferredMonth is useful when the datelist crosses months, if valid, any month-like component should honour this
Definition at line 1947 of file calendarview.cpp.
◆ showErrorMessage
void CalendarView::showErrorMessage |
( |
const TQString & |
msg | ) |
|
|
slot |
◆ showEventViewer
void CalendarView::showEventViewer |
( |
bool |
show | ) |
|
|
slot |
◆ showIncidence [1/2]
void CalendarView::showIncidence |
( |
| ) |
|
|
slot |
◆ showIncidence [2/2]
void CalendarView::showIncidence |
( |
Incidence * |
incidence, |
|
|
const TQDate & |
date |
|
) |
| |
|
slot |
Create a read-only viewer dialog for the supplied incidence.
It calls the correct showXXX method
Definition at line 2196 of file calendarview.cpp.
◆ showIntro
void CalendarView::showIntro |
( |
| ) |
|
|
slot |
◆ showLeftFrame
void CalendarView::showLeftFrame |
( |
bool |
show = true | ) |
|
|
slot |
◆ showTodoView
void CalendarView::showTodoView |
( |
bool |
show | ) |
|
|
slot |
◆ showView()
◆ singleOccurrenceOrAll()
Incidence * CalendarView::singleOccurrenceOrAll |
( |
Incidence * |
inc, |
|
|
KOGlobals::OccurrenceAction |
userAction, |
|
|
KOGlobals::WhichOccurrences & |
chosenOption, |
|
|
const TQDate & |
itemDate = TQDate() , |
|
|
const bool |
commitToCalendar = false |
|
) |
| |
Asks the user if he wants to edit only this occurrence, all occurrences or only future occurrences, and then dissociates the incidence if needed.
- Parameters
-
inc | The recurring incidence that's about to be edited. |
userAction | Specifies what the user is doing with the occurrence, like cutting, pasting or editing, it only influences the strings in the message box. |
chosenOption | After calling this function, it will hold the user's chosen option. |
itemDate | The date of the selected view item |
commitToCalendar | If true, mChanger is called and the dissociation is saved to the calendar. If false, it's up to the caller to do that. |
- Returns
- A pointer to the incidence that should be edited which is 0 if the user pressed cancel, inc if the user pressed "All Occurrences", or points to a newly created incidence when dissociation is involved in which case the caller is responsible to add it to the calendar and freeing it.
Definition at line 2675 of file calendarview.cpp.
◆ slotAutoArchivingSettingsModified
void CalendarView::slotAutoArchivingSettingsModified |
( |
| ) |
|
|
inlineslot |
◆ startDate()
TQDate CalendarView::startDate |
( |
| ) |
|
|
virtual |
◆ startMultiModify
void CalendarView::startMultiModify |
( |
const TQString & |
text | ) |
|
|
slot |
◆ statusMessage
void CalendarView::statusMessage |
( |
const TQString & |
| ) |
|
|
signal |
Send status message, which can e.g.
be displayed in the status bar.
◆ takeOverCalendar
void CalendarView::takeOverCalendar |
( |
| ) |
|
|
slot |
◆ takeOverEvent
void CalendarView::takeOverEvent |
( |
| ) |
|
|
slot |
◆ todo_unsub
void CalendarView::todo_unsub |
( |
| ) |
|
|
slot |
◆ todoSelected
void CalendarView::todoSelected |
( |
bool |
| ) |
|
|
signal |
Emitted, when a todoitem is selected or deselected.
the connected slots enables/disables the corresponding menu items
◆ toggleAlarm
void CalendarView::toggleAlarm |
( |
Incidence * |
incidence | ) |
|
|
slot |
◆ toggleExpand
void CalendarView::toggleExpand |
( |
| ) |
|
|
slot |
◆ updateCategories
void CalendarView::updateCategories |
( |
| ) |
|
|
slot |
Calendar configuration was changed, so refresh categories list.
Definition at line 2560 of file calendarview.cpp.
◆ updateConfig
void CalendarView::updateConfig |
( |
const TQCString & |
receiver | ) |
|
|
slot |
options dialog made a changed to the configuration.
we catch this and notify all widgets which need to update their configuration.
Definition at line 706 of file calendarview.cpp.
◆ updateFilter
void CalendarView::updateFilter |
( |
| ) |
|
|
slot |
◆ updateUnmanagedViews
void CalendarView::updateUnmanagedViews |
( |
| ) |
|
|
slot |
◆ updateView [1/2]
void CalendarView::updateView |
( |
| ) |
|
|
slot |
◆ updateView [2/2]
void CalendarView::updateView |
( |
const TQDate & |
start, |
|
|
const TQDate & |
end |
|
) |
| |
|
slot |
◆ uploadFreeBusy
void CalendarView::uploadFreeBusy |
( |
| ) |
|
|
slot |
◆ viewManager()
◆ viewStack()
TQWidgetStack * CalendarView::viewStack |
( |
| ) |
const |
|
inline |
◆ viewSubResourceCalendar()
TQPair< ResourceCalendar *, TQString > CalendarView::viewSubResourceCalendar |
( |
| ) |
|
◆ warningChangeFailed()
void CalendarView::warningChangeFailed |
( |
Incidence * |
incidence | ) |
|
|
protected |
◆ writeFilterSettings
void CalendarView::writeFilterSettings |
( |
TDEConfig * |
config | ) |
|
|
slot |
◆ writeSettings
void CalendarView::writeSettings |
( |
| ) |
|
|
slot |
The documentation for this class was generated from the following files:
|