diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:47:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:47:36 -0600 |
commit | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (patch) | |
tree | 4c6397ed2c1dd6f7c3354b5b87f313547d92a35f /atlantik/libatlantikui/board.cpp | |
parent | 9c27a1a03e02fd53aedc1a182444b35fd8e14967 (diff) | |
download | tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.tar.gz tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'atlantik/libatlantikui/board.cpp')
-rw-r--r-- | atlantik/libatlantikui/board.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/atlantik/libatlantikui/board.cpp b/atlantik/libatlantikui/board.cpp index c2c8fded..89581a35 100644 --- a/atlantik/libatlantikui/board.cpp +++ b/atlantik/libatlantikui/board.cpp @@ -351,13 +351,13 @@ TQPoint AtlantikBoard::calculateTokenDestination(Token *token, Estate *eDest) int x = 0, y = 0; if (token->player()->inJail()) { - x = evDest->tqgeometry().right() - token->width() - 2; - y = evDest->tqgeometry().top(); + x = evDest->geometry().right() - token->width() - 2; + y = evDest->geometry().top(); } else { - x = evDest->tqgeometry().center().x() - (token->width()/2); - y = evDest->tqgeometry().center().y() - (token->height()/2); + x = evDest->geometry().center().x() - (token->width()/2); + y = evDest->geometry().center().y() - (token->height()/2); /* // Re-center because of EstateView headers @@ -394,8 +394,8 @@ void AtlantikBoard::slotMoveToken() } // Where are we? - int xCurrent = m_movingToken->tqgeometry().x(); - int yCurrent = m_movingToken->tqgeometry().y(); + int xCurrent = m_movingToken->geometry().x(); + int yCurrent = m_movingToken->geometry().y(); // Where do we want to go today? Estate *eDest = m_atlanticCore->estateAfter(m_movingToken->location()); |