29 #ifndef KORG_DATENAVIGATOR_H
30 #define KORG_DATENAVIGATOR_H
32 #include <KCalCore/IncidenceBase>
53 void selectDates(
const KCalCore::DateList &,
const QDate &preferredMonth = QDate() );
57 void selectDates(
const QDate &,
int count,
const QDate &preferredMonth = QDate() );
60 void selectWeek(
const QDate &,
const QDate &preferredMonth = QDate() );
65 void selectWeekByDay(
int weekDay,
const QDate &,
const QDate &preferredMonth = QDate() );
71 const QDate &selectionLowerLimit = QDate(),
72 const QDate &selectionUpperLimit = QDate() );
76 const QDate &selectionLowerLimit = QDate(),
77 const QDate &selectionUpperLimit = QDate() );
90 void datesSelected(
const KCalCore::DateList &,
const QDate &preferredMonth );
93 void emitSelected(
const QDate &preferredMonth = QDate() );
102 void shiftMonth(
const QDate &date,
103 const QDate &selectionLowerLimit,
104 const QDate &selectionUpperLimit,
107 KCalCore::DateList mSelectedDates;
110 MAX_SELECTABLE_DAYS = 50
void selectDate(const QDate &)
void selectMonth(int month)
void selectPreviousYear()
void selectWeekByDay(int weekDay, const QDate &, const QDate &preferredMonth=QDate())
void selectDates(const KCalCore::DateList &, const QDate &preferredMonth=QDate())
KCalCore::DateList selectedDates()
void selectPreviousWeek()
void selectPreviousMonth(const QDate ¤tMonth=QDate(), const QDate &selectionLowerLimit=QDate(), const QDate &selectionUpperLimit=QDate())
void selectNextMonth(const QDate ¤tMonth=QDate(), const QDate &selectionLowerLimit=QDate(), const QDate &selectionUpperLimit=QDate())
DateNavigator(QObject *parent=0)
void emitSelected(const QDate &preferredMonth=QDate())
This class controls date navigation.
void datesSelected(const KCalCore::DateList &, const QDate &preferredMonth)
void selectYear(int year)