korganizer
KOAgendaView Class Reference
#include <koagendaview.h>
Inheritance diagram for KOAgendaView:

Detailed Description
KOAgendaView is the agenda-like view used to display events in a single one or multi-day view.
Definition at line 106 of file koagendaview.h.
Public Slots | |
| virtual void | updateView () |
| virtual void | updateConfig () |
| virtual void | showDates (const QDate &start, const QDate &end) |
| virtual void | showIncidences (const Incidence::List &incidenceList) |
| void | insertIncidence (Incidence *incidence, const QDate &curDate, int curCol=-1) |
| void | changeIncidenceDisplayAdded (Incidence *incidence) |
| void | changeIncidenceDisplay (Incidence *incidence, int mode) |
| void | clearSelection () |
| void | startDrag (Incidence *) |
| void | readSettings () |
| void | readSettings (KConfig *) |
| void | writeSettings (KConfig *) |
| void | setContentsPos (int y) |
| void | setExpandedButton (bool expanded) |
| void | finishTypeAhead () |
| void | slotTodoDropped (Todo *, const QPoint &, bool) |
| void | enableAgendaUpdate (bool enable) |
| void | setIncidenceChanger (KOrg::IncidenceChangerBase *changer) |
| void | zoomInHorizontally (const QDate &date=QDate()) |
| void | zoomOutHorizontally (const QDate &date=QDate()) |
| void | zoomInVertically () |
| void | zoomOutVertically () |
| void | zoomView (const int delta, const QPoint &pos, const Qt::Orientation orient=Qt::Horizontal) |
| void | clearTimeSpanSelection () |
| void | resourcesChanged () |
Signals | |
| void | toggleExpand () |
| void | zoomViewHorizontally (const QDate &, int count) |
| void | timeSpanSelectionChanged () |
Public Member Functions | |
| KOAgendaView (Calendar *cal, QWidget *parent=0, const char *name=0, bool isSideBySide=false) | |
| virtual | ~KOAgendaView () |
| virtual int | maxDatesHint () |
| virtual int | currentDateCount () |
| virtual Incidence::List | selectedIncidences () |
| virtual DateList | selectedDates () |
| virtual bool | eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay) |
| void | clearView () |
| KOrg::CalPrinterBase::PrintType | printType () |
| QDateTime | selectionStart () |
| QDateTime | selectionEnd () |
| bool | selectedIsAllDay () |
| void | deleteSelectedDateTime () |
| bool | selectedIsSingleCell () |
| void | setTypeAheadReceiver (QObject *) |
| void | setResource (KCal::ResourceCalendar *res, const QString &subResource=QString::null) |
| KOAgenda * | agenda () const |
| QSplitter * | splitter () const |
| void | calendarIncidenceAdded (Incidence *incidence) |
| void | calendarIncidenceChanged (Incidence *incidence) |
| void | calendarIncidenceRemoved (Incidence *incidence) |
Protected Slots | |
| void | updateEventDates (KOAgendaItem *item) |
| void | doUpdateItem () |
| void | updateEventIndicatorTop (int newY) |
| void | updateEventIndicatorBottom (int newY) |
| void | newTimeSpanSelected (const QPoint &start, const QPoint &end) |
| void | newTimeSpanSelectedAllDay (const QPoint &start, const QPoint &end) |
Protected Member Functions | |
| void | fillAgenda (const QDate &startDate) |
| void | fillAgenda () |
| void | connectAgenda (KOAgenda *agenda, QPopupMenu *popup, KOAgenda *otherAgenda) |
| void | createDayLabels () |
| void | setHolidayMasks () |
| void | removeIncidence (Incidence *) |
| void | updateEventIndicators () |
| void | updateTimeBarWidth () |
Member Function Documentation
| int KOAgendaView::maxDatesHint | ( | ) | [virtual] |
Returns maximum number of days supported by the koagendaview.
Implements KOEventView.
Definition at line 649 of file koagendaview.cpp.
| int KOAgendaView::currentDateCount | ( | ) | [virtual] |
Returns number of currently shown dates.
Implements KOrg::BaseView.
Definition at line 655 of file koagendaview.cpp.
| Incidence::List KOAgendaView::selectedIncidences | ( | ) | [virtual] |
returns the currently selected events
Implements KOrg::BaseView.
Definition at line 660 of file koagendaview.cpp.
| DateList KOAgendaView::selectedDates | ( | ) | [virtual] |
returns the currently selected events
Implements KOrg::BaseView.
Definition at line 674 of file koagendaview.cpp.
| bool KOAgendaView::eventDurationHint | ( | QDateTime & | startDt, | |
| QDateTime & | endDt, | |||
| bool & | allDay | |||
| ) | [virtual] |
return the default start/end date/time for new events
Reimplemented from KOrg::BaseView.
Definition at line 688 of file koagendaview.cpp.
| void KOAgendaView::clearView | ( | ) |
| QDateTime KOAgendaView::selectionStart | ( | ) | [inline] |
| QDateTime KOAgendaView::selectionEnd | ( | ) | [inline] |
| bool KOAgendaView::selectedIsAllDay | ( | ) | [inline] |
| void KOAgendaView::deleteSelectedDateTime | ( | ) |
| bool KOAgendaView::selectedIsSingleCell | ( | ) |
returns if only a single cell is selected, or a range of cells
Definition at line 713 of file koagendaview.cpp.
| void KOAgendaView::setResource | ( | KCal::ResourceCalendar * | res, | |
| const QString & | subResource = QString::null | |||
| ) |
| 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.
Definition at line 727 of file koagendaview.cpp.
| 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.
Definition at line 738 of file koagendaview.cpp.
| 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.
Definition at line 1042 of file koagendaview.cpp.
| 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.
Definition at line 1062 of file koagendaview.cpp.
| void KOAgendaView::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 1191 of file koagendaview.cpp.
| void KOAgendaView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1495 of file koagendaview.cpp.
| 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)
Definition at line 1383 of file koagendaview.cpp.
| void KOAgendaView::setIncidenceChanger | ( | KOrg::IncidenceChangerBase * | changer | ) | [virtual, slot] |
Assign a new incidence change helper object.
Reimplemented from KOrg::BaseView.
Definition at line 1561 of file koagendaview.cpp.
| void KOAgendaView::fillAgenda | ( | const QDate & | startDate | ) | [protected] |
| void KOAgendaView::fillAgenda | ( | ) | [protected] |
Fill agenda using the current set value for the start date.
Definition at line 1229 of file koagendaview.cpp.
| void KOAgendaView::createDayLabels | ( | ) | [protected] |
| void KOAgendaView::setHolidayMasks | ( | ) | [protected] |
Set the masks on the agenda widgets indicating, which days are holidays.
Definition at line 1462 of file koagendaview.cpp.
| void KOAgendaView::updateEventIndicators | ( | ) | [protected] |
Updates the event indicators after a certain incidence was modified or removed.
Definition at line 1551 of file koagendaview.cpp.
| void KOAgendaView::updateEventDates | ( | KOAgendaItem * | item | ) | [protected, slot] |
| void KOAgendaView::doUpdateItem | ( | ) | [protected, slot] |
update just the display of the given incidence, called by a single-shot timer
Definition at line 1032 of file koagendaview.cpp.
| void KOAgendaView::newTimeSpanSelected | ( | const QPoint & | start, | |
| const QPoint & | end | |||
| ) | [protected, slot] |
| void KOAgendaView::newTimeSpanSelectedAllDay | ( | const QPoint & | start, | |
| const QPoint & | end | |||
| ) | [protected, slot] |
Updates data for selected timespan for all day event.
Definition at line 1501 of file koagendaview.cpp.
The documentation for this class was generated from the following files:

