diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | c406d61deefc0c3e3173ebe77bfb38a1bc453ce7 (patch) | |
tree | 12ccf93b39a8eedba87ebbd7447d33e5ab59108a /kolf/ball.cpp | |
parent | 373fe6f2b90bcd2e452f16115a4950a4b46c1f34 (diff) | |
download | tdegames-c406d61deefc0c3e3173ebe77bfb38a1bc453ce7.tar.gz tdegames-c406d61deefc0c3e3173ebe77bfb38a1bc453ce7.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolf/ball.cpp')
-rw-r--r-- | kolf/ball.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kolf/ball.cpp b/kolf/ball.cpp index 569a5ba2..0e25422b 100644 --- a/kolf/ball.cpp +++ b/kolf/ball.cpp @@ -308,10 +308,10 @@ void Ball::collisionDetect(double oldx, double oldy) for (iterpoint = points.first(); iterpoint; iterpoint = points.next()) { //kdDebug(12007) << "-----\n"; - const Wall *tqparentWall = iterpoint->tqparentWall(); - const TQPoint qp(iterpoint->x() + tqparentWall->x(), iterpoint->y() + tqparentWall->y()); + const Wall *parentWall = iterpoint->parentWall(); + const TQPoint qp(iterpoint->x() + parentWall->x(), iterpoint->y() + parentWall->y()); const Point p(qp.x(), qp.y()); - const TQPoint qother = TQPoint(tqparentWall->startPoint() == qp? tqparentWall->endPoint() : tqparentWall->startPoint()) + TQPoint(tqparentWall->x(), tqparentWall->y()); + const TQPoint qother = TQPoint(parentWall->startPoint() == qp? parentWall->endPoint() : parentWall->startPoint()) + TQPoint(parentWall->x(), parentWall->y()); const Point other(qother.x(), qother.y()); // vector of wall |