korganizer

KOJournalView Class Reference

This class provides a journal view. More...

#include <kojournalview.h>

Inheritance diagram for KOJournalView:
KOrg::BaseView

List of all members.

Public Slots

virtual void dayPassed (const TQDate &)
void updateView ()
void flushView ()
void showDates (const TQDate &start, const TQDate &end)
void showIncidences (const Incidence::List &incidenceList, const TQDate &date)
void changeIncidenceDisplay (Incidence *, int)
void setIncidenceChanger (IncidenceChangerBase *changer)
void newJournal ()

Signals

void flushEntries ()
void setIncidenceChangerSignal (IncidenceChangerBase *)
void journalEdited (Journal *)
void journalDeleted (Journal *)

Public Member Functions

 KOJournalView (Calendar *calendar, TQWidget *parent=0, const char *name=0)
virtual int currentDateCount ()
virtual Incidence::List selectedIncidences ()
DateList selectedIncidenceDates ()
void appendJournal (Journal *journal, const TQDate &dt)
CalPrinterBase::PrintType printType ()

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 41 of file kojournalview.h.


Member Function Documentation

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

int KOJournalView::currentDateCount (  )  [virtual]

Return number of currently shown dates.

A return value of 0 means no idea.

Implements KOrg::BaseView.

Definition at line 100 of file kojournalview.cpp.

void KOJournalView::flushView (  )  [virtual, slot]

Write all unsaved data back to calendar store.

Reimplemented from KOrg::BaseView.

Definition at line 135 of file kojournalview.cpp.

DateList KOJournalView::selectedIncidenceDates (  )  [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 52 of file kojournalview.h.

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

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

void KOJournalView::showIncidences ( const Incidence::List incidenceList,
const TQDate &  date 
) [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.
date is the TQDate on which the incidences are being shown.

Implements KOrg::BaseView.

Definition at line 164 of file kojournalview.cpp.

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


The documentation for this class was generated from the following files: