diff options
Diffstat (limited to 'doc/man/man3/tqdate.3qt')
-rw-r--r-- | doc/man/man3/tqdate.3qt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqdate.3qt b/doc/man/man3/tqdate.3qt index baebf2442..a844d040c 100644 --- a/doc/man/man3/tqdate.3qt +++ b/doc/man/man3/tqdate.3qt @@ -52,7 +52,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "int \fBweekNumber\fR ( int * yearNumber = 0 ) const" .br .ti -1c -.BI "TQString \fBtoString\fR ( Qt::DateFormat f = Qt::TextDate ) const" +.BI "TQString \fBtoString\fR ( TQt::DateFormat f = TQt::TextDate ) const" .br .ti -1c .BI "TQString \fBtoString\fR ( const TQString & format ) const" @@ -115,10 +115,10 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "QDate \fBcurrentDate\fR ()" .br .ti -1c -.BI "QDate \fBcurrentDate\fR ( Qt::TimeSpec ts )" +.BI "QDate \fBcurrentDate\fR ( TQt::TimeSpec ts )" .br .ti -1c -.BI "QDate \fBfromString\fR ( const TQString & s, Qt::DateFormat f = Qt::TextDate )" +.BI "QDate \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )" .br .ti -1c .BI "bool \fBisValid\fR ( int y, int m, int d )" @@ -181,10 +181,10 @@ See also addDays() and addYears(). Returns a QDate object containing a date \fInyears\fR later than the date of this object (or earlier if \fInyears\fR is negative). .PP See also addDays() and addMonths(). -.SH "QDate QDate::currentDate ( Qt::TimeSpec ts )\fC [static]\fR" +.SH "QDate QDate::currentDate ( TQt::TimeSpec ts )\fC [static]\fR" Returns the current date, as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime. .PP -See also QTime::currentTime(), QDateTime::currentDateTime(), and Qt::TimeSpec. +See also QTime::currentTime(), QDateTime::currentDateTime(), and TQt::TimeSpec. .PP Example: dclock/dclock.cpp. .SH "QDate QDate::currentDate ()\fC [static]\fR" @@ -237,12 +237,12 @@ Example: .fi .PP See also addDays(). -.SH "QDate QDate::fromString ( const TQString & s, Qt::DateFormat f = Qt::TextDate )\fC [static]\fR" +.SH "QDate QDate::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR" Returns the QDate represented by the string \fIs\fR, using the format \fIf\fR, or an invalid date if the string cannot be parsed. .PP -Note for Qt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings. +Note for TQt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings. .PP -\fBWarning:\fR Qt::LocalDate cannot be used here. +\fBWarning:\fR TQt::LocalDate cannot be used here. .SH "bool QDate::isNull () const" Returns TRUE if the date is null; otherwise returns FALSE. A null date is invalid. .PP @@ -361,16 +361,16 @@ l - l. Format Result dd.MM.yyyy 20.07.1969 ddd MMMM d yy If the date is an invalid date, then TQString::null will be returned. .PP See also QDateTime::toString() and QTime::toString(). -.SH "TQString QDate::toString ( Qt::DateFormat f = Qt::TextDate ) const" +.SH "TQString QDate::toString ( TQt::DateFormat f = TQt::TextDate ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the date as a string. The \fIf\fR parameter determines the format of the string. .PP -If \fIf\fR is Qt::TextDate, the string format is "Sat May 20 1995" (using the shortDayName() and shortMonthName() functions to generate the string, so the day and month names are locale specific). +If \fIf\fR is TQt::TextDate, the string format is "Sat May 20 1995" (using the shortDayName() and shortMonthName() functions to generate the string, so the day and month names are locale specific). .PP -If \fIf\fR is Qt::ISODate, the string format corresponds to the ISO 8601 specification for representations of dates, which is YYYY-MM-DD where YYYY is the year, MM is the month of the year (between 01 and 12), and DD is the day of the month between 01 and 31. +If \fIf\fR is TQt::ISODate, the string format corresponds to the ISO 8601 specification for representations of dates, which is YYYY-MM-DD where YYYY is the year, MM is the month of the year (between 01 and 12), and DD is the day of the month between 01 and 31. .PP -If \fIf\fR is Qt::LocalDate, the string format depends on the locale settings of the system. +If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings of the system. .PP If the date is an invalid date, then TQString::null will be returned. .PP |