25 #ifndef DATENAVIGATORCONTAINER_H 26 #define DATENAVIGATORCONTAINER_H 32 class DateNavigatorContainer: public TQFrame 37 DateNavigatorContainer( TQWidget *parent = 0, const char *name = 0 ); 38 ~DateNavigatorContainer(); 43 void setCalendar( Calendar * ); 45 TQSize minimumSizeHint() const; 46 TQSize sizeHint() const; 47 void setUpdateNeeded(); 54 void selectDates( const KCal::DateList &, const TQDate &preferredMonth = TQDate() ); 57 void updateDayMatrix(); 64 void datesSelected( const KCal::DateList & ); 65 void incidenceDropped( Incidence *, const TQDate & ); 66 void incidenceDroppedMove( Incidence *, const TQDate & ); 67 void weekClicked( const TQDate & ); 72 void nextYearClicked(); 73 void prevYearClicked(); 83 void prevMonthClicked( const TQDate ¤tMonth, 84 const TQDate &selectionLowerLimit, 85 const TQDate &selectionUpperLimit ); 87 void nextMonthClicked( const TQDate ¤tMonth, 88 const TQDate &selectionLowerLimit, 89 const TQDate &selectionUpperLimit ); 91 void monthSelected( int month ); 93 void yearSelected( int year ); 96 void resizeEvent( TQResizeEvent * ); 97 void setBaseDates( const TQDate &start ); 98 void connectNavigatorView( KDateNavigator *v ); 104 void resizeAllContents(); 114 TQPair<TQDate,TQDate> dateLimits( int monthOffset = 0 ); 116 KDateNavigator *mNavigatorView; 120 TQPtrList<KDateNavigator> mExtraViews; 122 int mHorizontalCount;
|