diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kwin/bridge.cpp | |
parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
download | tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip |
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
Diffstat (limited to 'kwin/bridge.cpp')
-rw-r--r-- | kwin/bridge.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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()) |