korganizer Library API Documentation

KOJournalView Class Reference

This class provides a journal view. View for Journal components. More...

#include <kojournalview.h>

Inheritance diagram for KOJournalView:

KOrg::BaseView List of all members.

Public Slots

void updateView ()
void flushView ()
void showDates (const QDate &start, const QDate &end)
void showEvents (const Event::List &)
void changeEventDisplay (Event *, int)

Public Member Functions

 KOJournalView (Calendar *calendar, QWidget *parent=0, const char *name=0)
virtual int currentDateCount ()
virtual Incidence::List selectedIncidences ()
DateList selectedDates ()

Detailed Description

This class provides a journal view. View for Journal components.

Author:
Cornelius Schumacher <schumacher@kde.org>
See also:
KOBaseView

Definition at line 37 of file kojournalview.h.


Member Function Documentation

int KOJournalView::currentDateCount  )  [virtual]
 

Return number of currently shown dates.

A return value of 0 means no idea.

Implements KOrg::BaseView.

Definition at line 55 of file kojournalview.cpp.

Incidence::List KOJournalView::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 60 of file kojournalview.cpp.

DateList KOJournalView::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 47 of file kojournalview.h.

void KOJournalView::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 67 of file kojournalview.cpp.

Referenced by changeEventDisplay().

void KOJournalView::flushView  )  [virtual, slot]
 

Write all unsaved data back to calendar store.

Reimplemented from KOrg::BaseView.

Definition at line 72 of file kojournalview.cpp.

void KOJournalView::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 77 of file kojournalview.cpp.

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

Referenced by showDates().

void KOJournalView::showEvents const Event::List &   )  [virtual, slot]
 

Show given events.

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 90 of file kojournalview.cpp.

References showEvents().

Referenced by showEvents().

void KOJournalView::changeEventDisplay Event *  ,
int 
[virtual, slot]
 

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

Implements KOrg::BaseView.

Definition at line 96 of file kojournalview.cpp.

References changeEventDisplay(), and updateView().

Referenced by changeEventDisplay().


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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jul 28 23:58:14 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003