korganizer

#include <multiagendaview.h>

Inheritance diagram for KOrg::MultiAgendaView:
KOrg::AgendaView KOEventView KOrg::BaseView

Public Slots

void showDates (const TQDate &start, const TQDate &end)
 
void showIncidences (const Incidence::List &incidenceList, const TQDate &date)
 
void updateView ()
 
void changeIncidenceDisplay (Incidence *incidence, int mode)
 
void updateConfig ()
 
void setIncidenceChanger (IncidenceChangerBase *changer)
 
void finishTypeAhead ()
 
void show ()
 
void resourcesChanged ()
 
- Public Slots inherited from KOrg::AgendaView
virtual void finishTypeAhead ()=0
 
virtual void resourcesChanged ()=0
 
- 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 &)
 

Public Member Functions

 MultiAgendaView (Calendar *cal, CalendarView *calendarView, TQWidget *parent=0, const char *name=0)
 
KOAgendaViewselectedAgendaView ()
 
void deSelectAgendaView ()
 
Incidence::List selectedIncidences ()
 
DateList selectedIncidenceDates ()
 
int currentDateCount ()
 
int maxDatesHint ()
 
bool eventDurationHint (TQDateTime &startDt, TQDateTime &endDt, bool &allDay)
 
void setTypeAheadReceiver (TQObject *o)
 
- Public Member Functions inherited from KOrg::AgendaView
 AgendaView (Calendar *cal, TQWidget *parent=0, const char *name=0)
 
virtual void setTypeAheadReceiver (TQObject *)=0
 
- 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 Calendarcalendar ()
 
virtual void setResource (ResourceCalendar *res, const TQString &subResource)
 
ResourceCalendarresourceCalendar ()
 
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
 

Protected Member Functions

void resizeEvent (TQResizeEvent *ev)
 
bool eventFilter (TQObject *obj, TQEvent *event)
 

Additional Inherited Members

- 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

Shows one agenda for every resource side-by-side.

Definition at line 41 of file multiagendaview.h.

Constructor & Destructor Documentation

◆ MultiAgendaView()

MultiAgendaView::MultiAgendaView ( Calendar cal,
CalendarView calendarView,
TQWidget *  parent = 0,
const char *  name = 0 
)
explicit

Definition at line 43 of file multiagendaview.cpp.

◆ ~MultiAgendaView()

MultiAgendaView::~MultiAgendaView ( )

Definition at line 273 of file multiagendaview.cpp.

Member Function Documentation

◆ changeIncidenceDisplay

void MultiAgendaView::changeIncidenceDisplay ( Incidence incidence,
int  mode 
)
slot

Definition at line 324 of file multiagendaview.cpp.

◆ currentDateCount()

int MultiAgendaView::currentDateCount ( )
virtual

Return number of currently shown dates.

A return value of 0 means no idea.

Implements KOrg::BaseView.

Definition at line 295 of file multiagendaview.cpp.

◆ deSelectAgendaView()

void KOrg::MultiAgendaView::deSelectAgendaView ( )
inline

Definition at line 51 of file multiagendaview.h.

◆ eventDurationHint()

bool MultiAgendaView::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 345 of file multiagendaview.cpp.

◆ eventFilter()

bool MultiAgendaView::eventFilter ( TQObject *  obj,
TQEvent *  event 
)
protected

Definition at line 460 of file multiagendaview.cpp.

◆ finishTypeAhead

void MultiAgendaView::finishTypeAhead ( )
slot

Definition at line 369 of file multiagendaview.cpp.

◆ maxDatesHint()

int MultiAgendaView::maxDatesHint ( )
virtual

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 330 of file multiagendaview.cpp.

◆ resizeEvent()

void MultiAgendaView::resizeEvent ( TQResizeEvent *  ev)
protected

Definition at line 421 of file multiagendaview.cpp.

◆ resourcesChanged

void MultiAgendaView::resourcesChanged ( )
slot

Definition at line 575 of file multiagendaview.cpp.

◆ selectedAgendaView()

KOAgendaView * MultiAgendaView::selectedAgendaView ( )

Definition at line 488 of file multiagendaview.cpp.

◆ selectedIncidenceDates()

DateList MultiAgendaView::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 286 of file multiagendaview.cpp.

◆ selectedIncidences()

Incidence::List MultiAgendaView::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 277 of file multiagendaview.cpp.

◆ setIncidenceChanger

void MultiAgendaView::setIncidenceChanger ( IncidenceChangerBase *  changer)
slot

Definition at line 445 of file multiagendaview.cpp.

◆ setTypeAheadReceiver()

void MultiAgendaView::setTypeAheadReceiver ( TQObject *  o)
virtual

Implements KOrg::AgendaView.

Definition at line 363 of file multiagendaview.cpp.

◆ show

void MultiAgendaView::show ( )
slot

Definition at line 565 of file multiagendaview.cpp.

◆ showDates

void MultiAgendaView::showDates ( const TQDate &  start,
const TQDate &  end 
)
slot

Definition at line 302 of file multiagendaview.cpp.

◆ showIncidences

void MultiAgendaView::showIncidences ( const Incidence::List &  incidenceList,
const TQDate &  date 
)
slot

Definition at line 311 of file multiagendaview.cpp.

◆ updateConfig

void MultiAgendaView::updateConfig ( )
slot

Definition at line 452 of file multiagendaview.cpp.

◆ updateView

void MultiAgendaView::updateView ( )
slot

Definition at line 317 of file multiagendaview.cpp.


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