korganizer Library API Documentation

KOProjectView Class Reference

This class provides a Gantt-like project view on todo itemsproject view on todo items. More...

#include <koprojectview.h>

Inheritance diagram for KOProjectView:

Inheritance graph
[legend]
Collaboration diagram for KOProjectView:

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 &)

Public Member Functions

 KOProjectView (Calendar *, QWidget *parent=0, const char *name=0)
Incidence::List selectedIncidences ()
DateList selectedDates ()
int currentDateCount ()
void readSettings ()
void writeSettings (KConfig *)

Protected Slots

void showModeMenu ()
void zoomIn ()
void zoomOut ()
void taskChanged (KGanttItem *task, KGanttItem::Change change)

Detailed Description

This class provides a Gantt-like project view on todo itemsproject view on todo items.

Author:
Cornelius Schumacher <schumacher@kde.org>

Definition at line 66 of file koprojectview.h.


Member Function Documentation

Incidence::List KOProjectView::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 256 of file koprojectview.cpp.

DateList KOProjectView::selectedDates  )  [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 268 of file koprojectview.cpp.

int KOProjectView::currentDateCount  )  [inline, virtual]
 

Return number of shown dates.

Implements KOrg::BaseView.

Definition at line 77 of file koprojectview.h.

void KOProjectView::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 142 of file koprojectview.cpp.

References KOrg::BaseView::calendar().

Referenced by changeIncidenceDisplay(), and showDates().

void KOProjectView::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 251 of file koprojectview.cpp.

void KOProjectView::changeIncidenceDisplay Incidence *  ,
int 
[virtual, slot]
 

Updates the current display to reflect the changes to one particular incidence.

Implements KOrg::BaseView.

Definition at line 274 of file koprojectview.cpp.

References updateView().

void KOProjectView::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 279 of file koprojectview.cpp.

References updateView().

void KOProjectView::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 284 of file koprojectview.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:25 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003