summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdatetime.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqdatetime.3qt')
-rw-r--r--doc/man/man3/tqdatetime.3qt30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/man/man3/tqdatetime.3qt b/doc/man/man3/tqdatetime.3qt
index 90722b419..62c2b6ed2 100644
--- a/doc/man/man3/tqdatetime.3qt
+++ b/doc/man/man3/tqdatetime.3qt
@@ -49,10 +49,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "void \fBsetTime_t\fR ( uint secsSince1Jan1970UTC )"
.br
.ti -1c
-.BI "void \fBsetTime_t\fR ( uint secsSince1Jan1970UTC, Qt::TimeSpec ts )"
+.BI "void \fBsetTime_t\fR ( uint secsSince1Jan1970UTC, TQt::TimeSpec ts )"
.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"
@@ -100,10 +100,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "QDateTime \fBcurrentDateTime\fR ()"
.br
.ti -1c
-.BI "QDateTime \fBcurrentDateTime\fR ( Qt::TimeSpec ts )"
+.BI "QDateTime \fBcurrentDateTime\fR ( TQt::TimeSpec ts )"
.br
.ti -1c
-.BI "QDateTime \fBfromString\fR ( const TQString & s, Qt::DateFormat f = Qt::TextDate )"
+.BI "QDateTime \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )"
.br
.in -1c
.SH RELATED FUNCTION DOCUMENTATION
@@ -158,10 +158,10 @@ Example: listviews/listviews.cpp.
Returns a QDateTime object containing a datetime \fInyears\fR years later than the datetime of this object (or earlier if \fInyears\fR is negative).
.PP
See also daysTo(), addDays(), addMonths(), and addSecs().
-.SH "QDateTime QDateTime::currentDateTime ( Qt::TimeSpec ts )\fC [static]\fR"
+.SH "QDateTime QDateTime::currentDateTime ( TQt::TimeSpec ts )\fC [static]\fR"
Returns the current datetime, as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime.
.PP
-See also QDate::currentDate(), QTime::currentTime(), and Qt::TimeSpec.
+See also QDate::currentDate(), QTime::currentTime(), and TQt::TimeSpec.
.PP
Example: listviews/listviews.cpp.
.SH "QDateTime QDateTime::currentDateTime ()\fC [static]\fR"
@@ -178,12 +178,12 @@ See also setDate() and time().
Returns the number of days from this datetime to \fIdt\fR (which is negative if \fIdt\fR is earlier than this datetime).
.PP
See also addDays() and secsTo().
-.SH "QDateTime QDateTime::fromString ( const TQString & s, Qt::DateFormat f = Qt::TextDate )\fC [static]\fR"
+.SH "QDateTime QDateTime::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR"
Returns the QDateTime represented by the string \fIs\fR, using the format \fIf\fR, or an invalid datetime if this is not possible.
.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 Note that Qt::LocalDate cannot be used here.
+\fBWarning:\fR Note that TQt::LocalDate cannot be used here.
.SH "bool QDateTime::isNull () const"
Returns TRUE if both the date and the time are null; otherwise returns FALSE. A null datetime is invalid.
.PP
@@ -232,8 +232,8 @@ See also date() and setTime().
Sets the time part of this datetime to \fItime\fR.
.PP
See also time() and setDate().
-.SH "void QDateTime::setTime_t ( uint secsSince1Jan1970UTC, Qt::TimeSpec ts )"
-Sets the date and time to \fIts\fR time (Qt::LocalTime or Qt::UTC) given the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC). On systems that do not support timezones this function will behave as if local time were UTC.
+.SH "void QDateTime::setTime_t ( uint secsSince1Jan1970UTC, TQt::TimeSpec ts )"
+Sets the date and time to \fIts\fR time (TQt::LocalTime or TQt::UTC) given the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC). On systems that do not support timezones this function will behave as if local time were UTC.
.PP
On Windows, only a subset of \fIsecsSince1Jan1970UTC\fR values are supported, as Windows starts counting from 1980.
.PP
@@ -281,16 +281,16 @@ l - l. Format Result dd.MM.yyyy 21.05.2001 ddd MMMM d yy Tue May 21 01 hh:mm:ss.
If the datetime is an invalid datetime, then TQString::null will be returned.
.PP
See also QDate::toString() and QTime::toString().
-.SH "TQString QDateTime::toString ( Qt::DateFormat f = Qt::TextDate ) const"
+.SH "TQString QDateTime::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 datetime as a string. The \fIf\fR parameter determines the format of the string.
.PP
-If \fIf\fR is Qt::TextDate, the string format is "Wed May 20 03:40:13 1998" (using QDate::shortDayName(), QDate::shortMonthName(), and QTime::toString() to generate the string, so the day and month names will have localized names).
+If \fIf\fR is TQt::TextDate, the string format is "Wed May 20 03:40:13 1998" (using QDate::shortDayName(), QDate::shortMonthName(), and QTime::toString() to generate the string, so the day and month names will have localized names).
.PP
-If \fIf\fR is Qt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates and times, which is YYYY-MM-DDTHH:MM:SS.
+If \fIf\fR is TQt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates and times, which is YYYY-MM-DDTHH:MM:SS.
.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 format \fIf\fR is invalid or the datetime is invalid, toString() returns a null string.
.PP