summaryrefslogtreecommitdiffstats
path: root/twin/tabbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/tabbox.cpp')
-rw-r--r--twin/tabbox.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/twin/tabbox.cpp b/twin/tabbox.cpp
index 28de58755..f638d755e 100644
--- a/twin/tabbox.cpp
+++ b/twin/tabbox.cpp
@@ -203,7 +203,7 @@ void TabBox::reset()
if ( clients.count() == 0 ) // height for the "not tasks" text
{
TQFont f = font();
- f.setBold( TRUE );
+ f.setBold( true );
f.setPointSize( 14 );
h = TQFontMetrics(f).height()*4;
@@ -401,7 +401,7 @@ void TabBox::drawContents( TQPainter * )
if ( !currentClient() )
{
TQFont f = font();
- f.setBold( TRUE );
+ f.setBold( true );
f.setPointSize( 14 );
p.setFont(f);
@@ -993,26 +993,26 @@ bool Workspace::startKDEWalkThroughWindows()
{
if( !establishTabBoxGrab())
return false;
- tab_grab = TRUE;
+ tab_grab = true;
keys->suspend( true );
disable_shortcuts_keys->suspend( true );
client_keys->suspend( true );
tab_box->setMode( TabBox::WindowsMode );
tab_box->reset();
- return TRUE;
+ return true;
}
bool Workspace::startWalkThroughDesktops( int mode )
{
if( !establishTabBoxGrab())
return false;
- control_grab = TRUE;
+ control_grab = true;
keys->suspend( true );
disable_shortcuts_keys->suspend( true );
client_keys->suspend( true );
tab_box->setMode( (TabBox::Mode) mode );
tab_box->reset();
- return TRUE;
+ return true;
}
bool Workspace::startWalkThroughDesktops()
@@ -1195,8 +1195,8 @@ void Workspace::closeTabBox()
keys->suspend( false );
disable_shortcuts_keys->suspend( false );
client_keys->suspend( false );
- tab_grab = FALSE;
- control_grab = FALSE;
+ tab_grab = false;
+ control_grab = false;
}
/*!