diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-25 18:08:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-27 10:26:17 +0900 |
| commit | 7f36db4704fe1e47683ecc8e07654b4762edd725 (patch) | |
| tree | efd584e0370eaaf5540ecbd6e588f4012a212900 /twin/tabbox.cpp | |
| parent | ecaede25a924ea84ed48a164299a9d96a7976b1f (diff) | |
| download | tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.tar.gz tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0a439ac80bdf6ffb9cac104ad3098a321ee0403c)
Diffstat (limited to 'twin/tabbox.cpp')
| -rw-r--r-- | twin/tabbox.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/twin/tabbox.cpp b/twin/tabbox.cpp index feca2d77d..3829d6c02 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; } /*! |
