summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantic/trade.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/libatlantic/trade.cpp')
-rw-r--r--atlantik/libatlantic/trade.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/atlantik/libatlantic/trade.cpp b/atlantik/libatlantic/trade.cpp
index b516dc70..7bd638c9 100644
--- a/atlantik/libatlantic/trade.cpp
+++ b/atlantik/libatlantic/trade.cpp
@@ -49,7 +49,7 @@ void Trade::removePlayer(Player *player)
unsigned int Trade::count( bool acceptOnly )
{
unsigned int count = 0;
- for (QMapIterator<Player *, bool> it = m_playerAcceptMap.begin() ; it != m_playerAcceptMap.end() ; ++it)
+ for (TQMapIterator<Player *, bool> it = m_playerAcceptMap.begin() ; it != m_playerAcceptMap.end() ; ++it)
if ( !acceptOnly || it.data() )
count++;
return count;
@@ -59,7 +59,7 @@ void Trade::updateEstate(Estate *estate, Player *to)
{
TradeEstate *t=0;
- for (QPtrListIterator<TradeItem> i(mTradeItems); *i; ++i)
+ for (TQPtrListIterator<TradeItem> i(mTradeItems); *i; ++i)
{
t=dynamic_cast<TradeEstate*>(*i);
@@ -100,7 +100,7 @@ void Trade::updateMoney(unsigned int money, Player *from, Player *to)
{
TradeMoney *t=0;
- for (QPtrListIterator<TradeItem> i(mTradeItems); *i; ++i)
+ for (TQPtrListIterator<TradeItem> i(mTradeItems); *i; ++i)
{
t=dynamic_cast<TradeMoney*>(*i);
@@ -163,8 +163,8 @@ void Trade::update(bool force)
TradeItem::TradeItem(Trade *trade, Player *from, Player *to) : mFrom(from), mTo(to), mTrade(trade)
{
- connect(from, SIGNAL(changed(Player *)), this, SLOT(playerChanged()));
- connect(to, SIGNAL(changed(Player *)), this, SLOT(playerChanged()));
+ connect(from, TQT_SIGNAL(changed(Player *)), this, TQT_SLOT(playerChanged()));
+ connect(to, TQT_SIGNAL(changed(Player *)), this, TQT_SLOT(playerChanged()));
}
void TradeItem::playerChanged()
@@ -176,7 +176,7 @@ TradeEstate::TradeEstate(Estate *estate, Trade *trade, Player *to) : TradeItem(t
{
}
-QString TradeEstate::text() const
+TQString TradeEstate::text() const
{
return mEstate->name();
}
@@ -194,7 +194,7 @@ void TradeMoney::setMoney(unsigned int money)
}
}
-QString TradeMoney::text() const
+TQString TradeMoney::text() const
{
- return QString("$%1").arg(m_money);
+ return TQString("$%1").arg(m_money);
}