#include <kotimelineview.h>
Public Member Functions | |
| KOTimelineView (Calendar *calendar, TQWidget *parent=0, const char *name=0) | |
| virtual KCal::ListBase< KCal::Incidence > | selectedIncidences () |
| virtual KCal::DateList | selectedIncidenceDates () |
| virtual int | currentDateCount () |
| virtual void | showDates (const TQDate &, const TQDate &) |
| virtual void | showIncidences (const KCal::ListBase< KCal::Incidence > &, const TQDate &date) |
| virtual void | updateView () |
| virtual void | changeIncidenceDisplay (KCal::Incidence *incidence, int mode) |
| virtual int | maxDatesHint () |
| virtual bool | eventDurationHint (TQDateTime &startDt, TQDateTime &endDt, bool &allDay) |
Public Member Functions inherited from KOEventView | |
| KOEventView (Calendar *cal, TQWidget *parent=0, const char *name=0) | |
| virtual | ~KOEventView () |
| virtual int | maxDatesHint ()=0 |
| KOEventPopupMenu * | eventPopup () |
| TQPopupMenu * | newEventPopup () |
| bool | isEventView () |
| bool | supportsDateNavigation () const |
Public Member Functions inherited from KOrg::BaseView | |
| BaseView (Calendar *cal, TQWidget *parent=0, const char *name=0) | |
| virtual | ~BaseView () |
| void | setReadOnly (bool readonly) |
| bool | readOnly () |
| virtual void | setCalendar (Calendar *cal) |
| virtual Calendar * | calendar () |
| virtual void | setResource (ResourceCalendar *res, const TQString &subResource) |
| ResourceCalendar * | resourceCalendar () |
| TQString | subResourceCalendar () const |
| virtual Incidence::List | selectedIncidences ()=0 |
| virtual DateList | selectedIncidenceDates ()=0 |
| virtual TQDateTime | selectionStart () |
| virtual TQDateTime | selectionEnd () |
| virtual CalPrinterBase::PrintType | printType () |
| virtual int | currentDateCount ()=0 |
| virtual bool | isEventView () |
| virtual bool | supportsDateNavigation () const |
Additional Inherited Members | |
Public Slots inherited from KOEventView | |
| void | defaultAction (Incidence *) |
Public Slots inherited from KOrg::BaseView | |
| virtual void | showDates (const TQDate &start, const TQDate &end)=0 |
| virtual void | showIncidences (const Incidence::List &incidenceList, const TQDate &date)=0 |
| virtual void | updateView ()=0 |
| virtual void | dayPassed (const TQDate &) |
| virtual void | setIncidenceChanger (IncidenceChangerBase *changer) |
| virtual void | flushView () |
| virtual void | changeIncidenceDisplay (Incidence *, int)=0 |
| virtual void | updateConfig () |
| virtual void | clearSelection () |
| virtual bool | eventDurationHint (TQDateTime &, TQDateTime &, bool &) |
Signals inherited from KOEventView | |
| void | datesSelected (const DateList) |
| void | shiftedEvent (const TQDate &olddate, const TQDate &newdate) |
Signals inherited from KOrg::BaseView | |
| void | incidenceSelected (Incidence *, const TQDate &) |
| void | showIncidenceSignal (Incidence *, const TQDate &) |
| void | editIncidenceSignal (Incidence *, const TQDate &) |
| void | deleteIncidenceSignal (Incidence *) |
| void | cutIncidenceSignal (Incidence *) |
| void | copyIncidenceSignal (Incidence *) |
| void | pasteIncidenceSignal () |
| void | toggleAlarmSignal (Incidence *) |
| void | dissociateOccurrenceSignal (Incidence *, const TQDate &) |
| void | dissociateFutureOccurrenceSignal (Incidence *, const TQDate &) |
| void | startMultiModify (const TQString &) |
| void | endMultiModify () |
| void | newEventSignal (ResourceCalendar *res, const TQString &subResource) |
| void | newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &) |
| void | newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDateTime &) |
| void | newEventSignal (ResourceCalendar *res, const TQString &subResource, const TQDateTime &, const TQDateTime &) |
| void | newTodoSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &) |
| void | newSubTodoSignal (Todo *) |
| void | newJournalSignal (ResourceCalendar *res, const TQString &subResource, const TQDate &) |
Protected Slots inherited from KOEventView | |
| void | popupShow () |
| void | popupEdit () |
| void | popupDelete () |
| void | popupCut () |
| void | popupCopy () |
| virtual void | showNewEventPopup () |
Protected Attributes inherited from KOEventView | |
| Incidence * | mCurrentIncidence |
Protected Attributes inherited from KOrg::BaseView | |
| IncidenceChangerBase * | mChanger |
Detailed Description
This class provides a view ....
Definition at line 44 of file kotimelineview.h.
Constructor & Destructor Documentation
◆ KOTimelineView()
| KOTimelineView::KOTimelineView | ( | Calendar * | calendar, |
| TQWidget * | parent = 0, |
||
| const char * | name = 0 |
||
| ) |
Definition at line 44 of file kotimelineview.cpp.
◆ ~KOTimelineView()
| KOTimelineView::~KOTimelineView | ( | ) |
Definition at line 79 of file kotimelineview.cpp.
Member Function Documentation
◆ changeIncidenceDisplay()
|
virtual |
Updates the current display to reflect the changes to one particular incidence.
Implements KOrg::BaseView.
Definition at line 178 of file kotimelineview.cpp.
◆ currentDateCount()
|
virtual |
Return number of currently shown dates.
A return value of 0 means no idea.
Implements KOrg::BaseView.
Definition at line 97 of file kotimelineview.cpp.
◆ eventDurationHint()
|
virtual |
Set the default start/end date/time for new events.
Return true if anything was changed
Reimplemented from KOrg::BaseView.
Definition at line 225 of file kotimelineview.cpp.
◆ maxDatesHint()
|
inlinevirtual |
provides a hint back to the caller on the maximum number of dates that the view supports.
A return value of 0 means no maximum.
Implements KOEventView.
Definition at line 60 of file kotimelineview.h.
◆ selectedIncidenceDates()
|
virtual |
- Returns
- a list of the dates of selected events. Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 91 of file kotimelineview.cpp.
◆ selectedIncidences()
|
virtual |
- Returns
- a list of selected events. Most views can probably only select a single event at a time, but some may be able to select more than one.
Implements KOrg::BaseView.
Definition at line 85 of file kotimelineview.cpp.
◆ showDates()
|
virtual |
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 103 of file kotimelineview.cpp.
◆ showIncidences()
|
virtual |
Definition at line 166 of file kotimelineview.cpp.
◆ updateView()
|
virtual |
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 171 of file kotimelineview.cpp.
The documentation for this class was generated from the following files:

Public Member Functions inherited from