summaryrefslogtreecommitdiffstats
path: root/kpoker
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commit373fe6f2b90bcd2e452f16115a4950a4b46c1f34 (patch)
tree9de5284252e1d323cc91bb1e3563232e8e1334ab /kpoker
parent66c292188f8ab6951b32c07f13dc93cce847a688 (diff)
downloadtdegames-373fe6f2b90bcd2e452f16115a4950a4b46c1f34.tar.gz
tdegames-373fe6f2b90bcd2e452f16115a4950a4b46c1f34.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpoker')
-rw-r--r--kpoker/kpaint.cpp2
-rw-r--r--kpoker/kpaint.h2
-rw-r--r--kpoker/kpoker.cpp4
-rw-r--r--kpoker/playerbox.cpp4
-rw-r--r--kpoker/playerbox.h2
-rw-r--r--kpoker/top.cpp2
6 files changed, 8 insertions, 8 deletions
diff --git a/kpoker/kpaint.cpp b/kpoker/kpaint.cpp
index 15ce5935..67029656 100644
--- a/kpoker/kpaint.cpp
+++ b/kpoker/kpaint.cpp
@@ -168,7 +168,7 @@ void CardWidget::paintCard(int cardType)
}
-void CardWidget::tqrepaintDeck()
+void CardWidget::repaintDeck()
{
setPixmap(*m_pm);
setFixedSize(cardImages->getWidth(), cardImages->getHeight());
diff --git a/kpoker/kpaint.h b/kpoker/kpaint.h
index 8c480fd5..512ce776 100644
--- a/kpoker/kpaint.h
+++ b/kpoker/kpaint.h
@@ -95,7 +95,7 @@ class CardWidget : public TQPushButton
bool toggleHeld(); /* returns the new value of held*/
- void tqrepaintDeck();
+ void repaintDeck();
signals:
/**
diff --git a/kpoker/kpoker.cpp b/kpoker/kpoker.cpp
index 0c826c14..bb0a9fe3 100644
--- a/kpoker/kpoker.cpp
+++ b/kpoker/kpoker.cpp
@@ -674,7 +674,7 @@ void kpok::initPoker(unsigned int numPlayers)
m_game.clearPot();
drawAllDecks();
for (unsigned int i = 0; i < m_numPlayers; i++) {
- playerBox[i]->tqrepaintCard();
+ playerBox[i]->repaintCard();
}
paintCash();
playerBox[0]->setHeldEnabled(false);
@@ -1469,7 +1469,7 @@ void kpok::slotCardDeck()
cardImages->loadCards(cardPath);
for (int i = 0; i < m_game.getNumActivePlayers(); i++) {
- playerBox[i]->tqrepaintCard();
+ playerBox[i]->repaintCard();
}
// Save selected stuff in the configuration.
diff --git a/kpoker/playerbox.cpp b/kpoker/playerbox.cpp
index 53123fbc..3c60c9bb 100644
--- a/kpoker/playerbox.cpp
+++ b/kpoker/playerbox.cpp
@@ -252,10 +252,10 @@ void PlayerBox::cardClicked(int no)
}
-void PlayerBox::tqrepaintCard()
+void PlayerBox::repaintCard()
{
for (int i = 0; i < PokerHandSize; i++)
- m_cardWidgets[i]->tqrepaintDeck();
+ m_cardWidgets[i]->repaintDeck();
}
diff --git a/kpoker/playerbox.h b/kpoker/playerbox.h
index aeb5d3c8..bd4c7d75 100644
--- a/kpoker/playerbox.h
+++ b/kpoker/playerbox.h
@@ -118,7 +118,7 @@ class PlayerBox : public TQGroupBox
**/
void blinkOff();
- void tqrepaintCard();
+ void repaintCard();
protected:
diff --git a/kpoker/top.cpp b/kpoker/top.cpp
index a1659954..270fd2e5 100644
--- a/kpoker/top.cpp
+++ b/kpoker/top.cpp
@@ -61,7 +61,7 @@ PokerWindow::PokerWindow()
statusBar()->addWidget(LHLabel, 0, true);
m_kpok->updateLHLabel();
- //FIXME: LHLabel is shown twize until the bar is tqrepainted!
+ //FIXME: LHLabel is shown twize until the bar is repainted!
initKAction();
readOptions();