korganizer

#include <komonthview.h>

Inheritance diagram for KOMonthView:
KOEventView KOrg::BaseView

Public Slots

virtual void updateView ()
 
virtual void updateConfig ()
 
virtual void showDates (const TQDate &start, const TQDate &end)
 
virtual void showIncidences (const Incidence::List &incidenceList, const TQDate &date)
 
void changeIncidenceDisplay (Incidence *, int)
 
void changeIncidenceDisplayAdded (Incidence *, MonthViewCell::CreateItemVisitor &)
 
void clearSelection ()
 
void showEventContextMenu (Calendar *, Incidence *, const TQDate &)
 
void showGeneralContextMenu ()
 
void setSelectedCell (MonthViewCell *)
 
- 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

 KOMonthView (Calendar *cal, TQWidget *parent=0, const char *name=0)
 
virtual int maxDatesHint ()
 
virtual int currentDateCount ()
 
virtual Incidence::List selectedIncidences ()
 
virtual DateList selectedIncidenceDates ()
 
virtual TQDateTime selectionStart ()
 
virtual TQDateTime selectionEnd ()
 
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 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 Slots

void processSelectionChange ()
 
- Protected Slots inherited from KOEventView
void popupShow ()
 
void popupEdit ()
 
void popupDelete ()
 
void popupCut ()
 
void popupCopy ()
 
virtual void showNewEventPopup ()
 

Protected Member Functions

void resizeEvent (TQResizeEvent *)
 
void viewChanged ()
 
void updateDayLabels ()
 

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

Detailed Description

The class KOMonthView represents the monthly view in KOrganizer.

It holds several instances of the class MonthViewCell.

KOMonthview represents the montly view in KOrganizer.

See also
KOBaseView, KODayListView, MonthViewCell

Definition at line 245 of file komonthview.h.

Constructor & Destructor Documentation

◆ KOMonthView()

KOMonthView::KOMonthView ( Calendar cal,
TQWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 813 of file komonthview.cpp.

◆ ~KOMonthView()

KOMonthView::~KOMonthView ( )

Definition at line 879 of file komonthview.cpp.

Member Function Documentation

◆ changeIncidenceDisplay

void KOMonthView::changeIncidenceDisplay ( Incidence incidence,
int  action 
)
slot

Definition at line 1109 of file komonthview.cpp.

◆ changeIncidenceDisplayAdded

void KOMonthView::changeIncidenceDisplayAdded ( Incidence incidence,
MonthViewCell::CreateItemVisitor &  v 
)
slot

Definition at line 1074 of file komonthview.cpp.

◆ clearSelection

void KOMonthView::clearSelection ( )
slot

Definition at line 1206 of file komonthview.cpp.

◆ currentDateCount()

int KOMonthView::currentDateCount ( )
virtual

Returns number of currently shown dates.

Implements KOrg::BaseView.

Definition at line 889 of file komonthview.cpp.

◆ eventDurationHint()

bool KOMonthView::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 918 of file komonthview.cpp.

◆ maxDatesHint()

int KOMonthView::maxDatesHint ( )
virtual

Returns maximum number of days supported by the komonthview.

Implements KOEventView.

Definition at line 884 of file komonthview.cpp.

◆ processSelectionChange

void KOMonthView::processSelectionChange ( )
protectedslot

Definition at line 1192 of file komonthview.cpp.

◆ resizeEvent()

void KOMonthView::resizeEvent ( TQResizeEvent *  )
protected

Definition at line 1146 of file komonthview.cpp.

◆ selectedIncidenceDates()

DateList KOMonthView::selectedIncidenceDates ( )
virtual

Returns dates of the currently selected events.

Implements KOrg::BaseView.

Definition at line 906 of file komonthview.cpp.

◆ selectedIncidences()

Incidence::List KOMonthView::selectedIncidences ( )
virtual

Returns the currently selected events.

Implements KOrg::BaseView.

Definition at line 894 of file komonthview.cpp.

◆ selectionEnd()

TQDateTime KOMonthView::selectionEnd ( )
virtual

Returns the end of the selection, or an invalid TQDateTime if there is no selection or the view doesn't support selecting cells.

Reimplemented from KOrg::BaseView.

Definition at line 1021 of file komonthview.cpp.

◆ selectionStart()

TQDateTime KOMonthView::selectionStart ( )
virtual

Returns the start of the selection, or an invalid TQDateTime if there is no selection or the view doesn't support selecting cells.

Reimplemented from KOrg::BaseView.

Definition at line 1012 of file komonthview.cpp.

◆ setSelectedCell

void KOMonthView::setSelectedCell ( MonthViewCell cell)
slot

Definition at line 1175 of file komonthview.cpp.

◆ showDates

void KOMonthView::showDates ( const TQDate &  start,
const TQDate &  end 
)
virtualslot

Definition at line 964 of file komonthview.cpp.

◆ showEventContextMenu

void KOMonthView::showEventContextMenu ( Calendar cal,
Incidence incidence,
const TQDate &  qd 
)
slot

Definition at line 1165 of file komonthview.cpp.

◆ showGeneralContextMenu

void KOMonthView::showGeneralContextMenu ( )
slot

Definition at line 1170 of file komonthview.cpp.

◆ showIncidences

void KOMonthView::showIncidences ( const Incidence::List &  incidenceList,
const TQDate &  date 
)
virtualslot

Definition at line 1027 of file komonthview.cpp.

◆ updateConfig

void KOMonthView::updateConfig ( )
virtualslot

Definition at line 929 of file komonthview.cpp.

◆ updateDayLabels()

void KOMonthView::updateDayLabels ( )
protected

Definition at line 951 of file komonthview.cpp.

◆ updateView

void KOMonthView::updateView ( )
virtualslot

Definition at line 1130 of file komonthview.cpp.


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