KOTodoView Class Reference
This class provides a multi-column list view of todo events. multi-column list view of todo events. More...
#include <kotodoview.h>
Inheritance diagram for KOTodoView:

Public Slots | |
void | updateView () |
void | updateConfig () |
void | changeEventDisplay (Event *, int) |
void | showDates (const QDate &start, const QDate &end) |
void | showEvents (const Event::List &) |
void | clearSelection () |
void | editItem (QListViewItem *item, const QPoint &, int) |
void | editItem (QListViewItem *item) |
void | showItem (QListViewItem *item, const QPoint &, int) |
void | popupMenu (QListViewItem *item, const QPoint &, int) |
void | newTodo () |
void | newSubTodo () |
void | showTodo () |
void | editTodo () |
void | deleteTodo () |
void | setNewPriority (int) |
void | setNewPercentage (int) |
void | changedCategories (int) |
void | purgeCompleted () |
void | itemClicked (QListViewItem *) |
void | itemStateChanged (QListViewItem *) |
void | modified (bool) |
void | setTodoModified (Todo *oldTodo, Todo *todo) |
Signals | |
void | newTodoSignal () |
void | newSubTodoSignal (Todo *) |
void | unSubTodoSignal () |
void | showTodoSignal (Todo *) |
void | editTodoSignal (Todo *) |
void | deleteTodoSignal (Todo *) |
void | todoModifiedSignal (Todo *, Todo *, int) |
void | todoChanged (Todo *, Todo *) |
void | todoAdded (Todo *) |
void | isModified (bool) |
void | purgeCompletedSignal () |
Public Methods | |
KOTodoView (Calendar *cal, QWidget *parent=0, const char *name=0) | |
~KOTodoView () | |
void | setCalendar (Calendar *) |
Incidence::List | selectedIncidences () |
Todo::List | selectedTodos () |
DateList | selectedDates () |
int | currentDateCount () |
void | printPreview (CalPrinter *calPrinter, const QDate &fd, const QDate &td) |
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) |
Protected Slots | |
void | processSelectionChange () |
void | addQuickTodo () |
Friends | |
class | KOTodoViewItem |
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 134 of file kotodoview.h.
Member Function Documentation
|
Implements KOrg::BaseView. Definition at line 588 of file kotodoview.cpp. References KOTodoViewItem::todo(). Referenced by CalendarView::selectedIncidence(). |
|
Implements KOrg::BaseView. Definition at line 146 of file kotodoview.h. |
|
Return number of shown dates. TodoView does not show dates, Implements KOrg::BaseView. Definition at line 149 of file kotodoview.h. |
|
Generate a print preview of this event view.
Reimplemented from KOrg::BaseView. Definition at line 624 of file kotodoview.cpp. References CalPrinter::preview(). |
|
Create a popup menu to set categories.
Definition at line 744 of file kotodoview.cpp. References QPopupMenu::insertItem(), QPopupMenu::setCheckable(), QPopupMenu::setItemChecked(), and KOTodoViewItem::todo(). |
|
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 498 of file kotodoview.cpp. References KOrg::BaseView::calendar(), QMap< Todo *, KOTodoViewItem * >::clear(), and QMap< Todo *, KOTodoViewItem * >::contains(). Referenced by changeEventDisplay(), CalendarView::changeEventDisplay(), and CalendarView::updateTodoViews(). |
|
Re-reads the KOrganizer configuration and picks up relevant changes which are applicable to the view.
Reimplemented from KOrg::BaseView. Definition at line 583 of file kotodoview.cpp. |
|
Updates the current display to reflect the changes to one particular event.
Implements KOrg::BaseView. Definition at line 610 of file kotodoview.cpp. References updateView(). |
|
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.
Implements KOrg::BaseView. Definition at line 615 of file kotodoview.cpp. |
|
Show given events. Depending on the actual view it might not be possible to show all given events.
Implements KOrg::BaseView. Definition at line 619 of file kotodoview.cpp. |
|
Clear selection. The incidenceSelected signal is not emitted. Reimplemented from KOrg::BaseView. Definition at line 848 of file kotodoview.cpp. |
The documentation for this class was generated from the following files: