You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeedu/libtdeedu/extdate
Michele Calgaro f9eac0ec4d
Replace Q_OBJECT with TQ_OBJECT
1 year ago
..
CMakeLists.txt Renaming of files in preparation for code style tools. 4 years ago
Makefile.am Renaming of files in preparation for code style tools. 4 years ago
README Finish rename from prior commit 13 years ago
extcalendarsystem.cpp Rename additional header files to avoid conflicts with KDE4 12 years ago
extcalendarsystem.h Rename KLocale to enhance compatibility with KDE4 12 years ago
extcalendarsystemgregorian.cpp Rename additional header files to avoid conflicts with KDE4 12 years ago
extcalendarsystemgregorian.h Rename KLocale to enhance compatibility with KDE4 12 years ago
extdatepicker.cpp Removed additional code formatting modelines. 4 years ago
extdatepicker.h Replace Q_OBJECT with TQ_OBJECT 1 year ago
extdatetbl.cpp Removed additional code formatting modelines. 4 years ago
extdatetbl.h Replace Q_OBJECT with TQ_OBJECT 1 year ago
extdatetime.cpp Rename additional header files to avoid conflicts with KDE4 12 years ago
extdatetime.h Drop TQT_NO_COMPAT code 1 year ago
extdatetimeedit.cpp Rename additional global TQt functions 13 years ago
extdatetimeedit.h Replace Q_OBJECT with TQ_OBJECT 1 year ago
extdatewidget.cpp Rename KLocale to enhance compatibility with KDE4 12 years ago
extdatewidget.h Replace Q_OBJECT with TQ_OBJECT 1 year ago
main.cpp Rename common header files for consistency with class renaming 12 years ago
test_extdate.cpp Renaming of files in preparation for code style tools. 4 years ago
testwidget.cpp Fixed FTBFS with clang caused by implicit default constructor definition. 3 years ago
testwidget.h Replace Q_OBJECT with TQ_OBJECT 1 year ago

README

This libray consists of a group of classes which allow KDE 
applications to access calendar dates outside of the limited range 
of years imposed by QDate.

The QDate class has a limited range of valid dates.  It does not 
recognize dates prior to 14 Oct 1752 (when the Gregorian calendar 
was adopted by England), nor dates after 31 Dec 8000.  Both of these 
limits are arbitrary.


The following classes are included:

ExtDate:  Replaces QDate.  There is no restriction on what dates 
may be entered.  For dates in the valid QDate range, it is 
completely equivalent to QDate.

ExtDateTime:  Replaces QDateTime.  Consists of a QTime object
and an ExtDate object.

ExtCalendarSystem:  Replaces KCalendarSystem.  Uses ExtDate instead
of QDate.  ExtCalendarSystem is a baseclass foundation for several 
different calendar systems.  A "calendar system" is just a method for
hierarchically subdividing the long count of days known as the Julian 
Day Calendar into groups (weeks, months, years).  

ExtCalendarSystemGregorian:  Replaces KCalendarSystemGregorian.
The most common calendar system in modern western societies is the 
Gregorian calendar.  This class implements the Gregorian calendar 
as a ExtCalendarSystem.

ExtDateTable:  Replaces KDateTable.
ExtDatePicker:  Replaces KDatePicker.
ExtDateTimeEdit: Replaces QDateTimeEdit.
ExtDateWidget:  Replaces KDateWidget.

There are two test programs with the library, to verify the 
functionality of the ExtDate classes:

test_extdate tests the non-GUI functionality, comparing results of 
several operations with the results from QDate.

test_extdatepicker presents a KDatePicker widget and an ExtDatePicker
widget side-by-side.