diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 22:37:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 22:37:33 +0000 |
commit | 66c292188f8ab6951b32c07f13dc93cce847a688 (patch) | |
tree | d23ba9c73758114c7b1a5ad29c1f59f8e5088c7a /kreversi/qreversigameview.cpp | |
parent | 029364878a9576fe8cd084f528b151ef7eee6b5d (diff) | |
download | tdegames-66c292188f8ab6951b32c07f13dc93cce847a688.tar.gz tdegames-66c292188f8ab6951b32c07f13dc93cce847a688.zip |
Fix kdegames/Qt3 FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1237329 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kreversi/qreversigameview.cpp')
-rw-r--r-- | kreversi/qreversigameview.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kreversi/qreversigameview.cpp b/kreversi/qreversigameview.cpp index e6a17cbf..87b29a60 100644 --- a/kreversi/qreversigameview.cpp +++ b/kreversi/qreversigameview.cpp @@ -119,10 +119,10 @@ void StatusWidget::setScore(uint s) // ================================================================ -// class TQReversiGameView +// class QReversiGameView -TQReversiGameView::TQReversiGameView(TQWidget *tqparent, TQReversiGame *game) +QReversiGameView::QReversiGameView(TQWidget *tqparent, QReversiGame *game) : TQWidget(tqparent, "gameview") { // Store a pointer to the game. @@ -147,19 +147,19 @@ TQReversiGameView::TQReversiGameView(TQWidget *tqparent, TQReversiGame *game) } -TQReversiGameView::~TQReversiGameView() +QReversiGameView::~QReversiGameView() { } // Create the entire view. Only called once from the constructor. -void TQReversiGameView::createView() +void QReversiGameView::createView() { TQGridLayout *tqlayout = new TQGridLayout(this, 4, 2); // The board - m_boardView = new TQReversiBoardView(this, m_game); + m_boardView = new QReversiBoardView(this, m_game); m_boardView->loadSettings(); // Load the pixmaps used in the status widgets. tqlayout->addMultiCellWidget(m_boardView, 0, 3, 0, 0); @@ -189,7 +189,7 @@ void TQReversiGameView::createView() // Recieves the sig_newGame signal from the game. -void TQReversiGameView::newGame() +void QReversiGameView::newGame() { m_boardView->updateBoard(true); m_movesView->clear(); @@ -199,7 +199,7 @@ void TQReversiGameView::newGame() // Recieves the sig_move signal from the game. -void TQReversiGameView::moveMade(uint moveNum, Move &move) +void QReversiGameView::moveMade(uint moveNum, Move &move) { //FIXME: Error checks. TQString colorsWB[] = { @@ -232,7 +232,7 @@ void TQReversiGameView::moveMade(uint moveNum, Move &move) // Recieves the sig_update signal from the game, and can be called // whenever a total update of the view is required. -void TQReversiGameView::updateView() +void QReversiGameView::updateView() { m_boardView->updateBoard(true); updateMovelist(); @@ -242,7 +242,7 @@ void TQReversiGameView::updateView() // Only updates the status widgets (score). -void TQReversiGameView::updatetqStatus() +void QReversiGameView::updatetqStatus() { m_blacktqStatus->setScore(m_game->score(Black)); m_whitetqStatus->setScore(m_game->score(White)); @@ -251,7 +251,7 @@ void TQReversiGameView::updatetqStatus() // Only updates the status board. -void TQReversiGameView::updateBoard(bool force) +void QReversiGameView::updateBoard(bool force) { m_boardView->updateBoard(force); } @@ -260,7 +260,7 @@ void TQReversiGameView::updateBoard(bool force) // Only updates the movelist. This method regenerates the list from // scratch. -void TQReversiGameView::updateMovelist() +void QReversiGameView::updateMovelist() { // FIXME: NYI } @@ -270,7 +270,7 @@ void TQReversiGameView::updateMovelist() // access to the internal board view. // -void TQReversiGameView::squareClicked(int row, int col) +void QReversiGameView::squareClicked(int row, int col) { emit signalSquareClicked(row, col); } @@ -280,7 +280,7 @@ void TQReversiGameView::squareClicked(int row, int col) // Other public methods. -void TQReversiGameView::setHumanColor(Color color) +void QReversiGameView::setHumanColor(Color color) { m_humanColor = color; |