From 36770452958a79a095f9d9e605e79f66cfa79a2b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:20:47 -0600 Subject: Rename obsolete tq methods to standard names --- kreversi/qreversigameview.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kreversi/qreversigameview.cpp') 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); } -- cgit v1.2.1