diff options
Diffstat (limited to 'doc/man/man3/tqtime.3qt')
-rw-r--r-- | doc/man/man3/tqtime.3qt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqtime.3qt b/doc/man/man3/tqtime.3qt index 606dddc6f..cc8c8790a 100644 --- a/doc/man/man3/tqtime.3qt +++ b/doc/man/man3/tqtime.3qt @@ -206,17 +206,17 @@ Returns the hour part (0..23) of the time. Examples: .)l aclock/aclock.cpp and tictac/tictac.cpp. .SH "bool TQTime::isNull () const" -Returns TRUE if the time is equal to 00:00:00.000; otherwise returns FALSE. A null time is valid. +Returns true if the time is equal to 00:00:00.000; otherwise returns false. A null time is valid. .PP See also isValid(). .SH "bool TQTime::isValid () const" -Returns TRUE if the time is valid; otherwise returns FALSE. The time 23:30:55.746 is valid, whereas 24:12:30 is invalid. +Returns true if the time is valid; otherwise returns false. The time 23:30:55.746 is valid, whereas 24:12:30 is invalid. .PP See also isNull(). .SH "bool TQTime::isValid ( int h, int m, int s, int ms = 0 )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Returns TRUE if the specified time is valid; otherwise returns FALSE. +Returns true if the specified time is valid; otherwise returns false. .PP The time is valid if \fIh\fR is in the range 0..23, \fIm\fR and \fIs\fR are in the range 0..59, and \fIms\fR is in the range 0..999. .PP @@ -224,9 +224,9 @@ Example: .PP .nf .br - TQTime::isValid(21, 10, 30); // returns TRUE + TQTime::isValid(21, 10, 30); // returns true .br - TQTime::isValid(22, 5, 62); // returns FALSE + TQTime::isValid(22, 5, 62); // returns false .br .fi .SH "int TQTime::minute () const" @@ -243,17 +243,17 @@ Because TQTime measures time within a day and there are 86400 seconds in a day, .PP See also secsTo(). .SH "bool TQTime::operator!= ( const TQTime & t ) const" -Returns TRUE if this time is different from \fIt\fR; otherwise returns FALSE. +Returns true if this time is different from \fIt\fR; otherwise returns false. .SH "bool TQTime::operator< ( const TQTime & t ) const" -Returns TRUE if this time is earlier than \fIt\fR; otherwise returns FALSE. +Returns true if this time is earlier than \fIt\fR; otherwise returns false. .SH "bool TQTime::operator<= ( const TQTime & t ) const" -Returns TRUE if this time is earlier than or equal to \fIt\fR; otherwise returns FALSE. +Returns true if this time is earlier than or equal to \fIt\fR; otherwise returns false. .SH "bool TQTime::operator== ( const TQTime & t ) const" -Returns TRUE if this time is equal to \fIt\fR; otherwise returns FALSE. +Returns true if this time is equal to \fIt\fR; otherwise returns false. .SH "bool TQTime::operator> ( const TQTime & t ) const" -Returns TRUE if this time is later than \fIt\fR; otherwise returns FALSE. +Returns true if this time is later than \fIt\fR; otherwise returns false. .SH "bool TQTime::operator>= ( const TQTime & t ) const" -Returns TRUE if this time is later than or equal to \fIt\fR; otherwise returns FALSE. +Returns true if this time is later than or equal to \fIt\fR; otherwise returns false. .SH "int TQTime::restart ()" Sets this time to the current time and returns the number of milliseconds that have elapsed since the last time start() or restart() was called. .PP @@ -279,7 +279,7 @@ Example: t12/cannon.cpp. .SH "bool TQTime::setHMS ( int h, int m, int s, int ms = 0 )" Sets the time to hour \fIh\fR, minute \fIm\fR, seconds \fIs\fR and milliseconds \fIms\fR. .PP -\fIh\fR must be in the range 0..23, \fIm\fR and \fIs\fR must be in the range 0..59, and \fIms\fR must be in the range 0..999. Returns TRUE if the set time is valid; otherwise returns FALSE. +\fIh\fR must be in the range 0..23, \fIm\fR and \fIs\fR must be in the range 0..59, and \fIms\fR must be in the range 0..999. Returns true if the set time is valid; otherwise returns false. .PP See also isValid(). .SH "void TQTime::start ()" |