kstars
#include <genericcalendarwidget.h>

Public Slots | |
bool | setDate (int date_) |
bool | setDate (const QDate &date_) |
bool | setMonth (int month) |
bool | setYear (int year) |
Signals | |
void | dateChanged (const QDate &date_) |
Public Member Functions | |
GenericCalendarWidget (KDateTable &dateTable, QWidget *parent=0) | |
~GenericCalendarWidget () | |
const QDate & | date () const |
Detailed Description
Uses any KDateTable subclass for the date table and provides a calendar with options to choose a month / year.
- Version
- 1.0
- Note
- This supports only the Gregorian calendar system for simplicity.
- This shouldn't be the way to do things in the first place, but this is until KDatePicker starts supporting overridden KDateTables and the like
Definition at line 38 of file genericcalendarwidget.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Sets up the Ui, connects signals to slots etc.
Definition at line 25 of file genericcalendarwidget.cpp.
|
inline |
Empty destructor.
Definition at line 51 of file genericcalendarwidget.h.
Member Function Documentation
const QDate & GenericCalendarWidget::date | ( | ) | const |
Returns the selected date.
Definition at line 72 of file genericcalendarwidget.cpp.
|
signal |
Emitted when the date has been changed.
- Note
- Emitted by dateTableDateChanged() which subscribes to KDateTable::dateChanged()
|
slot |
Set the selected day of month.
- Parameters
-
date The date of the month to choose
Definition at line 159 of file genericcalendarwidget.cpp.
|
slot |
Set the selected date.
- Parameters
-
date The date to set
Definition at line 163 of file genericcalendarwidget.cpp.
|
slot |
Set the month.
- Parameters
-
month The month to choose
Definition at line 155 of file genericcalendarwidget.cpp.
|
slot |
Set the year.
- Parameters
-
year The year to choose
Definition at line 151 of file genericcalendarwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.