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
|
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView. Definition at line 1191 of file koagendaview.cpp. |
|
Clear selection. The incidenceSelected signal is not emitted. Reimplemented from KOrg::BaseView. Definition at line 1495 of file koagendaview.cpp. |
|
Remove all events from view.
Definition at line 1352 of file koagendaview.cpp. |
|
Create labels for the selected dates.
Definition at line 563 of file koagendaview.cpp. |
|
Returns number of currently shown dates.
Implements KOrg::BaseView. Definition at line 655 of file koagendaview.cpp. |
|
make selected start/end invalid
Definition at line 1526 of file koagendaview.cpp. |
|
update just the display of the given incidence, called by a single-shot timer
Definition at line 1032 of file koagendaview.cpp. |
|
return the default start/end date/time for new events
Reimplemented from KOrg::BaseView. Definition at line 688 of file koagendaview.cpp. |
|
Fill agenda using the current set value for the start date.
Definition at line 1229 of file koagendaview.cpp. |
|
Fill agenda beginning with date startDate.
Definition at line 1224 of file koagendaview.cpp. |
|
Returns maximum number of days supported by the koagendaview.
Implements KOEventView. Definition at line 649 of file koagendaview.cpp. |
|
Updates data for selected timespan.
Definition at line 1507 of file koagendaview.cpp. |
|
Updates data for selected timespan for all day event.
Definition at line 1501 of file koagendaview.cpp. |
|
returns the currently selected events
Implements KOrg::BaseView. Definition at line 674 of file koagendaview.cpp. |
|
returns the currently selected events
Implements KOrg::BaseView. Definition at line 660 of file koagendaview.cpp. |
|
returns true if selection is for whole day
Definition at line 140 of file koagendaview.h. |
|
returns if only a single cell is selected, or a range of cells
Definition at line 713 of file koagendaview.cpp. |
|
end-datetime of selection
Definition at line 138 of file koagendaview.h. |
|
start-datetime of selection
Definition at line 136 of file koagendaview.h. |
|
Set the masks on the agenda widgets indicating, which days are holidays.
Definition at line 1462 of file koagendaview.cpp. |
|
Assign a new incidence change helper object.
Reimplemented from KOrg::BaseView. Definition at line 1561 of file koagendaview.cpp. |
|
Show only incidences from the given resource.
Definition at line 1575 of file koagendaview.cpp. |
|
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.
Implements KOrg::BaseView. Definition at line 1042 of file koagendaview.cpp. |
|
Show given incidences. Depending on the actual view it might not be possible to show all given events.
Implements KOrg::BaseView. Definition at line 1062 of file koagendaview.cpp. |
|
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. |
|
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. |
|
Update event belonging to agenda item.
Definition at line 779 of file koagendaview.cpp. |
|
Updates the event indicators after a certain incidence was modified or removed.
Definition at line 1551 of file koagendaview.cpp. |
|
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. |
The documentation for this class was generated from the following files: