korganizer
KOMonthView Class Reference
#include <komonthview.h>
Inheritance diagram for KOMonthView:

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
Definition at line 235 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) |
| void | changeIncidenceDisplay (Incidence *, int) |
| void | changeIncidenceDisplayAdded (Incidence *, MonthViewCell::CreateItemVisitor &) |
| void | clearSelection () |
| void | showEventContextMenu (Incidence *, const QDate &) |
| void | showGeneralContextMenu () |
| void | setSelectedCell (MonthViewCell *) |
Public Member Functions | |
| KOMonthView (Calendar *cal, QWidget *parent=0, const char *name=0) | |
| ~KOMonthView () | |
| 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
| 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 995 of file komonthview.cpp.
| void KOMonthView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1084 of file komonthview.cpp.
| int KOMonthView::currentDateCount | ( | ) | [virtual] |
Returns number of currently shown dates.
Implements KOrg::BaseView.
Definition at line 796 of file komonthview.cpp.
| 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.
Definition at line 825 of file komonthview.cpp.
| int KOMonthView::maxDatesHint | ( | ) | [virtual] |
Returns maximum number of days supported by the komonthview.
Implements KOEventView.
Definition at line 791 of file komonthview.cpp.
| DateList KOMonthView::selectedDates | ( | ) | [virtual] |
Returns dates of the currently selected events.
Implements KOrg::BaseView.
Definition at line 813 of file komonthview.cpp.
| Incidence::List KOMonthView::selectedIncidences | ( | ) | [virtual] |
Returns the currently selected events.
Implements KOrg::BaseView.
Definition at line 801 of file komonthview.cpp.
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 869 of file komonthview.cpp.
| 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.
Definition at line 919 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 836 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 1016 of file komonthview.cpp.
The documentation for this class was generated from the following files:

