korganizer

KOTimelineView Class Reference

#include <kotimelineview.h>

Inheritance diagram for KOTimelineView:
KOEventView KOrg::BaseView

Public Member Functions

 KOTimelineView (Calendar *calendar, TQWidget *parent=0, const char *name=0)
 
virtual KCal::ListBase< KCal::IncidenceselectedIncidences ()
 
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 ()
 
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 Calendarcalendar ()
 
virtual void setResource (ResourceCalendar *res, const TQString &subResource)
 
ResourceCalendarresourceCalendar ()
 
TQString subResourceCalendar () const
 
virtual TQDateTime selectionStart ()
 
virtual TQDateTime selectionEnd ()
 
virtual CalPrinterBase::PrintType printType ()
 

Additional Inherited Members

- Public Slots inherited from KOEventView
void defaultAction (Incidence *)
 
- Public Slots inherited from KOrg::BaseView
virtual void showIncidences (const Incidence::List &incidenceList, const TQDate &date)=0
 
virtual void dayPassed (const TQDate &)
 
virtual void setIncidenceChanger (IncidenceChangerBase *changer)
 
virtual void flushView ()
 
virtual void updateConfig ()
 
virtual void clearSelection ()
 
- 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
IncidencemCurrentIncidence
 
- Protected Attributes inherited from KOrg::BaseView
IncidenceChangerBase * mChanger
 

Detailed Description

This class provides a view ....

Definition at line 44 of file kotimelineview.h.

Member Function Documentation

◆ changeIncidenceDisplay()

void KOTimelineView::changeIncidenceDisplay ( KCal::Incidence ,
int   
)
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()

int KOTimelineView::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()

bool KOTimelineView::eventDurationHint ( TQDateTime &  ,
TQDateTime &  ,
bool &   
)
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()

virtual int KOTimelineView::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()

KCal::DateList KOTimelineView::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()

KCal::ListBase< KCal::Incidence > KOTimelineView::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()

void KOTimelineView::showDates ( const TQDate &  start,
const TQDate &  end 
)
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
startStart of date range.
endEnd of date range.

Implements KOrg::BaseView.

Definition at line 103 of file kotimelineview.cpp.

◆ updateView()

void KOTimelineView::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: