diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:20:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:20:47 -0600 |
commit | 36770452958a79a095f9d9e605e79f66cfa79a2b (patch) | |
tree | 8c5656dfa9510a332be71bc62e896540eaf76b52 /kreversi | |
parent | c0f375feba0103bed2bac1b1f05e76e9ae28fa89 (diff) | |
download | tdegames-36770452958a79a095f9d9e605e79f66cfa79a2b.tar.gz tdegames-36770452958a79a095f9d9e605e79f66cfa79a2b.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kreversi')
-rw-r--r-- | kreversi/qreversigameview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kreversi/qreversigameview.cpp b/kreversi/qreversigameview.cpp index 7581ddf0..ce1e3f5f 100644 --- a/kreversi/qreversigameview.cpp +++ b/kreversi/qreversigameview.cpp @@ -156,30 +156,30 @@ QReversiGameView::~QReversiGameView() void QReversiGameView::createView() { - TQGridLayout *tqlayout = new TQGridLayout(this, 4, 2); + TQGridLayout *layout = new TQGridLayout(this, 4, 2); // The board 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); + layout->addMultiCellWidget(m_boardView, 0, 3, 0, 0); // The status widgets m_blackStatus = new StatusWidget(TQString(), this); m_blackStatus->setPixmap(m_boardView->chipPixmap(Black, 20)); - tqlayout->addWidget(m_blackStatus, 0, 1); + layout->addWidget(m_blackStatus, 0, 1); m_whiteStatus = new StatusWidget(TQString(), this); m_whiteStatus->setPixmap(m_boardView->chipPixmap(White, 20)); - tqlayout->addWidget(m_whiteStatus, 1, 1); + layout->addWidget(m_whiteStatus, 1, 1); // The "Moves" label TQLabel *movesLabel = new TQLabel( i18n("Moves"), this); movesLabel->setAlignment(AlignCenter); - tqlayout->addWidget(movesLabel, 2, 1); + layout->addWidget(movesLabel, 2, 1); // The list of moves. m_movesView = new TQListBox(this, "moves"); m_movesView->setMinimumWidth(150); - tqlayout->addWidget(m_movesView, 3, 1); + layout->addWidget(m_movesView, 3, 1); } |