diff options
Diffstat (limited to 'twin/tabbox.cpp')
| -rw-r--r-- | twin/tabbox.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/twin/tabbox.cpp b/twin/tabbox.cpp index feca2d77d..e1f0d3dae 100644 --- a/twin/tabbox.cpp +++ b/twin/tabbox.cpp @@ -25,7 +25,7 @@ License. See the file "COPYING" for the exact licensing terms. #include <kstringhandler.h> #include <stdarg.h> #include <kdebug.h> -#include <kglobalaccel.h> +#include <tdeglobalaccel.h> #include <kkeynative.h> #include <tdeglobalsettings.h> #include <kiconeffect.h> @@ -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; } /*! @@ -1359,7 +1359,7 @@ Client* Workspace::previousStaticClient( Client* c ) const bool Workspace::establishTabBoxGrab() { - if( XGrabKeyboard( tqt_xdisplay(), root, FALSE, + if( XGrabKeyboard( tqt_xdisplay(), root, False, GrabModeAsync, GrabModeAsync, get_tqt_x_time()) != GrabSuccess ) return false; // Don't try to establish a global mouse grab using XGrabPointer, as that would prevent |
