KDE PIM / Developers / API Docs / korganizer

KOAgendaView Class Reference

KOAgendaView is the agenda-like view used to display events in an one or multi-day view. More...

#include <koagendaview.h>

Inherits KOEventView.

List of all members.

Public Slots

Signals

Public Member Functions

Protected Slots

Protected Member Functions


Detailed Description

KOAgendaView is the agenda-like view used to display events in an one or multi-day view.


Member Function Documentation

int KOAgendaView::maxDatesHint  )  [virtual]
 

Returns maximum number of days supported by the koagendaview.

Implements KOEventView.

int KOAgendaView::currentDateCount  )  [virtual]
 

Returns number of currently shown dates.

Implements KOrg::BaseView.

Incidence::List KOAgendaView::selectedIncidences  )  [virtual]
 

returns the currently selected events

Implements KOrg::BaseView.

DateList KOAgendaView::selectedDates  )  [virtual]
 

returns the currently selected events

Implements KOrg::BaseView.

bool KOAgendaView::eventDurationHint QDateTime &  startDt,
QDateTime &  endDt,
bool &  allDay
[virtual]
 

return the default start/end date/time for new events

Reimplemented from KOrg::BaseView.

void KOAgendaView::clearView  ) 
 

Remove all events from view.

QDateTime KOAgendaView::selectionStart  )  [inline]
 

start-datetime of selection

QDateTime KOAgendaView::selectionEnd  )  [inline]
 

end-datetime of selection

bool KOAgendaView::selectedIsAllDay  )  [inline]
 

returns true if selection is for whole day

void KOAgendaView::deleteSelectedDateTime  ) 
 

make selected start/end invalid

bool KOAgendaView::selectedIsSingleCell  ) 
 

returns if only a single cell is selected, or a range of cells

void KOAgendaView::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.

void KOAgendaView::updateConfig  )  [virtual, slot]
 

Re-reads the KOrganizer configuration and picks up relevant changes which are applicable to the view.

Reimplemented from KOrg::BaseView.

void KOAgendaView::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.

void KOAgendaView::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.

void KOAgendaView::changeIncidenceDisplay Incidence *  incidence,
int  mode
[virtual, slot]
 

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

Implements KOrg::BaseView.

void KOAgendaView::clearSelection  )  [virtual, slot]
 

Clear selection.

The incidenceSelected signal is not emitted.

Reimplemented from KOrg::BaseView.

void KOAgendaView::slotTodoDropped Todo *  ,
const QPoint &  ,
bool 
[slot]
 

reschedule the todo to the given x- and y- coordinates.

Third parameter determines all-day (no time specified)

void KOAgendaView::setIncidenceChanger IncidenceChangerBase *  changer  )  [virtual, slot]
 

Assign a new incidence change helper object.

Reimplemented from KOrg::BaseView.

void KOAgendaView::fillAgenda const QDate &  startDate  )  [protected]
 

Fill agenda beginning with date startDate.

void KOAgendaView::fillAgenda  )  [protected]
 

Fill agenda using the current set value for the start date.

void KOAgendaView::createDayLabels  )  [protected]
 

Create labels for the selected dates.

void KOAgendaView::setHolidayMasks  )  [protected]
 

Set the masks on the agenda widgets indicating, which days are holidays.

void KOAgendaView::updateEventIndicators  )  [protected]
 

Updates the event indicators after a certain incidence was modified or removed.

void KOAgendaView::updateEventDates KOAgendaItem *  item  )  [protected, slot]
 

Update event belonging to agenda item.

void KOAgendaView::doUpdateItem  )  [protected, slot]
 

update just the display of the given incidence, called by a single-shot timer

void KOAgendaView::newTimeSpanSelected const QPoint &  start,
const QPoint &  end
[protected, slot]
 

Updates data for selected timespan.

void KOAgendaView::newTimeSpanSelectedAllDay const QPoint &  start,
const QPoint &  end
[protected, slot]
 

Updates data for selected timespan for all day event.


The documentation for this class was generated from the following files: