From c406d61deefc0c3e3173ebe77bfb38a1bc453ce7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: 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 --- kolf/ball.cpp | 6 +++--- kolf/game.cpp | 2 +- kolf/game.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kolf') 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 diff --git a/kolf/game.cpp b/kolf/game.cpp index 1a7bfe4d..a6f02a79 100644 --- a/kolf/game.cpp +++ b/kolf/game.cpp @@ -3462,7 +3462,7 @@ void KolfGame::showInfo() void KolfGame::showInfoDlg(bool addDontShowAgain) { - KMessageBox::information(tqparentWidget(), + KMessageBox::information(parentWidget(), i18n("Course name: %1").tqarg(holeInfo.name()) + TQString("\n") + i18n("Created by %1").tqarg(holeInfo.author()) + TQString("\n") + i18n("%1 holes").tqarg(highestHole), diff --git a/kolf/game.h b/kolf/game.h index 3bcaaaf5..ec986c52 100644 --- a/kolf/game.h +++ b/kolf/game.h @@ -483,7 +483,7 @@ public: void dontMove() { dontmove = true; }; void updateVisible(); - Wall *tqparentWall() { return wall; } + Wall *parentWall() { return wall; } protected: Wall *wall; -- cgit v1.2.1