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 243 of file komonthview.h.
Member Function Documentation
int KOMonthView::maxDatesHint | ( | ) | [virtual] |
Returns maximum number of days supported by the komonthview.
Implements KOEventView.
Definition at line 888 of file komonthview.cpp.
int KOMonthView::currentDateCount | ( | ) | [virtual] |
Returns number of currently shown dates.
Implements KOrg::BaseView.
Definition at line 893 of file komonthview.cpp.
Incidence::List KOMonthView::selectedIncidences | ( | ) | [virtual] |
Returns the currently selected events.
Implements KOrg::BaseView.
Definition at line 898 of file komonthview.cpp.
DateList KOMonthView::selectedIncidenceDates | ( | ) | [virtual] |
Returns dates of the currently selected events.
Implements KOrg::BaseView.
Definition at line 910 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 1016 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 1025 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 922 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 1134 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 933 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 968 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 1031 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 1113 of file komonthview.cpp.
void KOMonthView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1210 of file komonthview.cpp.
The documentation for this class was generated from the following files: