korganizer
KOProjectView Class Reference
This class provides a Gantt-like project view on todo items. More...
#include <koprojectview.h>

Public Slots | |
void | updateView () |
void | updateConfig () |
void | changeIncidenceDisplay (Incidence *, int) |
void | showDates (const TQDate &start, const TQDate &end) |
void | showIncidences (const Incidence::List &incidenceList) |
Public Member Functions | |
KOProjectView (Calendar *, TQWidget *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 items.project view on todo items.
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.
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 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 279 of file koprojectview.cpp.
The documentation for this class was generated from the following files: