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.
- Author:
- Cornelius Schumacher <schumacher@kde.org>
Definition at line 113 of file kotodoview.h.
Public Types | |
| eSummaryColumn = 0 | |
| eRecurColumn = 1 | |
| ePriorityColumn = 2 | |
| ePercentColumn = 3 | |
| eDueDateColumn = 4 | |
| eCategoriesColumn = 5 | |
| eDescriptionColumn = 6 | |
| ePopupEdit = 1300 | |
| ePopupDelete = 1301 | |
| ePopupMoveTo = 1302 | |
| ePopupCopyTo = 1303 | |
| ePopupUnSubTodo = 1304 | |
| ePopupUnAllSubTodo = 1305 | |
| 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 | 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 | todoCompleted (Todo *) |
| 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 () |
| CalPrinter::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
| 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 663 of file kotodoview.cpp.
| void KOTodoView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1050 of file kotodoview.cpp.
| int KOTodoView::currentDateCount | ( | ) | [inline, virtual] |
Return number of shown dates.
TodoView does not show dates,
Implements KOrg::BaseView.
Definition at line 128 of file kotodoview.h.
| QPopupMenu * KOTodoView::getCategoryPopupMenu | ( | KOTodoViewItem * | todoItem | ) |
| 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 125 of file kotodoview.h.
| 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 641 of file kotodoview.cpp.
| void KOTodoView::setIncidenceChanger | ( | IncidenceChangerBase * | changer | ) | [virtual] |
Assign a new incidence change helper object.
Reimplemented from KOrg::BaseView.
Definition at line 1076 of file kotodoview.cpp.
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 723 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 727 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 636 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 525 of file kotodoview.cpp.
The documentation for this class was generated from the following files:

