summaryrefslogtreecommitdiffstats
path: root/kpoker
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:10 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-04 01:10:52 +0200
commit9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (patch)
tree668cc8f756c0cac76b39b63bc1f09115015a10a5 /kpoker
parent7cfcd74800487ecb6246597fdc559ca8baf2c4da (diff)
downloadtdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.tar.gz
tdegames-9e8c9cf72cdda55e3c96c7ef072c3358061d53c9.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e2b76239f354a9eead0b4e37d86d390ec57ffa9)
Diffstat (limited to 'kpoker')
-rw-r--r--kpoker/kpaint.cpp2
-rw-r--r--kpoker/kpoker.cpp2
-rw-r--r--kpoker/playerbox.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/kpoker/kpaint.cpp b/kpoker/kpaint.cpp
index 2dcc5dbf..cecfc4b6 100644
--- a/kpoker/kpaint.cpp
+++ b/kpoker/kpaint.cpp
@@ -174,7 +174,7 @@ void CardWidget::repaintDeck()
setFixedSize(cardImages->getWidth(), cardImages->getHeight());
((TQWidget*) parent())->tqlayout()->tqinvalidate();
- ((TQWidget*) parent())->setFixedSize( ((TQWidget*) parent())->tqsizeHint());
+ ((TQWidget*) parent())->setFixedSize( ((TQWidget*) parent())->sizeHint());
}
diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp
index 92a7df5c..ebaad07f 100644
--- a/kpoker/kpoker.cpp
+++ b/kpoker/kpoker.cpp
@@ -275,7 +275,7 @@ void kpok::initWindow()
wonLabel = new TQLabel(mWonWidget);
wonLabel->setFont(wonFont);
- wonLabel->tqsetAlignment(AlignCenter);
+ wonLabel->setAlignment(AlignCenter);
wonLabel->hide();
inputLayout->addStretch(1);
diff --git a/kpoker/playerbox.cpp b/kpoker/playerbox.cpp
index 530ebd81..2c2d7789 100644
--- a/kpoker/playerbox.cpp
+++ b/kpoker/playerbox.cpp
@@ -52,7 +52,7 @@ PlayerBox::PlayerBox(bool playerOne, TQWidget* parent, const char* name)
vl->addWidget(cardBox, 0);
cardBox->setFrameStyle(Box | Sunken);
m_cardWidgets[i] = new CardWidget(cardBox);
- cardBox->setFixedSize(cardBox->tqsizeHint());
+ cardBox->setFixedSize(cardBox->sizeHint());
// Only add the "held" labels if this is the first player (the human one).
if (playerOne) {
@@ -60,7 +60,7 @@ PlayerBox::PlayerBox(bool playerOne, TQWidget* parent, const char* name)
m_heldLabels[i] = new TQLabel(b);
m_heldLabels[i]->setText(i18n("Held"));
b->setFrameStyle(Box | Sunken);
- b->setFixedSize(b->tqsizeHint());
+ b->setFixedSize(b->sizeHint());
m_cardWidgets[i]->heldLabel = m_heldLabels[i];
TQHBoxLayout* heldLayout = new TQHBoxLayout(0);