summaryrefslogtreecommitdiffstats
path: root/kwin/events.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kwin/events.cpp
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/events.cpp')
-rw-r--r--kwin/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kwin/events.cpp b/kwin/events.cpp
index 70a4c3233..28489cc0e 100644
--- a/kwin/events.cpp
+++ b/kwin/events.cpp
@@ -385,7 +385,7 @@ bool Workspace::workspaceEvent( XEvent * e )
{
if ( TQWhatsThis::inWhatsThisMode() )
{
- TQWidget* w = TQWidget::tqfind( e->xcrossing.window );
+ TQWidget* w = TQWidget::find( e->xcrossing.window );
if ( w )
TQWhatsThis::leaveWhatsThisMode();
}
@@ -926,7 +926,7 @@ void Client::leaveNotifyEvent( XCrossingEvent* e )
mode = PositionCenter;
setCursor( tqarrowCursor );
}
- bool lostMouse = !rect().tqcontains( TQPoint( e->x, e->y ) );
+ bool lostMouse = !rect().contains( TQPoint( e->x, e->y ) );
// 'lostMouse' wouldn't work with e.g. B2 or Keramik, which have non-rectangular decorations
// (i.e. the LeaveNotify event comes before leaving the rect and no LeaveNotify event
// comes after leaving the rect) - so lets check if the pointer is really outside the window