korganizer Library API Documentation

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:

Inheritance graph
[legend]
Collaboration diagram for KOTodoView:

Collaboration graph
[legend]
List of all members.

Public Slots

void updateView ()
void updateConfig ()
void changeIncidenceDisplay (Incidence *, int)
void showDates (const QDate &start, const QDate &end)
void showIncidences (const Incidence::List &)
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 setNewPriority (int)
void setNewPercentage (int)
void setNewDate (QDate)
void copyTodoToDate (QDate)
void changedCategories (int)
void purgeCompleted ()
void itemStateChanged (QListViewItem *)
void setTodoModified (Todo *oldTodo, Todo *todo)
void emitCompletedSignal (Todo *)

Signals

void unSubTodoSignal ()
void todoCompleted (Todo *)
void purgeCompletedSignal ()

Public Member Functions

 KOTodoView (Calendar *cal, QWidget *parent=0, const char *name=0)
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)
QPopupMenugetCategoryPopupMenu (KOTodoViewItem *todoItem)

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.

Author:
Cornelius Schumacher <schumacher@kde.org>

Definition at line 115 of file kotodoview.h.


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 630 of file kotodoview.cpp.

References KOTodoViewItem::todo().

Referenced by CalendarView::selectedIncidence().

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 127 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 130 of file kotodoview.h.

void KOTodoView::printPreview CalPrinter calPrinter,
const QDate fd,
const QDate td
[virtual]
 

Generate a print preview of this event view.

Parameters:
calPrinter Calendar printer object used for printing
fd from date
td to date

Reimplemented from KOrg::BaseView.

Definition at line 719 of file kotodoview.cpp.

References CalPrinter::preview().

QPopupMenu * KOTodoView::getCategoryPopupMenu KOTodoViewItem todoItem  ) 
 

Create a popup menu to set categories.

Definition at line 901 of file kotodoview.cpp.

References KOTodoViewItem::todo().

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 512 of file kotodoview.cpp.

References KOrg::BaseView::calendar().

Referenced by changeIncidenceDisplay().

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 625 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 652 of file kotodoview.cpp.

References KOrg::BaseView::calendar(), and updateView().

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 710 of file kotodoview.cpp.

void KOTodoView::showIncidences const Incidence::List &   )  [virtual, slot]
 

Show given incidences.

Depending on the actual view it might not be possible to show all given events.

Parameters:
eventList a list of events to show.

Implements KOrg::BaseView.

Definition at line 714 of file kotodoview.cpp.

void KOTodoView::clearSelection  )  [virtual, slot]
 

Clear selection.

The incidenceSelected signal is not emitted.

Reimplemented from KOrg::BaseView.

Definition at line 982 of file kotodoview.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu May 3 20:25:29 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003