korganizer
KOrg::MultiAgendaView Class Reference
Shows one agenda for every resource side-by-side. More...
#include <multiagendaview.h>

Public Slots | |
void | showDates (const TQDate &start, const TQDate &end) |
void | showIncidences (const Incidence::List &incidenceList, const TQDate &date) |
void | updateView () |
void | changeIncidenceDisplay (Incidence *incidence, int mode) |
void | updateConfig () |
void | setIncidenceChanger (IncidenceChangerBase *changer) |
void | finishTypeAhead () |
void | show () |
void | resourcesChanged () |
Public Member Functions | |
MultiAgendaView (Calendar *cal, CalendarView *calendarView, TQWidget *parent=0, const char *name=0) | |
KOAgendaView * | selectedAgendaView () |
void | deSelectAgendaView () |
Incidence::List | selectedIncidences () |
DateList | selectedIncidenceDates () |
int | currentDateCount () |
int | maxDatesHint () |
bool | eventDurationHint (TQDateTime &startDt, TQDateTime &endDt, bool &allDay) |
void | setTypeAheadReceiver (TQObject *o) |
Protected Member Functions | |
void | resizeEvent (TQResizeEvent *ev) |
bool | eventFilter (TQObject *obj, TQEvent *event) |
Detailed Description
Shows one agenda for every resource side-by-side.
Definition at line 41 of file multiagendaview.h.
Member Function Documentation
void MultiAgendaView::changeIncidenceDisplay | ( | Incidence * | , | |
int | ||||
) | [virtual, slot] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 324 of file multiagendaview.cpp.
int MultiAgendaView::currentDateCount | ( | ) | [virtual] |
Return number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 295 of file multiagendaview.cpp.
bool MultiAgendaView::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 345 of file multiagendaview.cpp.
int MultiAgendaView::maxDatesHint | ( | ) | [virtual] |
provides a hint back to the caller on the maximum number of dates that the view supports.
A return value of 0 means no maximum.
Implements KOEventView.
Definition at line 330 of file multiagendaview.cpp.
DateList MultiAgendaView::selectedIncidenceDates | ( | ) | [virtual] |
- Returns:
- a list of the dates of selected events. Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 286 of file multiagendaview.cpp.
Incidence::List MultiAgendaView::selectedIncidences | ( | ) | [virtual] |
- Returns:
- a list of selected events. Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 277 of file multiagendaview.cpp.
void MultiAgendaView::setIncidenceChanger | ( | IncidenceChangerBase * | changer | ) | [virtual, slot] |
Assign a new incidence change helper object.
Reimplemented from KOrg::BaseView.
Definition at line 445 of file multiagendaview.cpp.
void MultiAgendaView::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 302 of file multiagendaview.cpp.
void MultiAgendaView::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 311 of file multiagendaview.cpp.
void MultiAgendaView::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 452 of file multiagendaview.cpp.
void MultiAgendaView::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 317 of file multiagendaview.cpp.
The documentation for this class was generated from the following files: