KOMonthView Class Reference
The class KOMonthView represents the monthly view in KOrganizer. KOMonthview represents the montly view in KOrganizer. More...
#include <komonthview.h>
Inheritance diagram for KOMonthView:

Public Slots | |
virtual void | updateView () |
virtual void | updateConfig () |
virtual void | showDates (const QDate &start, const QDate &end) |
virtual void | showIncidences (const Incidence::List &) |
void | changeIncidenceDisplay (Incidence *, int) |
void | changeIncidenceDisplayAdded (Incidence *) |
void | clearSelection () |
void | showEventContextMenu (Incidence *, 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) |
virtual void | printPreview (CalPrinter *calPrinter, const QDate &, const QDate &) |
Protected Slots | |
void | processSelectionChange () |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *) |
void | viewChanged () |
void | updateDayLabels () |
MonthViewCell * | lookupCellByDate (const QDate &date) |
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 198 of file komonthview.h.
Member Function Documentation
|
Returns maximum number of days supported by the komonthview.
Implements KOEventView. Definition at line 684 of file komonthview.cpp. |
|
Returns number of currently shown dates.
Implements KOrg::BaseView. Definition at line 689 of file komonthview.cpp. |
|
Returns the currently selected events.
Implements KOrg::BaseView. Definition at line 694 of file komonthview.cpp. References MonthViewCell::selectedIncidence(). |
|
Returns dates of the currently selected events.
Implements KOrg::BaseView. Definition at line 706 of file komonthview.cpp. References MonthViewCell::selectedIncidenceDate(). |
|
Set the default start/end date/time for new events. Return true if anything was changed Reimplemented from KOrg::BaseView. Definition at line 718 of file komonthview.cpp. References MonthViewCell::date(), and eventDurationHint(). Referenced by eventDurationHint(). |
|
Generate a print preview of this event view.
Reimplemented from KOrg::BaseView. Definition at line 729 of file komonthview.cpp. References CalPrinter::preview(), and printPreview(). Referenced by printPreview(). |
|
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 867 of file komonthview.cpp. References KOrg::BaseView::calendar(). Referenced by showDates(). |
|
Re-reads the KOrganizer configuration and picks up relevant changes which are applicable to the view.
Reimplemented from KOrg::BaseView. Definition at line 737 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.
Implements KOrg::BaseView. Definition at line 770 of file komonthview.cpp. References showDates(), and updateView(). Referenced by showDates(). |
|
Show given incidences. Depending on the actual view it might not be possible to show all given events.
Implements KOrg::BaseView. Definition at line 808 of file komonthview.cpp. References showIncidences(). Referenced by showIncidences(). |
|
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView. Definition at line 847 of file komonthview.cpp. References changeIncidenceDisplay(). Referenced by changeIncidenceDisplay(). |
|
Clear selection. The incidenceSelected signal is not emitted. Reimplemented from KOrg::BaseView. Definition at line 943 of file komonthview.cpp. References MonthViewCell::deselect(). |
|
Definition at line 951 of file komonthview.cpp. References lookupCellByDate(). Referenced by lookupCellByDate(). |
The documentation for this class was generated from the following files: