korganizer

KOrg::MultiAgendaView Class Reference

#include <multiagendaview.h>

Inheritance diagram for KOrg::MultiAgendaView:

KOrg::AgendaView KOEventView KOrg::BaseView List of all members.

Detailed Description

Shows one agenda for every resource side-by-side.

Definition at line 40 of file multiagendaview.h.


Public Slots

void showDates (const QDate &start, const QDate &end)
void showIncidences (const Incidence::List &incidenceList)
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, QWidget *parent=0, const char *name=0)
 ~MultiAgendaView ()
Incidence::List selectedIncidences ()
DateList selectedDates ()
int currentDateCount ()
int maxDatesHint ()
bool eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay)
void setTypeAheadReceiver (QObject *o)

Protected Member Functions

void resizeEvent (QResizeEvent *ev)
bool eventFilter (QObject *obj, QEvent *event)

Member Function Documentation

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 231 of file multiagendaview.cpp.

DateList MultiAgendaView::selectedDates (  )  [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 240 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 249 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 284 of file multiagendaview.cpp.

bool MultiAgendaView::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 299 of file multiagendaview.cpp.

void MultiAgendaView::showDates ( const QDate &  start,
const QDate &  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 256 of file multiagendaview.cpp.

void MultiAgendaView::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 265 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 271 of file multiagendaview.cpp.

void MultiAgendaView::changeIncidenceDisplay ( Incidence incidence,
int  mode 
) [virtual, slot]

Updates the current display to reflect the changes to one particular incidence.

Implements KOrg::BaseView.

Definition at line 278 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 382 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 375 of file multiagendaview.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys