tdecore
KCalendarSystemFactory Class Reference
Factory class for calendar types. More...
#include <kcalendarsystemfactory.h>
Static Public Member Functions | |
static KCalendarSystem * | create (const TQString &calType=TQString::fromLatin1("gregorian"), const TDELocale *locale=0) |
static TQStringList | calendarSystems () |
Detailed Description
Factory class for calendar types.
- Since:
- 3.2
Definition at line 36 of file kcalendarsystemfactory.h.
Member Function Documentation
TQStringList KCalendarSystemFactory::calendarSystems | ( | ) | [static] |
Gets list of names of supported calendar systems.
- Returns:
- A TQStringList object
Definition at line 61 of file kcalendarsystemfactory.cpp.
KCalendarSystem * KCalendarSystemFactory::create | ( | const TQString & | calType = TQString::fromLatin1("gregorian") , |
|
const TDELocale * | locale = 0 | |||
) | [static] |
Gets specific calendar type number of days in previous month for a given date.
- Parameters:
-
calType string identification of the specific calendar type to be constructed locale Locale used for translations. Use the global locale when 0 is specified.
- Returns:
- a KCalendarSystem object
Definition at line 43 of file kcalendarsystemfactory.cpp.
The documentation for this class was generated from the following files: