korganizer
KOTodoView Class Reference
#include <kotodoview.h>
Inheritance diagram for KOTodoView:

Detailed Description
This class provides a multi-column list view of todo events.multi-column list view of todo events.
Definition at line 112 of file kotodoview.h.
Public Types | |
| enum | { eSummaryColumn = 0, eRecurColumn = 1, ePriorityColumn = 2, ePercentColumn = 3, eDueDateColumn = 4, eCategoriesColumn = 5, eDescriptionColumn = 6 } |
| enum | { ePopupEdit = 1300, ePopupDelete = 1301, ePopupMoveTo = 1302, ePopupCopyTo = 1303, ePopupUnSubTodo = 1304, ePopupUnAllSubTodo = 1305 } |
Public Slots | |
| void | updateView () |
| void | updateConfig () |
| void | changeIncidenceDisplay (Incidence *, int) |
| void | showDates (const QDate &start, const QDate &end) |
| void | showIncidences (const Incidence::List &incidenceList) |
| void | clearSelection () |
| void | editItem (QListViewItem *item, const QPoint &, int) |
| void | editItem (QListViewItem *item) |
| void | showItem (QListViewItem *item, const QPoint &, int) |
| void | showItem (QListViewItem *item) |
| void | popupMenu (QListViewItem *item, const QPoint &, int) |
| void | newTodo () |
| void | newSubTodo () |
| void | showTodo () |
| void | editTodo () |
| void | printTodo () |
| void | deleteTodo () |
| void | setNewPercentage (KOTodoViewItem *item, int percentage) |
| void | setNewPriority (int) |
| void | setNewPercentage (int) |
| void | setNewDate (QDate) |
| void | copyTodoToDate (QDate) |
| void | changedCategories (int) |
| void | purgeCompleted () |
| void | itemStateChanged (QListViewItem *) |
| void | setNewPercentageDelayed (KOTodoViewItem *item, int percentage) |
| void | processDelayedNewPercentage () |
Signals | |
| void | unSubTodoSignal () |
| void | unAllSubTodoSignal () |
| void | purgeCompletedSignal () |
Public Member Functions | |
| KOTodoView (Calendar *cal, QWidget *parent=0, const char *name=0) | |
| ~KOTodoView () | |
| void | setCalendar (Calendar *) |
| Incidence::List | selectedIncidences () |
| Todo::List | selectedTodos () |
| DateList | selectedDates () |
| int | currentDateCount () |
| CalPrinterBase::PrintType | printType () |
| void | setDocumentId (const QString &) |
| void | saveLayout (KConfig *config, const QString &group) const |
| void | restoreLayout (KConfig *config, const QString &group) |
| QPopupMenu * | getCategoryPopupMenu (KOTodoViewItem *todoItem) |
| void | setIncidenceChanger (IncidenceChangerBase *changer) |
Protected Slots | |
| void | processSelectionChange () |
| void | addQuickTodo () |
| void | removeTodoItems () |
Friends | |
| class | KOTodoViewItem |
Member Function Documentation
| Incidence::List KOTodoView::selectedIncidences | ( | ) | [virtual] |
- Returns:
- a list of selected events.
Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 659 of file kotodoview.cpp.
| DateList KOTodoView::selectedDates | ( | ) | [inline, virtual] |
- Returns:
- a list of the dates of selected events.
Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 124 of file kotodoview.h.
| int KOTodoView::currentDateCount | ( | ) | [inline, virtual] |
Return number of shown dates.
TodoView does not show dates,
Implements KOrg::BaseView.
Definition at line 127 of file kotodoview.h.
| QPopupMenu * KOTodoView::getCategoryPopupMenu | ( | KOTodoViewItem * | todoItem | ) |
| void KOTodoView::setIncidenceChanger | ( | IncidenceChangerBase * | changer | ) | [virtual] |
Assign a new incidence change helper object.
Reimplemented from KOrg::BaseView.
Definition at line 1117 of file kotodoview.cpp.
| void KOTodoView::updateView | ( | ) | [virtual, slot] |
Updates the current display to reflect changes that may have happened in the calendar since the last display refresh.
Implements KOrg::BaseView.
Definition at line 530 of file kotodoview.cpp.
| void KOTodoView::updateConfig | ( | ) | [virtual, slot] |
Re-reads the KOrganizer configuration and picks up relevant changes which are applicable to the view.
Reimplemented from KOrg::BaseView.
Definition at line 654 of file kotodoview.cpp.
| void KOTodoView::changeIncidenceDisplay | ( | Incidence * | , | |
| int | ||||
| ) | [virtual, slot] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 681 of file kotodoview.cpp.
| void KOTodoView::showDates | ( | const QDate & | start, | |
| const QDate & | end | |||
| ) | [virtual, slot] |
Show incidences for the given date range.
The date range actually shown may be different from the requested range, depending on the particular requirements of the view.
- Parameters:
-
start Start of date range. end End of date range.
Implements KOrg::BaseView.
Definition at line 741 of file kotodoview.cpp.
| void KOTodoView::showIncidences | ( | const Incidence::List & | incidenceList | ) | [virtual, slot] |
Show given incidences.
Depending on the actual view it might not be possible to show all given events.
- Parameters:
-
incidenceList a list of incidences to show.
Implements KOrg::BaseView.
Definition at line 745 of file kotodoview.cpp.
| void KOTodoView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1091 of file kotodoview.cpp.
The documentation for this class was generated from the following files:

