From 7d612f7c91d55501276a385a30dbadb121e7bd9f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 8 Dec 2025 15:17:51 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 8 Signed-off-by: Michele Calgaro --- src/kernel/tqaccessible.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/kernel/tqaccessible.cpp') diff --git a/src/kernel/tqaccessible.cpp b/src/kernel/tqaccessible.cpp index 174e16633..53caf49e8 100644 --- a/src/kernel/tqaccessible.cpp +++ b/src/kernel/tqaccessible.cpp @@ -314,12 +314,12 @@ public slots: #include "tqaccessible.moc" static AccessibleCache *qAccessibleInterface = 0; -static bool cleanupAdded = FALSE; +static bool cleanupAdded = false; static void qAccessibleCleanup() { if ( qAccessibleInterface && qAccessibleInterface->count() && qAccessibleManager ) - qAccessibleManager->setAutoUnload( FALSE ); + qAccessibleManager->setAutoUnload( false ); delete qAccessibleInterface; qAccessibleInterface = 0; @@ -386,7 +386,7 @@ TQRESULT TQAccessible::queryAccessibleInterface( TQObject *object, TQAccessibleI qAccessibleManager = new TQPluginManager( IID_QAccessibleFactory, TQApplication::libraryPaths(), "/accessible" ); if ( !cleanupAdded ) { tqAddPostRoutine( qAccessibleCleanup ); - cleanupAdded = TRUE; + cleanupAdded = true; } } @@ -405,8 +405,8 @@ TQRESULT TQAccessible::queryAccessibleInterface( TQObject *object, TQAccessibleI } /*! - Returns TRUE if an accessibility implementation has been requested, - during the runtime of the application, otherwise returns FALSE. + Returns true if an accessibility implementation has been requested, + during the runtime of the application, otherwise returns false. Use this function to prevent potentially expensive notifications via updateAccessibility(). @@ -431,9 +431,9 @@ bool TQAccessible::isActive() /*! \fn bool TQAccessibleInterface::isValid() const - Returns TRUE if all the data necessary to use this interface + Returns true if all the data necessary to use this interface implementation is valid (e.g. all pointers are non-null), - otherwise returns FALSE. + otherwise returns false. */ /*! @@ -605,19 +605,19 @@ bool TQAccessible::isActive() Gives the focus to the child object specified by \a control, or to the object itself if \a control is 0. - Returns TRUE if the focus could be set; otherwise returns FALSE. + Returns true if the focus could be set; otherwise returns false. */ /*! \fn bool TQAccessibleInterface::setSelected( int control, bool on, bool extend ) Sets the selection of the child object with ID \a control to \a - on. If \a extend is TRUE, all child elements between the focused + on. If \a extend is true, all child elements between the focused item and the specified child object have their selection set to \a on. - Returns TRUE if the selection could be set; otherwise returns - FALSE. + Returns true if the selection could be set; otherwise returns + false. \sa setFocus(), clearSelection() */ @@ -653,7 +653,7 @@ TQAccessibleObject::TQAccessibleObject( TQObject *object ) qAccessibleInterface = new AccessibleCache; if ( !cleanupAdded ) { tqAddPostRoutine( qAccessibleCleanup ); - cleanupAdded = TRUE; + cleanupAdded = true; } } -- cgit v1.2.3