korganizer

#include <kowhatsnextview.h>

Inheritance diagram for KOWhatsNextView:
KOrg::BaseView

Public Slots

virtual void updateView ()
 
virtual void showDates (const TQDate &start, const TQDate &end)
 
virtual void showIncidences (const Incidence::List &incidenceList, const TQDate &date)
 
void changeIncidenceDisplay (Incidence *, int)
 
- 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 &)
 

Public Member Functions

 KOWhatsNextView (Calendar *calendar, TQWidget *parent=0, const char *name=0)
 
virtual int currentDateCount ()
 
virtual Incidence::List selectedIncidences ()
 
DateList selectedIncidenceDates ()
 
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 ()
 
virtual bool isEventView ()
 

Protected Member Functions

void appendEvent (Incidence *, const TQDateTime &start=TQDateTime(), const TQDateTime &end=TQDateTime())
 
void appendTodo (Incidence *)
 

Additional Inherited Members

- 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 Attributes inherited from KOrg::BaseView
IncidenceChangerBase * mChanger
 

Detailed Description

This class provides a view of the next events and todos.

Definition at line 51 of file kowhatsnextview.h.

Member Function Documentation

◆ currentDateCount()

int KOWhatsNextView::currentDateCount ( )
virtual

Return number of currently shown dates.

A return value of 0 means no idea.

Implements KOrg::BaseView.

Definition at line 84 of file kowhatsnextview.cpp.

◆ selectedIncidenceDates()

DateList KOWhatsNextView::selectedIncidenceDates ( )
inlinevirtual
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 62 of file kowhatsnextview.h.

◆ selectedIncidences()

virtual Incidence::List KOWhatsNextView::selectedIncidences ( )
inlinevirtual
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 61 of file kowhatsnextview.h.

◆ supportsDateNavigation()

bool KOWhatsNextView::supportsDateNavigation ( ) const
inlinevirtual

Returns true if the view supports navigation through the date navigator ( selecting a date range, changing month, changing year, etc.

)

Reimplemented from KOrg::BaseView.

Definition at line 64 of file kowhatsnextview.h.


The documentation for this class was generated from the following files: