From 35ced32e331ee29fda1642616c803637952f5b22 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 30 May 2025 14:27:29 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 1 Signed-off-by: Michele Calgaro (cherry picked from commit a7f1e6e2552d9cdbb3d76bff089db522248b9a24) --- tools/assistant/tabbedbrowser.ui.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools/assistant/tabbedbrowser.ui.h') diff --git a/tools/assistant/tabbedbrowser.ui.h b/tools/assistant/tabbedbrowser.ui.h index 2d0a04393..451c1574a 100644 --- a/tools/assistant/tabbedbrowser.ui.h +++ b/tools/assistant/tabbedbrowser.ui.h @@ -127,7 +127,7 @@ void TabbedBrowser::zoomOut() void TabbedBrowser::init() { - tabLinkUnderline = FALSE; + tabLinkUnderline = false; tabStyleSheet = new TQStyleSheet( TQStyleSheet::defaultSheet() ); lastCurrentTab = 0; while( tab->count() ) @@ -146,7 +146,7 @@ void TabbedBrowser::init() connect( tab, TQ_SIGNAL( currentChanged( TQWidget* ) ), mainWindow(), TQ_SLOT( browserTabChanged() ) ); - TQTabBar *tabBar = (TQTabBar*)tab->child( 0, "TQTabBar", FALSE ); + TQTabBar *tabBar = (TQTabBar*)tab->child( 0, "TQTabBar", false ); int m = ( tabBar ? style().pixelMetric( TQStyle::PM_TabBarTabVSpace, (TQWidget*)tabBar ) + style().pixelMetric( TQStyle::PM_TabBarBaseHeight, (TQWidget*)tabBar ) : 0 ); int s = tab->height() - m; @@ -161,7 +161,7 @@ void TabbedBrowser::init() newTabButton->setPalette(pal); tab->setCornerWidget( newTabButton, TQt::TopLeft ); newTabButton->setCursor( arrowCursor ); - newTabButton->setAutoRaise( TRUE ); + newTabButton->setAutoRaise( true ); newTabButton->setPixmap( TQPixmap::fromMimeSource( "addtab.png" ) ); newTabButton->setFixedSize( s, s ); TQObject::connect( newTabButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( newTab() ) ); @@ -171,7 +171,7 @@ void TabbedBrowser::init() closeTabButton->setPalette(pal); tab->setCornerWidget( closeTabButton, TQt::TopRight ); closeTabButton->setCursor( arrowCursor ); - closeTabButton->setAutoRaise( TRUE ); + closeTabButton->setAutoRaise( true ); TQIconSet is( TQPixmap::fromMimeSource( "closetab.png") ); TQPixmap disabledPix = TQPixmap::fromMimeSource( "d_closetab.png" ); is.setPixmap( disabledPix, TQIconSet::Small, TQIconSet::Disabled ); @@ -179,7 +179,7 @@ void TabbedBrowser::init() closeTabButton->setFixedSize( s, s ); TQObject::connect( closeTabButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( closeTab() ) ); TQToolTip::add( closeTabButton, tr( "Close page" ) ); - closeTabButton->setEnabled( FALSE ); + closeTabButton->setEnabled( false ); } void TabbedBrowser::setMimePath( TQStringList lst ) -- cgit v1.2.3