From 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 20:16:47 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/bridge.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kwin/bridge.cpp') diff --git a/kwin/bridge.cpp b/kwin/bridge.cpp index 49840e248..df610dd53 100644 --- a/kwin/bridge.cpp +++ b/kwin/bridge.cpp @@ -43,7 +43,7 @@ BRIDGE_HELPER( bool, isMovable,,, const ) BRIDGE_HELPER( bool, isResizable,,, const ) BRIDGE_HELPER( TQString, caption,,, const ) BRIDGE_HELPER( void, processMousePressEvent, TQMouseEvent* e, e, ) -BRIDGE_HELPER( TQRect, geometry,,, const ) +BRIDGE_HELPER( TQRect, tqgeometry,,, const ) BRIDGE_HELPER( void, closeWindow,,, ) BRIDGE_HELPER( void, maximize, MaximizeMode m, m, ) BRIDGE_HELPER( void, minimize,,, ) @@ -178,12 +178,12 @@ TQRegion Bridge::unobscuredRegion( const TQRegion& r ) const if( !(*it)->isOnDesktop( c->desktop())) continue; } - /* the clients all have their mask-regions in local coords + /* the clients all have their tqmask-regions in local coords so we have to translate them to a shared coord system we choose ours */ int dx = (*it)->x() - c->x(); int dy = (*it)->y() - c->y(); - TQRegion creg = (*it)->mask(); + TQRegion creg = (*it)->tqmask(); creg.translate(dx, dy); reg -= creg; if (reg.isEmpty()) -- cgit v1.2.3