summaryrefslogtreecommitdiffstats
path: root/kpat/fortyeight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/fortyeight.cpp')
-rw-r--r--kpat/fortyeight.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpat/fortyeight.cpp b/kpat/fortyeight.cpp
index 1d867378..1747b647 100644
--- a/kpat/fortyeight.cpp
+++ b/kpat/fortyeight.cpp
@@ -12,12 +12,12 @@ HorLeftPile::HorLeftPile( int _index, Dealer* parent)
setHSpread( cardMap::CARDX() / 11 + 1 );
}
-QSize HorLeftPile::cardOffset( bool _spread, bool, const Card *) const
+TQSize HorLeftPile::cardOffset( bool _spread, bool, const Card *) const
{
if (_spread)
- return QSize(-hspread(), 0);
+ return TQSize(-hspread(), 0);
- return QSize(0, 0);
+ return TQSize(0, 0);
}
void HorLeftPile::initSizes()
@@ -35,7 +35,7 @@ Fortyeight::Fortyeight( KMainWindow* parent, const char* name)
const int dist_x = cardMap::CARDX() * 11 / 10 + 1;
const int dist_y = cardMap::CARDY() * 11 / 10 + 1;
- connect(deck, SIGNAL(clicked(Card*)), SLOT(deckClicked(Card*)));
+ connect(deck, TQT_SIGNAL(clicked(Card*)), TQT_SLOT(deckClicked(Card*)));
deck->move(10 + cardMap::CARDX() * 82 / 10, 10 + cardMap::CARDX() * 56 / 10);
deck->setZ(20);
@@ -124,12 +124,12 @@ void Fortyeight::deal()
pile->add(deck->nextCard(), false, false);
}
-QString Fortyeight::getGameState() const
+TQString Fortyeight::getGameState() const
{
- return QString::number(lastdeal);
+ return TQString::number(lastdeal);
}
-void Fortyeight::setGameState( const QString &s )
+void Fortyeight::setGameState( const TQString &s )
{
lastdeal = s.toInt();
}