summaryrefslogtreecommitdiffstats
path: root/kpat/dealer.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/dealer.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/dealer.cpp')
-rw-r--r--kpat/dealer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpat/dealer.cpp b/kpat/dealer.cpp
index d53b7d3a..c1ae25e7 100644
--- a/kpat/dealer.cpp
+++ b/kpat/dealer.cpp
@@ -249,7 +249,7 @@ void Dealer::newHint(MoveHint *mh)
bool Dealer::isMoving(Card *c) const
{
- return movingCards.tqfind(c) != movingCards.end();
+ return movingCards.find(c) != movingCards.end();
}
void Dealer::contentsMouseMoveEvent(TQMouseEvent* e)
@@ -277,13 +277,13 @@ void Dealer::contentsMouseMoveEvent(TQMouseEvent* e)
continue;
if (c->source() == movingCards.first()->source())
continue;
- if (sources.tqfindIndex(c->source()) != -1)
+ if (sources.findIndex(c->source()) != -1)
continue;
sources.append(c->source());
} else {
if ((*it)->rtti() == Pile::RTTI) {
Pile *p = static_cast<Pile*>(*it);
- if (p->isEmpty() && !sources.tqcontains(p))
+ if (p->isEmpty() && !sources.contains(p))
sources.append(p);
} else {
kdDebug(11111) << "unknown object " << *it << " " << (*it)->rtti() << endl;
@@ -314,7 +314,7 @@ void Dealer::contentsMouseMoveEvent(TQMouseEvent* e)
void Dealer::mark(Card *c)
{
c->setSelected(true);
- if (!marked.tqcontains(c))
+ if (!marked.contains(c))
marked.append(c);
}