diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-30 14:27:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-25 16:29:01 +0900 |
commit | a7f1e6e2552d9cdbb3d76bff089db522248b9a24 (patch) | |
tree | 2e6dd07698083df817163d572443aaf6fdd26651 /tools/assistant/helpwindow.cpp | |
parent | 2584dba8aabfa2db8297dcfa258d33545ed6af43 (diff) | |
download | tqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.tar.gz tqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.zip |
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/assistant/helpwindow.cpp')
-rw-r--r-- | tools/assistant/helpwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/assistant/helpwindow.cpp b/tools/assistant/helpwindow.cpp index 014729c23..517595ee2 100644 --- a/tools/assistant/helpwindow.cpp +++ b/tools/assistant/helpwindow.cpp @@ -56,8 +56,8 @@ #endif HelpWindow::HelpWindow( MainWindow *w, TQWidget *parent, const char *name ) - : TQTextBrowser( parent, name ), mw( w ), blockScroll( FALSE ), - shiftPressed( FALSE ), newWindow( FALSE ) + : TQTextBrowser( parent, name ), mw( w ), blockScroll( false ), + shiftPressed( false ), newWindow( false ) { connect(this, TQ_SIGNAL(forwardAvailable(bool)), this, TQ_SLOT(updateForward(bool))); connect(this, TQ_SIGNAL(backwardAvailable(bool)), this, TQ_SLOT(updateBackward(bool))); @@ -78,7 +78,7 @@ void HelpWindow::setSource( const TQString &name ) TQFileInfo linkInfo( name ); TQString target = name; if( linkInfo.isRelative() ) - target = currentInfo.dirPath( TRUE ) + "/" + name; + target = currentInfo.dirPath( true ) + "/" + name; nmw->setup(); nmw->move( mw->geometry().topLeft() ); @@ -170,9 +170,9 @@ void HelpWindow::openLinkInNewWindow() { if ( lastAnchor.isEmpty() ) return; - newWindow = TRUE; + newWindow = true; setSource(lastAnchor); - newWindow = FALSE; + newWindow = false; } void HelpWindow::openLinkInNewWindow( const TQString &link ) |