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

Detailed Description
KOAgendaView is the agenda-like view used to display events in an one or multi-day view.
Definition at line 139 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 (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) |
Signals | |
void | toggleExpand () |
void | zoomViewHorizontally (const QDate &, int count) |
Public Member Functions | |
KOAgendaView (Calendar *cal, QWidget *parent=0, const char *name=0) | |
virtual int | maxDatesHint () |
virtual int | currentDateCount () |
virtual Incidence::List | selectedIncidences () |
virtual DateList | selectedDates () |
virtual bool | eventDurationHint (QDateTime &startDt, QDateTime &endDt, bool &allDay) |
void | clearView () |
CalPrinter::PrintType | printType () |
QDateTime | selectionStart () |
QDateTime | selectionEnd () |
bool | selectedIsAllDay () |
void | deleteSelectedDateTime () |
bool | selectedIsSingleCell () |
void | setTypeAheadReceiver (QObject *) |
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 1349 of file koagendaview.cpp. |
|
Clear selection. The incidenceSelected signal is not emitted. Reimplemented from KOrg::BaseView. Definition at line 1649 of file koagendaview.cpp. |
|
Remove all events from view.
Definition at line 1506 of file koagendaview.cpp. |
|
Create labels for the selected dates.
Definition at line 736 of file koagendaview.cpp. |
|
Returns number of currently shown dates.
Implements KOrg::BaseView. Definition at line 827 of file koagendaview.cpp. |
|
make selected start/end invalid
Definition at line 1680 of file koagendaview.cpp. |
|
update just the display of the given incidence, called by a single-shot timer
Definition at line 1196 of file koagendaview.cpp. |
|
return the default start/end date/time for new events
Reimplemented from KOrg::BaseView. Definition at line 860 of file koagendaview.cpp. |
|
Fill agenda using the current set value for the start date.
Definition at line 1387 of file koagendaview.cpp. |
|
Fill agenda beginning with date startDate.
Definition at line 1382 of file koagendaview.cpp. |
|
Returns maximum number of days supported by the koagendaview.
Implements KOEventView. Definition at line 821 of file koagendaview.cpp. |
|
Updates data for selected timespan.
Definition at line 1661 of file koagendaview.cpp. |
|
Updates data for selected timespan for all day event.
Definition at line 1655 of file koagendaview.cpp. |
|
returns the currently selected events
Implements KOrg::BaseView. Definition at line 846 of file koagendaview.cpp. |
|
returns the currently selected events
Implements KOrg::BaseView. Definition at line 832 of file koagendaview.cpp. |
|
returns true if selection is for whole day
Definition at line 173 of file koagendaview.h. |
|
returns if only a single cell is selected, or a range of cells
Definition at line 885 of file koagendaview.cpp. |
|
end-datetime of selection
Definition at line 171 of file koagendaview.h. |
|
start-datetime of selection
Definition at line 169 of file koagendaview.h. |
|
Set the masks on the agenda widgets indicating, which days are holidays.
Definition at line 1616 of file koagendaview.cpp. |
|
Assign a new incidence change helper object.
Reimplemented from KOrg::BaseView. Definition at line 1715 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 1206 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 1223 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 1537 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 910 of file koagendaview.cpp. |
|
Update event belonging to agenda item.
Definition at line 951 of file koagendaview.cpp. |
|
Updates the event indicators after a certain incidence was modified or removed.
Definition at line 1705 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 899 of file koagendaview.cpp. |
The documentation for this class was generated from the following files: