24 #ifndef DATENAVIGATOR_H
25 #define DATENAVIGATOR_H
27 #include <libkcal/incidencebase.h>
44 KCal::DateList selectedDates();
46 int datesCount() const;
49 void selectDates( const KCal::DateList & );
50 void selectDate( const TQDate & );
52 void selectDates( int count );
53 void selectDates( const TQDate &, int count, const TQDate &preferredMonth = TQDate() );
56 void selectWeek( const TQDate &, const TQDate &preferredMonth = TQDate() );
58 void selectWorkWeek();
59 void selectWorkWeek( const TQDate & );
61 void selectWeekByDay( int weekDay, const TQDate &, const TQDate &preferredMonth = TQDate() );
65 void selectPreviousYear();
66 void selectPreviousMonth( const TQDate ¤tMonth = TQDate(),
67 const TQDate &selectionLowerLimit = TQDate(),
68 const TQDate &selectionUpperLimit = TQDate() );
69 void selectPreviousWeek();
70 void selectNextWeek();
71 void selectNextMonth( const TQDate ¤tMonth = TQDate(),
72 const TQDate &selectionLowerLimit = TQDate(),
73 const TQDate &selectionUpperLimit = TQDate() );
74 void selectNextYear();
76 void selectPrevious();
79 void selectMonth( int month );
80 void selectYear( int year );
86 void datesSelected( const KCal::DateList &, const TQDate &preferredMonth );
89 void emitSelected( const TQDate &preferredMonth = TQDate() );
98 void shiftMonth( const TQDate &date,
99 const TQDate &selectionLowerLimit,
100 const TQDate &selectionUpperLimit,
103 KCal::DateList mSelectedDates;
106 MAX_SELECTABLE_DAYS = 50
This class controls date navigation.
|