#include <datenavigator.h>
Inherits TQObject.
Public Slots | |
void | selectDates (const KCal::DateList &) |
void | selectDate (const TQDate &) |
void | selectDates (int count) |
void | selectDates (const TQDate &, int count, const TQDate &preferredMonth=TQDate()) |
void | selectWeek () |
void | selectWeek (const TQDate &, const TQDate &preferredMonth=TQDate()) |
void | selectWorkWeek () |
void | selectWorkWeek (const TQDate &) |
void | selectWeekByDay (int weekDay, const TQDate &, const TQDate &preferredMonth=TQDate()) |
void | selectToday () |
void | selectPreviousYear () |
void | selectPreviousMonth (const TQDate ¤tMonth=TQDate(), const TQDate &selectionLowerLimit=TQDate(), const TQDate &selectionUpperLimit=TQDate()) |
void | selectPreviousWeek () |
void | selectNextWeek () |
void | selectNextMonth (const TQDate ¤tMonth=TQDate(), const TQDate &selectionLowerLimit=TQDate(), const TQDate &selectionUpperLimit=TQDate()) |
void | selectNextYear () |
void | selectPrevious () |
void | selectNext () |
void | selectMonth (int month) |
void | selectYear (int year) |
Signals | |
void | datesSelected (const KCal::DateList &, const TQDate &preferredMonth) |
Public Member Functions | |
DateNavigator (TQObject *parent=0, const char *name=0) | |
KCal::DateList | selectedDates () |
int | datesCount () const |
Protected Member Functions | |
void | emitSelected (const TQDate &preferredMonth=TQDate()) |
Detailed Description
This class controls date navigation.
All requests to move the views to another date are sent to the DateNavigator. The DateNavigator processes the new selection of dates and emits the required signals for the views.
Definition at line 36 of file datenavigator.h.
Constructor & Destructor Documentation
◆ DateNavigator()
DateNavigator::DateNavigator | ( | TQObject * | parent = 0 , |
const char * | name = 0 |
||
) |
Definition at line 37 of file datenavigator.cpp.
◆ ~DateNavigator()
DateNavigator::~DateNavigator | ( | ) |
Definition at line 43 of file datenavigator.cpp.
Member Function Documentation
◆ datesCount()
int DateNavigator::datesCount | ( | ) | const |
Definition at line 52 of file datenavigator.cpp.
◆ emitSelected()
|
protected |
Definition at line 320 of file datenavigator.cpp.
◆ selectDate
|
slot |
Definition at line 66 of file datenavigator.cpp.
◆ selectDates [1/2]
|
slot |
Definition at line 86 of file datenavigator.cpp.
◆ selectDates [2/2]
|
slot |
Definition at line 81 of file datenavigator.cpp.
◆ selectedDates()
DateList DateNavigator::selectedDates | ( | ) |
Definition at line 47 of file datenavigator.cpp.
◆ selectMonth
|
slot |
Definition at line 288 of file datenavigator.cpp.
◆ selectNext
|
slot |
Definition at line 278 of file datenavigator.cpp.
◆ selectNextMonth
|
slot |
Definition at line 249 of file datenavigator.cpp.
◆ selectNextWeek
|
slot |
Definition at line 207 of file datenavigator.cpp.
◆ selectNextYear
|
slot |
Definition at line 259 of file datenavigator.cpp.
◆ selectPrevious
|
slot |
Definition at line 268 of file datenavigator.cpp.
◆ selectPreviousMonth
|
slot |
Definition at line 188 of file datenavigator.cpp.
◆ selectPreviousWeek
|
slot |
Definition at line 198 of file datenavigator.cpp.
◆ selectPreviousYear
|
slot |
Definition at line 179 of file datenavigator.cpp.
◆ selectToday
|
slot |
Definition at line 164 of file datenavigator.cpp.
◆ selectWeek [1/2]
|
slot |
Definition at line 115 of file datenavigator.cpp.
◆ selectWeek [2/2]
|
slot |
Definition at line 120 of file datenavigator.cpp.
◆ selectWeekByDay
|
slot |
Definition at line 104 of file datenavigator.cpp.
◆ selectWorkWeek [1/2]
|
slot |
Definition at line 135 of file datenavigator.cpp.
◆ selectWorkWeek [2/2]
|
slot |
Definition at line 140 of file datenavigator.cpp.
◆ selectYear
|
slot |
Definition at line 310 of file datenavigator.cpp.
The documentation for this class was generated from the following files: