19 #ifndef KORG_MULTIAGENDAVIEW_H_H
20 #define KORG_MULTIAGENDAVIEW_H_H
22 #include "agendaview.h"
23 #include "calendarview.h"
47 TQWidget *parent = 0,
const char *name = 0 );
51 void deSelectAgendaView() { mSelectedAgendaView = 0; }
59 void setTypeAheadReceiver( TQObject *o );
62 void showDates(
const TQDate &start,
const TQDate &end );
63 void showIncidences(
const Incidence::List &incidenceList,
const TQDate &date );
65 void changeIncidenceDisplay(
Incidence *incidence,
int mode );
68 void setIncidenceChanger( IncidenceChangerBase *changer );
70 void finishTypeAhead();
74 void resourcesChanged();
77 void resizeEvent( TQResizeEvent *ev );
78 bool eventFilter( TQObject *obj, TQEvent *event );
85 void resizeScrollView(
const TQSize &size );
86 void installSplitterEventFilter( TQSplitter *splitter );
89 void slotSelectionChanged();
90 void slotClearTimeSpanSelection();
91 void resizeSplitters();
92 void resizeSpacers(
int );
93 void setupScrollBar();
94 void zoomView(
const int delta,
const TQPoint &pos,
const TQt::Orientation ori );
95 void slotResizeScrollView();
99 TQValueList<KOAgendaView*> mAgendaViews;
100 TQValueList<TQWidget*> mAgendaWidgets;
102 TQScrollView *mScrollView;
103 TimeLabels *mTimeLabels;
104 TQSplitter *mLeftSplitter, *mRightSplitter;
105 TQSplitter *mLastMovedSplitter;
106 TQScrollBar *mScrollBar;
107 TQWidget *mLeftTopSpacer, *mRightTopSpacer;
108 TQWidget *mLeftBottomSpacer, *mRightBottomSpacer;
109 TQDate mStartDate, mEndDate;
111 bool mPendingChanges;
This is the main calendar widget.
KOAgendaView is the agenda-like view used to display events in a single one or multi-day view.
Base class for single/multi agenda views.
Shows one agenda for every resource side-by-side.
Incidence::List selectedIncidences()
int currentDateCount()
Return number of currently shown dates.
DateList selectedIncidenceDates()
int maxDatesHint()
provides a hint back to the caller on the maximum number of dates that the view supports.
bool eventDurationHint(TQDateTime &startDt, TQDateTime &endDt, bool &allDay)
Set the default start/end date/time for new events.