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 QWidget List of all members.

Public Slots

virtual void dayPassed (QDate)
void updateView ()
void flushView ()
void showDates (const QDate &start, const QDate &end)
void showIncidences (const Incidence::List &)
void changeIncidenceDisplay (Incidence *, int)

Public Member Functions

 KOJournalView (Calendar *calendar, QWidget *parent=0, const char *name=0)
virtual int currentDateCount ()
virtual Incidence::List selectedIncidences ()
DateList selectedDates ()
void appendJournal (Journal *journal, const QDate &dt)

Protected Member Functions

void clearEntries ()

Detailed Description

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

Author:
Cornelius Schumacher <schumacher@kde.org>, Reinhold Kainhofer <reinhold@kainhofer.com>
See also:
KOBaseView

Definition at line 40 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 84 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 94 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 50 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 111 of file kojournalview.cpp.

References KOrg::BaseView::calendar().

void KOJournalView::flushView  )  [virtual, slot]
 

Write all unsaved data back to calendar store.

Reimplemented from KOrg::BaseView.

Definition at line 122 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 131 of file kojournalview.cpp.

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

Referenced by showDates().

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

References showIncidences().

Referenced by showIncidences().

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

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

Implements KOrg::BaseView.

Definition at line 157 of file kojournalview.cpp.

References changeIncidenceDisplay().

Referenced by changeIncidenceDisplay().


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.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:19:33 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003