[Kstars-devel] KDE/kdeedu/kstars/kstars/tools
Pablo de Vicente
p.devicente at wanadoo.es
Sat May 21 21:48:51 CEST 2005
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 at 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 );
}
More information about the Kstars-devel
mailing list