korganizer

KOMonthView Class Reference

#include <komonthview.h>

Inheritance diagram for KOMonthView:

KOEventView KOrg::BaseView

List of all members.


Detailed Description

The class KOMonthView represents the monthly view in KOrganizer.

It holds several instances of the class MonthViewCell.

KOMonthview represents the montly view in KOrganizer.

See also:
KOBaseView, KODayListView, MonthViewCell

Definition at line 240 of file komonthview.h.


Public Slots

virtual void updateView ()
virtual void updateConfig ()
virtual void showDates (const QDate &start, const QDate &end)
virtual void showIncidences (const Incidence::List &incidenceList, const QDate &date)
void changeIncidenceDisplay (Incidence *, int)
void changeIncidenceDisplayAdded (Incidence *, MonthViewCell::CreateItemVisitor &)
void clearSelection ()
void showEventContextMenu (Calendar *, Incidence *, const QDate &)
void showGeneralContextMenu ()
void setSelectedCell (MonthViewCell *)

Public Member Functions

 KOMonthView (Calendar *cal, QWidget *parent=0, const char *name=0)
virtual int maxDatesHint ()
virtual int currentDateCount ()
virtual Incidence::List selectedIncidences ()
virtual DateList selectedDates ()
virtual bool eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay)

Protected Slots

void processSelectionChange ()

Protected Member Functions

void resizeEvent (QResizeEvent *)
void viewChanged ()
void updateDayLabels ()

Member Function Documentation

int KOMonthView::maxDatesHint (  )  [virtual]

Returns maximum number of days supported by the komonthview.

Implements KOEventView.

Definition at line 879 of file komonthview.cpp.

int KOMonthView::currentDateCount (  )  [virtual]

Returns number of currently shown dates.

Implements KOrg::BaseView.

Definition at line 884 of file komonthview.cpp.

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

Returns the currently selected events.

Implements KOrg::BaseView.

Definition at line 889 of file komonthview.cpp.

DateList KOMonthView::selectedDates (  )  [virtual]

Returns dates of the currently selected events.

Implements KOrg::BaseView.

Definition at line 901 of file komonthview.cpp.

bool KOMonthView::eventDurationHint ( QDateTime &  ,
QDateTime &  ,
bool &   
) [virtual]

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

Return true if anything was changed

Reimplemented from KOrg::BaseView.

Definition at line 913 of file komonthview.cpp.

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.

Definition at line 1104 of file komonthview.cpp.

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.

Definition at line 924 of file komonthview.cpp.

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.

Definition at line 957 of file komonthview.cpp.

void KOMonthView::showIncidences ( const Incidence::List incidenceList,
const QDate &  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 QDate on which the incidences are being shown.

Implements KOrg::BaseView.

Definition at line 1007 of file komonthview.cpp.

void KOMonthView::changeIncidenceDisplay ( Incidence ,
int   
) [virtual, slot]

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

Implements KOrg::BaseView.

Definition at line 1083 of file komonthview.cpp.

void KOMonthView::clearSelection (  )  [virtual, slot]

Clear selection.

The incidenceSelected signal is not emitted.

Reimplemented from KOrg::BaseView.

Definition at line 1180 of file komonthview.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys