korganizer
KOAgendaView Class Reference
KOAgendaView is the agenda-like view used to display events in a single one or multi-day view. More...
#include <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 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 () |
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.
Member Function Documentation
void KOAgendaView::changeIncidenceDisplay | ( | Incidence * | , | |
int | ||||
) | [virtual, slot] |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 1198 of file koagendaview.cpp.
void KOAgendaView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1502 of file koagendaview.cpp.
void KOAgendaView::clearView | ( | ) |
void KOAgendaView::createDayLabels | ( | ) | [protected] |
int KOAgendaView::currentDateCount | ( | ) | [virtual] |
Returns number of currently shown dates.
Implements KOrg::BaseView.
Definition at line 656 of file koagendaview.cpp.
void KOAgendaView::deleteSelectedDateTime | ( | ) |
void KOAgendaView::doUpdateItem | ( | ) | [protected, slot] |
update just the display of the given incidence, called by a single-shot timer
Definition at line 1039 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 689 of file koagendaview.cpp.
void KOAgendaView::fillAgenda | ( | ) | [protected] |
Fill agenda using the current set value for the start date.
Definition at line 1236 of file koagendaview.cpp.
void KOAgendaView::fillAgenda | ( | const QDate & | startDate | ) | [protected] |
int KOAgendaView::maxDatesHint | ( | ) | [virtual] |
Returns maximum number of days supported by the koagendaview.
Implements KOEventView.
Definition at line 650 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 1508 of file koagendaview.cpp.
DateList KOAgendaView::selectedDates | ( | ) | [virtual] |
returns the currently selected events
Implements KOrg::BaseView.
Definition at line 675 of file koagendaview.cpp.
Incidence::List KOAgendaView::selectedIncidences | ( | ) | [virtual] |
returns the currently selected events
Implements KOrg::BaseView.
Definition at line 661 of file koagendaview.cpp.
bool KOAgendaView::selectedIsAllDay | ( | ) | [inline] |
bool KOAgendaView::selectedIsSingleCell | ( | ) |
returns if only a single cell is selected, or a range of cells
Definition at line 714 of file koagendaview.cpp.
QDateTime KOAgendaView::selectionEnd | ( | ) | [inline] |
QDateTime KOAgendaView::selectionStart | ( | ) | [inline] |
void KOAgendaView::setHolidayMasks | ( | ) | [protected] |
Set the masks on the agenda widgets indicating, which days are holidays.
Definition at line 1469 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 1568 of file koagendaview.cpp.
void KOAgendaView::setResource | ( | KCal::ResourceCalendar * | res, | |
const QString & | subResource = QString::null | |||
) |
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 1049 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 1069 of file koagendaview.cpp.
void KOAgendaView::slotTodoDropped | ( | Todo * | todo, | |
const QPoint & | gpos, | |||
bool | allDay | |||
) | [slot] |
reschedule the todo to the given x- and y- coordinates.
Third parameter determines all-day (no time specified)
Definition at line 1390 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 739 of file koagendaview.cpp.
void KOAgendaView::updateEventDates | ( | KOAgendaItem * | item | ) | [protected, slot] |
void KOAgendaView::updateEventIndicators | ( | ) | [protected] |
Updates the event indicators after a certain incidence was modified or removed.
Definition at line 1558 of file koagendaview.cpp.
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 728 of file koagendaview.cpp.
The documentation for this class was generated from the following files: