korganizer
KOProjectView Class Reference
#include <koprojectview.h>
Inheritance diagram for KOProjectView:

Detailed Description
This class provides a Gantt-like project view on todo itemsproject view on todo items.
Definition at line 66 of file koprojectview.h.
Public Slots | |
void | updateView () |
void | updateConfig () |
void | changeIncidenceDisplay (Incidence *, int) |
void | showDates (const QDate &start, const QDate &end) |
void | showIncidences (const Incidence::List &incidenceList) |
Public Member Functions | |
KOProjectView (Calendar *, QWidget *parent=0, const char *name=0) | |
~KOProjectView () | |
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) |
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.
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.
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.
void KOProjectView::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 284 of file koprojectview.cpp.
The documentation for this class was generated from the following files: