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 41 of file multiagendaview.h.


Public Slots

void showDates (const QDate &start, const QDate &end)
void showIncidences (const Incidence::List &incidenceList, const QDate &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, QWidget *parent=0, const char *name=0)
KOAgendaViewselectedAgendaView ()
void deSelectAgendaView ()
Incidence::List selectedIncidences ()
DateList selectedIncidenceDates ()
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 277 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.

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.

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.

bool MultiAgendaView::eventDurationHint ( QDateTime &  ,
QDateTime &  ,
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.

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

void MultiAgendaView::showIncidences ( const Incidence::List incidenceList,
const QDate &  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 QDate on which the incidences are being shown.

Implements KOrg::BaseView.

Definition at line 311 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.

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.

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::setIncidenceChanger ( IncidenceChangerBase *  changer  )  [virtual, slot]

Assign a new incidence change helper object.

Reimplemented from KOrg::BaseView.

Definition at line 445 of file multiagendaview.cpp.


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