summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools/modcalcgeodcoord.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:44:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:44:46 -0600
commitcee429821aa6f1acc97fb482d325fb4eb37376ca (patch)
tree4f55e04b7f000c854fe2b8347dcdb62d97de3c73 /kstars/kstars/tools/modcalcgeodcoord.cpp
parentab801f72ab45e8066a8ec6c533ef13c2da67e559 (diff)
downloadtdeedu-cee429821aa6f1acc97fb482d325fb4eb37376ca.tar.gz
tdeedu-cee429821aa6f1acc97fb482d325fb4eb37376ca.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kstars/kstars/tools/modcalcgeodcoord.cpp')
-rw-r--r--kstars/kstars/tools/modcalcgeodcoord.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kstars/kstars/tools/modcalcgeodcoord.cpp b/kstars/kstars/tools/modcalcgeodcoord.cpp
index 1c4f9110..892b08e9 100644
--- a/kstars/kstars/tools/modcalcgeodcoord.cpp
+++ b/kstars/kstars/tools/modcalcgeodcoord.cpp
@@ -73,9 +73,9 @@ void modCalcGeodCoord::setEllipsoid(int index) {
void modCalcGeodCoord::getCartGeoCoords (void)
{
- geoPlace->setXPos( KGlobal::locale()->readNumber(xGeoName->text())*1000. );
- geoPlace->setYPos( KGlobal::locale()->readNumber(yGeoName->text())*1000. );
- geoPlace->setZPos( KGlobal::locale()->readNumber(zGeoName->text())*1000. );
+ geoPlace->setXPos( TDEGlobal::locale()->readNumber(xGeoName->text())*1000. );
+ geoPlace->setYPos( TDEGlobal::locale()->readNumber(yGeoName->text())*1000. );
+ geoPlace->setZPos( TDEGlobal::locale()->readNumber(zGeoName->text())*1000. );
//geoPlace->setXPos( xGeoName->text().toDouble()*1000. );
//geoPlace->setYPos( yGeoName->text().toDouble()*1000. );
//geoPlace->setZPos( zGeoName->text().toDouble()*1000. );
@@ -118,15 +118,15 @@ void modCalcGeodCoord::showSpheGeoCoords(void)
{
lonGeoBox->show( geoPlace->lng() );
latGeoBox->show( geoPlace->lat() );
- altGeoBox->setText( KGlobal::locale()->formatNumber( geoPlace->height(), 3) );
+ altGeoBox->setText( TDEGlobal::locale()->formatNumber( geoPlace->height(), 3) );
}
void modCalcGeodCoord::showCartGeoCoords(void)
{
- xGeoName->setText( KGlobal::locale()->formatNumber( geoPlace->xPos()/1000. ,6));
- yGeoName->setText( KGlobal::locale()->formatNumber( geoPlace->yPos()/1000. ,6));
- zGeoName->setText( KGlobal::locale()->formatNumber( geoPlace->zPos()/1000. ,6));
+ xGeoName->setText( TDEGlobal::locale()->formatNumber( geoPlace->xPos()/1000. ,6));
+ yGeoName->setText( TDEGlobal::locale()->formatNumber( geoPlace->yPos()/1000. ,6));
+ zGeoName->setText( TDEGlobal::locale()->formatNumber( geoPlace->zPos()/1000. ,6));
}
void modCalcGeodCoord::geoCheck(void) {
@@ -297,7 +297,7 @@ void modCalcGeodCoord::processLines( TQTextStream &istream ) {
xB = fields[i].toDouble();
i++;
} else
- xB = KGlobal::locale()->readNumber(xBoxBatch->text()) ;
+ xB = TDEGlobal::locale()->readNumber(xBoxBatch->text()) ;
if ( allRadioBatch->isChecked() )
ostream << xB << space;
@@ -311,7 +311,7 @@ void modCalcGeodCoord::processLines( TQTextStream &istream ) {
yB = fields[i].toDouble();
i++;
} else
- yB = KGlobal::locale()->readNumber( yBoxBatch->text()) ;
+ yB = TDEGlobal::locale()->readNumber( yBoxBatch->text()) ;
if ( allRadioBatch->isChecked() )
ostream << yB << space;
@@ -324,7 +324,7 @@ void modCalcGeodCoord::processLines( TQTextStream &istream ) {
zB = fields[i].toDouble();
i++;
} else
- zB = KGlobal::locale()->readNumber( zBoxBatch->text());
+ zB = TDEGlobal::locale()->readNumber( zBoxBatch->text());
if ( allRadioBatch->isChecked() )
ostream << zB << space;