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::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 ()
 
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 *)
 
- Signals inherited from KOEventView
void datesSelected (const DateList)
 
void shiftedEvent (const TQDate &olddate, const TQDate &newdate)
 
- Protected Slots inherited from KOEventView
void popupShow ()
 
void popupEdit ()
 
void popupDelete ()
 
void popupCut ()
 
void popupCopy ()
 
virtual void showNewEventPopup ()
 
- Protected Attributes inherited from KOEventView
IncidencemCurrentIncidence
 

Detailed Description

This class provides a view ....

Definition at line 44 of file kotimelineview.h.

Member Function Documentation

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.

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.

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.

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.

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.

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.

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.

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: