korganizer
KOMonthView Class Reference
The class KOMonthView represents the monthly view in KOrganizer. More...
#include <komonthview.h>

Public Slots | |
virtual void | updateView () |
virtual void | updateConfig () |
virtual void | showDates (const TQDate &start, const TQDate &end) |
virtual void | showIncidences (const Incidence::List &incidenceList, const TQDate &date) |
void | changeIncidenceDisplay (Incidence *, int) |
void | changeIncidenceDisplayAdded (Incidence *, MonthViewCell::CreateItemVisitor &) |
void | clearSelection () |
void | showEventContextMenu (Calendar *, Incidence *, const TQDate &) |
void | showGeneralContextMenu () |
void | setSelectedCell (MonthViewCell *) |
Public Member Functions | |
KOMonthView (Calendar *cal, TQWidget *parent=0, const char *name=0) | |
virtual int | maxDatesHint () |
virtual int | currentDateCount () |
virtual Incidence::List | selectedIncidences () |
virtual DateList | selectedIncidenceDates () |
virtual TQDateTime | selectionStart () |
virtual TQDateTime | selectionEnd () |
virtual bool | eventDurationHint (TQDateTime &startDt, TQDateTime &endDt, bool &allDay) |
Protected Slots | |
void | processSelectionChange () |
Protected Member Functions | |
void | resizeEvent (TQResizeEvent *) |
void | viewChanged () |
void | updateDayLabels () |
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 245 of file komonthview.h.
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 1109 of file komonthview.cpp.
void KOMonthView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1206 of file komonthview.cpp.
int KOMonthView::currentDateCount | ( | ) | [virtual] |
Returns number of currently shown dates.
Implements KOrg::BaseView.
Definition at line 889 of file komonthview.cpp.
bool KOMonthView::eventDurationHint | ( | TQDateTime & | , | |
TQDateTime & | , | |||
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 918 of file komonthview.cpp.
int KOMonthView::maxDatesHint | ( | ) | [virtual] |
Returns maximum number of days supported by the komonthview.
Implements KOEventView.
Definition at line 884 of file komonthview.cpp.
DateList KOMonthView::selectedIncidenceDates | ( | ) | [virtual] |
Returns dates of the currently selected events.
Implements KOrg::BaseView.
Definition at line 906 of file komonthview.cpp.
Incidence::List KOMonthView::selectedIncidences | ( | ) | [virtual] |
Returns the currently selected events.
Implements KOrg::BaseView.
Definition at line 894 of file komonthview.cpp.
TQDateTime KOMonthView::selectionEnd | ( | ) | [virtual] |
Returns the end of the selection, or an invalid TQDateTime if there is no selection or the view doesn't support selecting cells.
Reimplemented from KOrg::BaseView.
Definition at line 1021 of file komonthview.cpp.
TQDateTime KOMonthView::selectionStart | ( | ) | [virtual] |
Returns the start of the selection, or an invalid TQDateTime if there is no selection or the view doesn't support selecting cells.
Reimplemented from KOrg::BaseView.
Definition at line 1012 of file komonthview.cpp.
void KOMonthView::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 964 of file komonthview.cpp.
void KOMonthView::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 1027 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 929 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 1130 of file komonthview.cpp.
The documentation for this class was generated from the following files: