[Kstars-devel] kdeedu/kstars/kstars/tools

Pablo de Vicente p.devicente at wanadoo.es
Sat Jun 12 22:23:08 CEST 2004


CVS commit by pvicente: 

Reverted changes in dmsBox because those functions were not necessary. I am using a generic
function called setDMS and a similar one in timeBox called setEntry modCalcDayLenght class.
CCMAIL:kstars-devel at kde.org.


  M +6 -6      modcalcdaylength.cpp   1.28


--- kdeedu/kstars/kstars/tools/modcalcdaylength.cpp  #1.27:1.28
@@ -121,7 +121,7 @@ void modCalcDayLength::slotComputePosTim
                 dayLBox->showTime( dayLQtime );
         } else if (transAlt.Degrees() > 0. ) {
-                azSetBox->showCircumpolar();
+                azSetBox->setDMS(i18n("Circumpolar"));
                 elTransitBox->show( transAlt );
-                azRiseBox->showCircumpolar();
+                azRiseBox->setDMS(i18n("Circumpolar"));
 
                 setTimeBox->showTime( setQtime );
@@ -129,10 +129,10 @@ void modCalcDayLength::slotComputePosTim
                 transitTimeBox->showTime( transitQtime );
 
-                dayLBox->showTime( QTime(23,59,59) );
+                dayLBox->setEntry("24:00:00");
 
         } else if (transAlt.Degrees() < 0. ) {
-                azSetBox->showDoesNotRise();
-                elTransitBox->showDoesNotRise();
-                azRiseBox->showDoesNotRise();
+                azSetBox->setDMS("does not rise");
+                elTransitBox->setDMS("does not rise");
+                azRiseBox->setDMS("does not rise");
 
                 setTimeBox->clearFields();




More information about the Kstars-devel mailing list