[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars/tools
From: Pablo de Vicente <p.devicente () wanadoo ! es>
Date: 2005-05-21 19:48:51
Message-ID: 1116704931.270337.25501.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 416521 by pvicente:
Fixes part of bug 105995. The interactive mode now works correctly. I need more time \
to close the complete bug.
CCBUG: 105995
CCMAIL: kstars-devel@kde.org
M +10 -10 trunk/KDE/kdeedu/kstars/kstars/tools/modcalcplanets.cpp
--- trunk/KDE/kdeedu/kstars/kstars/tools/modcalcplanets.cpp #416520:416521
@@ -104,13 +104,13 @@
if (planetComboBox->currentItem() == 0 ) {
KSPlanet p( kd, I18N_NOOP( "Mercury" ));
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 1) {
KSPlanet p( kd, I18N_NOOP( "Venus" ));
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 2) {
@@ -119,49 +119,49 @@
else if(planetComboBox->currentItem() == 3) {
KSPlanet p( kd, I18N_NOOP( "Mars" ));
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 4) {
KSPlanet p( kd, I18N_NOOP( "Jupiter" ));
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 5) {
KSPlanet p( kd, I18N_NOOP( "Saturn" ));
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 6) {
KSPlanet p( kd, I18N_NOOP( "Uranus" ));
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 7) {
KSPlanet p( kd, I18N_NOOP( "Neptune" ));
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 8) {
KSPluto p( kd );
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 9) {
KSMoon p( kd );
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
showCoordinates( p );
}
else if(planetComboBox->currentItem() == 10) {
KSSun p( kd );
p.findPosition( &num, position.lat(), &LST, &Earth);
- p.EquatorialToHorizontal( position.lat(), &LST);
+ p.EquatorialToHorizontal( &LST, position.lat());
p.setRsun(0.0);
showCoordinates( p );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic