summaryrefslogtreecommitdiffstats
path: root/kpat/pile.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit24c5cdc2737fe0044b11a12359606973eb93fc0b (patch)
treea670701ebff60c73e9f32aab588e9b3d395d74f9 /kpat/pile.cpp
parentf6000cffbc89072156cad7866d179fbd622df317 (diff)
downloadtdegames-24c5cdc2737fe0044b11a12359606973eb93fc0b.tar.gz
tdegames-24c5cdc2737fe0044b11a12359606973eb93fc0b.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpat/pile.cpp')
-rw-r--r--kpat/pile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpat/pile.cpp b/kpat/pile.cpp
index 8d34325e..fab94efa 100644
--- a/kpat/pile.cpp
+++ b/kpat/pile.cpp
@@ -218,7 +218,7 @@ void Pile::moveBy(double dx, double dy)
int Pile::indexOf(const Card *c) const
{
assert(c->source() == this);
- return m_cards.tqfindIndex(const_cast<Card*>(c)); // the list is of non-const cards
+ return m_cards.findIndex(const_cast<Card*>(c)); // the list is of non-const cards
}
Card *Pile::at(int index) const
@@ -338,7 +338,7 @@ void Pile::add( Card* _card, bool _facedown, bool _spread )
void Pile::remove(Card *c)
{
- assert(m_cards.tqcontains(c));
+ assert(m_cards.contains(c));
m_cards.remove(c);
}