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 TQDate &start, const TQDate &end) |
| virtual void | showIncidences (const Incidence::List &incidenceList, const TQDate &date) |
| void | insertIncidence (Incidence *incidence, const TQDate &curDate) |
| void | changeIncidenceDisplayAdded (Incidence *incidence) |
| void | changeIncidenceDisplay (Incidence *incidence, int mode) |
| void | clearSelection () |
| void | startDrag (Incidence *) |
| void | readSettings () |
| void | readSettings (TDEConfig *) |
| void | writeSettings (TDEConfig *) |
| void | setContentsPos (int y) |
| void | setExpandedButton (bool expanded) |
| void | finishTypeAhead () |
| void | slotTodoDropped (Todo *, const TQPoint &, bool) |
| void | enableAgendaUpdate (bool enable) |
| void | setIncidenceChanger (KOrg::IncidenceChangerBase *changer) |
| void | zoomInHorizontally (const TQDate &date=TQDate()) |
| void | zoomOutHorizontally (const TQDate &date=TQDate()) |
| void | zoomInVertically () |
| void | zoomOutVertically () |
| void | zoomView (const int delta, const TQPoint &pos, const Qt::Orientation orient=Qt::Horizontal) |
| void | clearTimeSpanSelection () |
| void | resourcesChanged () |
Signals | |
| void | toggleExpand () |
| void | zoomViewHorizontally (const TQDate &, int count) |
| void | timeSpanSelectionChanged () |
Public Member Functions | |
| KOAgendaView (Calendar *cal, CalendarView *calendarView, TQWidget *parent=0, const char *name=0, bool isSideBySide=false) | |
| virtual int | maxDatesHint () |
| virtual int | currentDateCount () |
| virtual Incidence::List | selectedIncidences () |
| virtual DateList | selectedIncidenceDates () |
| virtual bool | eventDurationHint (TQDateTime &startDt, TQDateTime &endDt, bool &allDay) |
| void | clearView () |
| KOrg::CalPrinterBase::PrintType | printType () |
| TQDateTime | selectionStart () |
| TQDateTime | selectionEnd () |
| bool | selectedIsAllDay () |
| void | deleteSelectedDateTime () |
| bool | selectedIsSingleCell () |
| void | setTypeAheadReceiver (TQObject *) |
| KOAgenda * | agenda () const |
| TQSplitter * | splitter () const |
| TQFrame * | dayLabels () const |
| void | calendarIncidenceAdded (Incidence *incidence) |
| void | calendarIncidenceChanged (Incidence *incidence) |
| void | calendarIncidenceDeleted (Incidence *incidence) |
Protected Slots | |
| void | updateEventDates (KOAgendaItem *item) |
| void | doUpdateItem () |
| void | updateEventIndicatorTop (int newY) |
| void | updateEventIndicatorBottom (int newY) |
| void | newTimeSpanSelected (const TQPoint &start, const TQPoint &end) |
| void | newTimeSpanSelectedAllDay (const TQPoint &start, const TQPoint &end) |
| void | updateDayLabelSizes () |
Protected Member Functions | |
| void | fillAgenda (const TQDate &startDate) |
| void | fillAgenda () |
| void | connectAgenda (KOAgenda *agenda, TQPopupMenu *popup, KOAgenda *otherAgenda) |
| void | createDayLabels (bool force) |
| void | setHolidayMasks () |
| void | removeIncidence (Incidence *) |
| void | updateEventIndicators () |
| void | updateTimeBarWidth () |
| virtual void | resizeEvent (TQResizeEvent *resizeEvent) |
Detailed Description
KOAgendaView is the agenda-like view used to display events in a single one or multi-day view.
Definition at line 108 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 1312 of file koagendaview.cpp.
| void KOAgendaView::clearSelection | ( | ) | [virtual, slot] |
Clear selection.
The incidenceSelected signal is not emitted.
Reimplemented from KOrg::BaseView.
Definition at line 1666 of file koagendaview.cpp.
| void KOAgendaView::clearView | ( | ) |
Remove all events from view.
Definition at line 1517 of file koagendaview.cpp.
| void KOAgendaView::createDayLabels | ( | bool | force | ) | [protected] |
Create labels for the selected dates.
Definition at line 599 of file koagendaview.cpp.
| int KOAgendaView::currentDateCount | ( | ) | [virtual] |
Returns number of currently shown dates.
Implements KOrg::BaseView.
Definition at line 699 of file koagendaview.cpp.
| void KOAgendaView::deleteSelectedDateTime | ( | ) |
make selected start/end invalid
Definition at line 1697 of file koagendaview.cpp.
| void KOAgendaView::doUpdateItem | ( | ) | [protected, slot] |
update just the display of the given incidence, called by a single-shot timer
Definition at line 1142 of file koagendaview.cpp.
| bool KOAgendaView::eventDurationHint | ( | TQDateTime & | startDt, | |
| TQDateTime & | endDt, | |||
| bool & | allDay | |||
| ) | [virtual] |
return the default start/end date/time for new events
Reimplemented from KOrg::BaseView.
Definition at line 732 of file koagendaview.cpp.
| void KOAgendaView::fillAgenda | ( | ) | [protected] |
Fill agenda using the current set value for the start date.
Definition at line 1359 of file koagendaview.cpp.
| void KOAgendaView::fillAgenda | ( | const TQDate & | startDate | ) | [protected] |
Fill agenda beginning with date startDate.
Definition at line 1354 of file koagendaview.cpp.
| int KOAgendaView::maxDatesHint | ( | ) | [virtual] |
Returns maximum number of days supported by the koagendaview.
Implements KOEventView.
Definition at line 693 of file koagendaview.cpp.
| void KOAgendaView::newTimeSpanSelected | ( | const TQPoint & | start, | |
| const TQPoint & | end | |||
| ) | [protected, slot] |
Updates data for selected timespan.
Definition at line 1678 of file koagendaview.cpp.
| void KOAgendaView::newTimeSpanSelectedAllDay | ( | const TQPoint & | start, | |
| const TQPoint & | end | |||
| ) | [protected, slot] |
Updates data for selected timespan for all day event.
Definition at line 1672 of file koagendaview.cpp.
| DateList KOAgendaView::selectedIncidenceDates | ( | ) | [virtual] |
returns the currently selected events
Implements KOrg::BaseView.
Definition at line 718 of file koagendaview.cpp.
| Incidence::List KOAgendaView::selectedIncidences | ( | ) | [virtual] |
returns the currently selected events
Implements KOrg::BaseView.
Definition at line 704 of file koagendaview.cpp.
| bool KOAgendaView::selectedIsAllDay | ( | ) | [inline] |
returns true if selection is for whole day
Definition at line 145 of file koagendaview.h.
| bool KOAgendaView::selectedIsSingleCell | ( | ) |
returns if only a single cell is selected, or a range of cells
Definition at line 757 of file koagendaview.cpp.
| TQDateTime KOAgendaView::selectionEnd | ( | ) | [inline, virtual] |
end-datetime of selection
Reimplemented from KOrg::BaseView.
Definition at line 143 of file koagendaview.h.
| TQDateTime KOAgendaView::selectionStart | ( | ) | [inline, virtual] |
start-datetime of selection
Reimplemented from KOrg::BaseView.
Definition at line 141 of file koagendaview.h.
| void KOAgendaView::setHolidayMasks | ( | ) | [protected] |
Set the masks on the agenda widgets indicating, which days are holidays.
Definition at line 1629 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 1732 of file koagendaview.cpp.
| void KOAgendaView::showDates | ( | const TQDate & | start, | |
| const TQDate & | 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 1152 of file koagendaview.cpp.
| void KOAgendaView::showIncidences | ( | const Incidence::List & | incidenceList, | |
| const TQDate & | date | |||
| ) | [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. date is the TQDate on which the incidences are being shown.
Implements KOrg::BaseView.
Definition at line 1174 of file koagendaview.cpp.
| void KOAgendaView::slotTodoDropped | ( | Todo * | todo, | |
| const TQPoint & | 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 1548 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 782 of file koagendaview.cpp.
| void KOAgendaView::updateEventDates | ( | KOAgendaItem * | item | ) | [protected, slot] |
Update event belonging to agenda item.
Definition at line 846 of file koagendaview.cpp.
| void KOAgendaView::updateEventIndicators | ( | ) | [protected] |
Updates the event indicators after a certain incidence was modified or removed.
Definition at line 1722 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 771 of file koagendaview.cpp.
The documentation for this class was generated from the following files:
