diff options
Diffstat (limited to 'atlantik/libatlantikui/estateview.cpp')
-rw-r--r-- | atlantik/libatlantikui/estateview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/atlantik/libatlantikui/estateview.cpp b/atlantik/libatlantikui/estateview.cpp index 82586002..2307ef6b 100644 --- a/atlantik/libatlantikui/estateview.cpp +++ b/atlantik/libatlantikui/estateview.cpp @@ -72,20 +72,20 @@ void EstateView::updateToolTip() TQString toolTip = m_estate->name(); if ( m_estate->isOwned() ) { - toolTip.append( "\n" + i18n("Owner: %1").arg( m_estate->owner()->name() ) ); + toolTip.append( "\n" + i18n("Owner: %1").tqarg( m_estate->owner()->name() ) ); if ( m_estate->isMortgaged() ) - toolTip.append( "\n" + i18n("Unmortgage Price: %1").arg( m_estate->unmortgagePrice() ) ); + toolTip.append( "\n" + i18n("Unmortgage Price: %1").tqarg( m_estate->unmortgagePrice() ) ); else - toolTip.append( "\n" + i18n("Mortgage Value: %1").arg( m_estate->mortgagePrice() ) ); + toolTip.append( "\n" + i18n("Mortgage Value: %1").tqarg( m_estate->mortgagePrice() ) ); if ( m_estate->canSellHouses() ) - toolTip.append( "\n" + i18n("House Value: %1").arg( m_estate->houseSellPrice() ) ); + toolTip.append( "\n" + i18n("House Value: %1").tqarg( m_estate->houseSellPrice() ) ); if ( m_estate->canBuyHouses() ) - toolTip.append( "\n" + i18n("House Price: %1").arg( m_estate->housePrice() ) ); + toolTip.append( "\n" + i18n("House Price: %1").tqarg( m_estate->housePrice() ) ); } else if ( m_estate->canBeOwned() ) - toolTip.append( "\n" + i18n("Price: %1").arg( m_estate->price() ) ); + toolTip.append( "\n" + i18n("Price: %1").tqarg( m_estate->price() ) ); else if ( m_estate->money() ) - toolTip.append( "\n" + i18n("Money: %1").arg( m_estate->money() ) ); + toolTip.append( "\n" + i18n("Money: %1").tqarg( m_estate->money() ) ); TQToolTip::add( this, toolTip ); } @@ -255,7 +255,7 @@ void EstateView::paintEvent(TQPaintEvent *) TQColor greenHouse(0, 255, 0); TQColor redHotel(255, 51, 51); TQPainter painter; - painter.begin(TQT_TQPAINTDEVICE(qpixmap), this); + painter.tqbegin(TQT_TQPAINTDEVICE(qpixmap), this); painter.setPen(TQt::black); @@ -281,7 +281,7 @@ void EstateView::paintEvent(TQPaintEvent *) quartzBuffer->resize(m_titleWidth-2, 25); TQPainter quartzPainter; - quartzPainter.begin(TQT_TQPAINTDEVICE(quartzBuffer), this); + quartzPainter.tqbegin(TQT_TQPAINTDEVICE(quartzBuffer), this); painter.setBrush(m_estate->color()); switch(m_orientation) @@ -477,7 +477,7 @@ void EstateView::mousePressEvent(TQMouseEvent *e) { // Request trade if (Player *player = m_estate->owner()) - rmbMenu->insertItem(i18n("Request Trade with %1").arg(player->name()), 3); + rmbMenu->insertItem(i18n("Request Trade with %1").tqarg(player->name()), 3); } KPopupMenu *pm = dynamic_cast<KPopupMenu *>(rmbMenu); |