KCalendarSystem Class Reference
CalendarSystem abstract class, default derived kde gregorian class and factory class. More...
#include <kcalendarsystem.h>
Inheritance diagram for KCalendarSystem:

Public Member Functions | |
virtual QString | monthName (const QDate &date, bool shortName=false)=0 |
Gets specific calendar type month name for a given gregorian date. | |
virtual int | year (const QDate &date)=0 |
Gets specific calendar type year for a given gregorian date. | |
virtual int | month (const QDate &date)=0 |
Gets specific calendar type month for a given gregorian date. | |
virtual QString | formatDate (const QDate &date)=0 |
Gets specific calendar type day/month/year formatted text date for a given gregorian date. | |
virtual void | nextMonthDate (QDate &date)=0 |
Gets specific calendar type (its gregorian equivalent) next month date for a given gregorian date. | |
virtual void | previousMonthDate (QDate &date)=0 |
Gets specific calendar type (its gregorian equivalent) previous month date for a given gregorian date. | |
virtual void | nextYearDate (QDate &date)=0 |
Gets specific calendar type next year date (its gregorian equivalent) for a given gregorian date. | |
virtual void | previousYearDate (QDate &date)=0 |
Gets specific calendar type (its gregorian equivalent) previous year date for a given gregorian date. | |
virtual int | monthsInYear (int year)=0 |
Gets specific calendar type number of month for a given year. | |
virtual QString | monthName (int month)=0 |
Gets specific calendar type month name. | |
virtual void | constructDateInMonth (QDate &date, int month)=0 |
Given a month, construct a valid date in given date's year. | |
virtual void | constructDateInYear (QDate &date, int year)=0 |
Given a year, construct a valid date. | |
virtual QDate | parseDate (QString text)=0 |
Convert a formatted day/month/year string to a valid date object. | |
virtual QString | weekDayName (int col, bool shortName=false)=0 |
Gets specific calendar type week day name. | |
virtual int | dayOfTheWeek (const QDate &date)=0 |
Gets specific calendar type number of day of week number for a given date. | |
virtual int | numberOfDaysInMonth (const QDate &date)=0 |
Gets specific calendar type number of days in month for a given date. | |
virtual int | numberOfDaysPrevMonth (const QDate &date)=0 |
Gets specific calendar type number of days in previous month for a given date. | |
virtual int | maxValidYear ()=0 |
Gets the maximum year value supported by specific calendar type algorithms (QDate, 8000). | |
virtual int | day (const QDate &date)=0 |
Gets specific calendar type day number in month for a given date. | |
virtual int | numberOfDayInYear (const QDate &date)=0 |
Gets specific calendar type day number in year for a given date. | |
virtual int | weekDayOfPray ()=0 |
Gets the day of the week traditionaly associated with pray. | |
virtual void | printType ()=0 |
Just a small debugging test ;). |
Detailed Description
CalendarSystem abstract class, default derived kde gregorian class and factory class.Provides support for different calendar types for kde calendar widget and related stuff.
Derived classes must be created through FactoryCalendar class
: Carlos Moro <cfmoro@correo.uniovi.es> : GNU-GPL v.2
Definition at line 17 of file kcalendarsystem.h.
Member Function Documentation
|
Gets specific calendar type month name for a given gregorian date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. Referenced by KDateInternalMonthPicker::paintCell(), KDatePicker::setDate(), and KDatePicker::setFontSize(). |
|
Gets specific calendar type year for a given gregorian date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. Referenced by KDatePicker::setDate(). |
|
Gets specific calendar type month for a given gregorian date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets specific calendar type day/month/year formatted text date for a given gregorian date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. Referenced by KDatePicker::setDate(). |
|
Gets specific calendar type (its gregorian equivalent) next month date for a given gregorian date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets specific calendar type (its gregorian equivalent) previous month date for a given gregorian date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets specific calendar type next year date (its gregorian equivalent) for a given gregorian date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets specific calendar type (its gregorian equivalent) previous year date for a given gregorian date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets specific calendar type number of month for a given year.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets specific calendar type month name.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Given a month, construct a valid date in given date's year.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Given a year, construct a valid date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Convert a formatted day/month/year string to a valid date object.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets specific calendar type week day name.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. Referenced by KDateTable::paintCell(), and KDateTable::setFontSize(). |
|
Gets specific calendar type number of day of week number for a given date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. Referenced by KDateTable::setDate(). |
|
Gets specific calendar type number of days in month for a given date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. Referenced by KDateTable::setDate(). |
|
Gets specific calendar type number of days in previous month for a given date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. Referenced by KDateTable::setDate(). |
|
Gets the maximum year value supported by specific calendar type algorithms (QDate, 8000).
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets specific calendar type day number in month for a given date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. Referenced by KDateTable::contentsMousePressEvent(), and KDateTable::paintCell(). |
|
Gets specific calendar type day number in year for a given date.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Gets the day of the week traditionaly associated with pray.
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
|
Just a small debugging test ;).
Implemented in KCalendarSystemGregorian, and KCalendarSystemHijri. |
The documentation for this class was generated from the following file: