[prev in list] [next in list] [prev in thread] [next in thread]
List: atlantik-devel
Subject: [atlantik-cvs] CVS: kdegames/atlantik/libatlantikui estateview.cpp,
From: kde () office ! kde ! org
Date: 2004-10-06 9:42:35
Message-ID: 4163BE0B.mailLVY1K95E2 () office ! kde ! org
[Download RAW message or body]
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv28087/libatlantikui
Modified Files:
estateview.cpp
Log Message:
Combo patch:
- forward port running game fix from KDE_3_3_BRANCH (fixed bug #88617)
- backport by Jtb: extra estateview tooltip info (mortgage and house
price/value) from 0.8.0 in arch, this already works with monopd 0.9.x and
doesn't need the unreleased monopd 0.10.x
- version bump: KDE 3.4 will use 0.7.{5,6,7,8,9} so I won't have to rename
0.8.x in time for KDE4.
Index: estateview.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/estateview.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- estateview.cpp 29 May 2004 11:05:37 -0000 1.77
+++ estateview.cpp 6 Oct 2004 09:42:32 -0000 1.78
@@ -71,7 +71,17 @@
{
QString toolTip = m_estate->name();
if ( m_estate->isOwned() )
+ {
toolTip.append( "\n" + i18n("Owner: %1").arg( m_estate->owner()->name() ) );
+ if ( m_estate->isMortgaged() )
+ toolTip.append( "\n" + i18n("Unmortage Price: %1").arg( m_estate->unmortgagePrice() ) );
+ else
+ toolTip.append( "\n" + i18n("Mortage Value: %1").arg( m_estate->mortgagePrice() ) );
+ if ( m_estate->canSellHouses() )
+ toolTip.append( "\n" + il8n("House Value: %1").arg( m_estate->houseSellPrice() ) );
+ if ( m_estate->canBuyHouses() )
+ toolTip.append( "\n" + il8n("House Price: %1").arg( m_estate->housePrice() ) );
+ }
else if ( m_estate->canBeOwned() )
toolTip.append( "\n" + i18n("Price: %1").arg( m_estate->price() ) );
else if ( m_estate->money() )
_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@kde.org
https://mail.kde.org/mailman/listinfo/atlantik-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic