]> Git trees. - libqmvoc.git/commitdiff
TRUE => true
authorPino Toscano <pino@kde.org>
Tue, 20 Sep 2005 13:42:11 +0000 (13:42 +0000)
committerPino Toscano <pino@kde.org>
Tue, 20 Sep 2005 13:42:11 +0000 (13:42 +0000)
FALSE => false

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=462256

extdate/extdatetime.cpp

index 4a77146ac534302e66c4cf9ee946bd492cf26a42..4364945f863139c5a5ba013e77d7a9cb2a92e25b 100644 (file)
@@ -640,8 +640,8 @@ ExtDateTime::ExtDateTime( const ExtDate &date, const QTime &time )
 /*!
     \fn bool ExtDateTime::isNull() const
 
-    Returns TRUE if both the date and the time are null; otherwise
-    returns FALSE. A null datetime is invalid.
+    Returns true if both the date and the time are null; otherwise
+    returns false. A null datetime is invalid.
 
     \sa ExtDate::isNull(), QTime::isNull()
 */
@@ -649,8 +649,8 @@ ExtDateTime::ExtDateTime( const ExtDate &date, const QTime &time )
 /*!
     \fn bool ExtDateTime::isValid() const
 
-    Returns TRUE if both the date and the time are valid; otherwise
-    returns FALSE.
+    Returns true if both the date and the time are valid; otherwise
+    returns false.
 
     \sa ExtDate::isValid(), QTime::isValid()
 */
@@ -965,7 +965,7 @@ int ExtDateTime::secsTo( const ExtDateTime &dt ) const
 
 
 /*!
-    Returns TRUE if this datetime is equal to \a dt; otherwise returns FALSE.
+    Returns true if this datetime is equal to \a dt; otherwise returns false.
 
     \sa operator!=()
 */
@@ -976,8 +976,8 @@ bool ExtDateTime::operator==( const ExtDateTime &dt ) const
 }
 
 /*!
-    Returns TRUE if this datetime is different from \a dt; otherwise
-    returns FALSE.
+    Returns true if this datetime is different from \a dt; otherwise
+    returns false.
 
     \sa operator==()
 */
@@ -988,51 +988,51 @@ bool ExtDateTime::operator!=( const ExtDateTime &dt ) const
 }
 
 /*!
-    Returns TRUE if this datetime is earlier than \a dt; otherwise
-    returns FALSE.
+    Returns true if this datetime is earlier than \a dt; otherwise
+    returns false.
 */
 
 bool ExtDateTime::operator<( const ExtDateTime &dt ) const
 {
     if ( d < dt.d )
-       return TRUE;
-    return d == dt.d ? t < dt.t : FALSE;
+       return true;
+    return d == dt.d ? t < dt.t : false;
 }
 
 /*!
-    Returns TRUE if this datetime is earlier than or equal to \a dt;
-    otherwise returns FALSE.
+    Returns true if this datetime is earlier than or equal to \a dt;
+    otherwise returns false.
 */
 
 bool ExtDateTime::operator<=( const ExtDateTime &dt ) const
 {
     if ( d < dt.d )
-       return TRUE;
-    return d == dt.d ? t <= dt.t : FALSE;
+       return true;
+    return d == dt.d ? t <= dt.t : false;
 }
 
 /*!
-    Returns TRUE if this datetime is later than \a dt; otherwise
-    returns FALSE.
+    Returns true if this datetime is later than \a dt; otherwise
+    returns false.
 */
 
 bool ExtDateTime::operator>( const ExtDateTime &dt ) const
 {
     if ( d > dt.d )
-       return TRUE;
-    return d == dt.d ? t > dt.t : FALSE;
+       return true;
+    return d == dt.d ? t > dt.t : false;
 }
 
 /*!
-    Returns TRUE if this datetime is later than or equal to \a dt;
-    otherwise returns FALSE.
+    Returns true if this datetime is later than or equal to \a dt;
+    otherwise returns false.
 */
 
 bool ExtDateTime::operator>=( const ExtDateTime &dt ) const
 {
     if ( d > dt.d )
-       return TRUE;
-    return d == dt.d ? t >= dt.t : FALSE;
+       return true;
+    return d == dt.d ? t >= dt.t : false;
 }
 
 /*!