--- tqt/secqinternal.cpp.orig
+++ tqt/secqinternal.cpp
@@ -50,9 +50,9 @@ static TQCleanupHandler<TQPixmap> qdb_pixmap_cleanup;
 static TQCleanupHandler<TQPixmap> qdb_pixmap_cleanup;
 
 #ifdef Q_WS_MACX
-bool SecTQSharedDoubleBuffer::dblbufr = FALSE;
+bool SecTQSharedDoubleBuffer::dblbufr = false;
 #else
-bool SecTQSharedDoubleBuffer::dblbufr = TRUE;
+bool SecTQSharedDoubleBuffer::dblbufr = true;
 #endif
 
 
@@ -162,7 +162,7 @@ bool SecTQSharedDoubleBufferCleaner::event( TQEvent *e
 bool SecTQSharedDoubleBufferCleaner::event( TQEvent *e )
 {
     if ( e->type() != TQEvent::Timer )
-	return FALSE;
+	return false;
 
     TQTimerEvent *event = (TQTimerEvent *) e;
     if ( event->timerId() == timer_id ) {
@@ -172,11 +172,11 @@ bool SecTQSharedDoubleBufferCleaner::event( TQEvent *e
 #ifdef QT_CHECK_STATE
     else {
 	tqWarning( "SecTQSharedDoubleBufferCleaner::event: invalid timer event received." );
-	return FALSE;
+	return false;
     }
 #endif // QT_CHECK_STATE
 
-    return TRUE;
+    return true;
 }
 
 // static instance
@@ -326,7 +326,7 @@ bool SecTQSharedDoubleBuffer::begin( TQPainter* painte
         tqWarning( "SecTQSharedDoubleBuffer::begin: Buffer is already active."
                   "\n\tYou must end() the buffer before a second begin()" );
 #endif // QT_CHECK_STATE
-        return FALSE;
+        return false;
     }
 
     external_p = painter;
@@ -360,7 +360,7 @@ bool SecTQSharedDoubleBuffer::begin( TQPainter* painte
 	p = external_p;
     }
 
-    return TRUE;
+    return true;
 }
 
 /* \internal
@@ -381,7 +381,7 @@ bool SecTQSharedDoubleBuffer::begin( TQWidget* widget,
         tqWarning( "SecTQSharedDoubleBuffer::begin: Buffer is already active."
                   "\n\tYou must end() the buffer before a second begin()" );
 #endif // QT_CHECK_STATE
-        return FALSE;
+        return false;
     }
 
     state = Active;
@@ -421,7 +421,7 @@ bool SecTQSharedDoubleBuffer::begin( TQWidget* widget,
 	    wid->erase( rx, ry, rw, rh );
 	}
     }
-    return TRUE;
+    return true;
 }
 
 /* \internal
@@ -438,7 +438,7 @@ bool SecTQSharedDoubleBuffer::end()
 	tqWarning( "SecTQSharedDoubleBuffer::end: Buffer is not active."
 		  "\n\tYou must call begin() before calling end()." );
 #endif // QT_CHECK_STATE
-	return FALSE;
+	return false;
     }
 
     if ( ! ( state & ExternalPainter ) ) {
@@ -460,7 +460,7 @@ bool SecTQSharedDoubleBuffer::end()
     p = external_p = 0;
     pix = 0;
 
-    return TRUE;
+    return true;
 }
 
 /* \internal
@@ -581,13 +581,13 @@ void SecTQSharedDoubleBuffer::releasePixmap()
 /* \internal
    \fn bool SecTQSharedDoubleBuffer::isDisabled()
 
-   Returns TRUE is double buffering is disabled globally, FALSE otherwise.
+   Returns true is double buffering is disabled globally, false otherwise.
 */
 
 /* \internal
    \fn void SecTQSharedDoubleBuffer::setDisabled( bool off )
 
-   Disables global double buffering \a off is TRUE, otherwise global
+   Disables global double buffering \a off is true, otherwise global
    double buffering is enabled.
 */
 
@@ -627,11 +627,11 @@ void SecTQSharedDoubleBuffer::cleanup()
 /* \internal
    \fn bool SecTQSharedDoubleBuffer::isActive() const
 
-   Returns TRUE if double buffered painting is active, FALSE otherwise.
+   Returns true if double buffered painting is active, false otherwise.
 */
 
 /* \internal
    \fn bool SecTQSharedDoubleBuffer::isBuffered() const
 
-   Returns TRUE if painting is double buffered, FALSE otherwise.
+   Returns true if painting is double buffered, false otherwise.
 */
