summaryrefslogtreecommitdiffstats
path: root/twin/tabbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/tabbox.cpp')
-rw-r--r--twin/tabbox.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/twin/tabbox.cpp b/twin/tabbox.cpp
index bec7cce97..f638d755e 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>
@@ -53,7 +53,7 @@ TabBox::TabBox( Workspace *ws, const char *name )
m = DesktopMode; // init variables
reconfigure();
reset();
- connect(&delayedShowTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(show()));
+ connect(&delayedShowTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(show()));
XSetWindowAttributes attr;
attr.override_redirect = 1;
@@ -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;
}
/*!