KDE PIM / Developers / API Docs / korganizer

KOMonthView Class Reference

The class KOMonthView represents the monthly view in KOrganizer. KOMonthview represents the montly view in KOrganizer. More...

#include <komonthview.h>

Inherits KOEventView.

List of all members.

Public Slots

Public Member Functions

Protected Slots

Protected Member Functions


Detailed Description

The class KOMonthView represents the monthly view in KOrganizer. KOMonthview represents the montly view in KOrganizer.

It holds several instances of the class MonthViewCell.

See also:
KOBaseView, KODayListView, MonthViewCell


Member Function Documentation

int KOMonthView::maxDatesHint  )  [virtual]
 

Returns maximum number of days supported by the komonthview.

Implements KOEventView.

int KOMonthView::currentDateCount  )  [virtual]
 

Returns number of currently shown dates.

Implements KOrg::BaseView.

Incidence::List KOMonthView::selectedIncidences  )  [virtual]
 

Returns the currently selected events.

Implements KOrg::BaseView.

DateList KOMonthView::selectedDates  )  [virtual]
 

Returns dates of the currently selected events.

Implements KOrg::BaseView.

bool KOMonthView::eventDurationHint QDateTime &  startDt,
QDateTime &  endDt,
bool &  allDay
[virtual]
 

Set the default start/end date/time for new events.

Return true if anything was changed

Reimplemented from KOrg::BaseView.

void KOMonthView::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.

void KOMonthView::updateConfig  )  [virtual, slot]
 

Re-reads the KOrganizer configuration and picks up relevant changes which are applicable to the view.

Reimplemented from KOrg::BaseView.

void KOMonthView::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.

void KOMonthView::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.

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

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

Implements KOrg::BaseView.

void KOMonthView::clearSelection  )  [virtual, slot]
 

Clear selection.

The incidenceSelected signal is not emitted.

Reimplemented from KOrg::BaseView.

MonthViewCell * KOMonthView::lookupCellByDate const QDate &  date  )  [protected]
 

Parameters:
date The date of the cell which should be returned.
Returns:
Pointer of monthcell with given date, otherwise 0

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