summaryrefslogtreecommitdiffstats
path: root/tools/assistant/tabbedbrowser.ui.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-30 14:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-06-25 16:29:01 +0900
commita7f1e6e2552d9cdbb3d76bff089db522248b9a24 (patch)
tree2e6dd07698083df817163d572443aaf6fdd26651 /tools/assistant/tabbedbrowser.ui.h
parent2584dba8aabfa2db8297dcfa258d33545ed6af43 (diff)
downloadtqt-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/tabbedbrowser.ui.h')
-rw-r--r--tools/assistant/tabbedbrowser.ui.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/assistant/tabbedbrowser.ui.h b/tools/assistant/tabbedbrowser.ui.h
index 68513fb90..920c99eaa 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 )