summaryrefslogtreecommitdiffstats
path: root/kpat/dealer.cpp
diff options
context:
space:
mode:
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);
}