#include <kotodoview.h>

Public Types | |
enum | { eSummaryColumn = 0, eRecurColumn = 1, ePriorityColumn = 2, ePercentColumn = 3, eDueDateColumn = 4, eCategoriesColumn = 5, eFolderColumn = 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 TQDate &start, const TQDate &end) |
void | showIncidences (const Incidence::List &incidenceList, const TQDate &date) |
void | clearSelection () |
void | editItem (TQListViewItem *item, const TQPoint &, int) |
void | editItem (TQListViewItem *item) |
void | showItem (TQListViewItem *item, const TQPoint &, int) |
void | showItem (TQListViewItem *item) |
void | popupMenu (TQListViewItem *item, const TQPoint &, 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 (TQDate) |
void | copyTodoToDate (TQDate) |
void | changedCategories (int) |
void | purgeCompleted () |
void | itemStateChanged (TQListViewItem *) |
void | setNewPercentageDelayed (KOTodoViewItem *item, int percentage) |
void | processDelayedNewPercentage () |
Signals | |
void | unSubTodoSignal () |
void | unAllSubTodoSignal () |
void | purgeCompletedSignal () |
void | configChanged () |
Public Member Functions | |
KOTodoView (Calendar *cal, TQWidget *parent=0, const char *name=0) | |
void | setCalendar (Calendar *) |
Incidence::List | selectedIncidences () |
Todo::List | selectedTodos () |
DateList | selectedIncidenceDates () |
int | currentDateCount () |
CalPrinterBase::PrintType | printType () |
void | setDocumentId (const TQString &) |
void | saveLayout (KConfig *config, const TQString &group) const |
void | restoreLayout (KConfig *config, const TQString &group) |
TQPopupMenu * | getCategoryPopupMenu (KOTodoViewItem *todoItem) |
void | setIncidenceChanger (IncidenceChangerBase *changer) |
Protected Slots | |
void | processSelectionChange () |
void | addQuickTodo () |
void | removeTodoItems () |
Friends | |
class | KOTodoViewItem |
Detailed Description
This class provides a multi-column list view of todo events.
multi-column list view of todo events.
Definition at line 113 of file kotodoview.h.
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 684 of file kotodoview.cpp.
void KOTodoView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1110 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 129 of file kotodoview.h.
TQPopupMenu * KOTodoView::getCategoryPopupMenu | ( | KOTodoViewItem * | todoItem | ) |
Create a popup menu to set categories.
Definition at line 1002 of file kotodoview.cpp.
DateList KOTodoView::selectedIncidenceDates | ( | ) | [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 126 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 662 of file kotodoview.cpp.
void KOTodoView::setIncidenceChanger | ( | IncidenceChangerBase * | changer | ) | [virtual] |
Assign a new incidence change helper object.
Reimplemented from KOrg::BaseView.
Definition at line 1135 of file kotodoview.cpp.
void KOTodoView::showDates | ( | const TQDate & | start, |
const TQDate & | 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 744 of file kotodoview.cpp.
void KOTodoView::showIncidences | ( | const Incidence::List & | incidenceList, |
const TQDate & | date | ||
) | [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. date is the TQDate on which the incidences are being shown.
Implements KOrg::BaseView.
Definition at line 748 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 657 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 533 of file kotodoview.cpp.
The documentation for this class was generated from the following files: