[Kstars-devel] kdeedu/kstars/kstars

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


CVS commit by pvicente: 

Added a couple of functions which show in the dmsBox the text: "Circumpolar" and "does not rise".
CCMAIL:kstars-devel at kde.org


  M +8 -0      dmsbox.cpp   1.25
  M +10 -0     dmsbox.h   1.12


--- kdeedu/kstars/kstars/dmsbox.cpp  #1.24:1.25
@@ -74,4 +74,12 @@ dms dmsBox::createDms ( bool deg, bool *
 }
 
+void dmsBox::showCircumpolar(void) {
+        setText(i18n("Circumpolar"));   
+}
+
+void dmsBox::showDoesNotRise(void) {
+        setText(i18n("Does not rise")); 
+}
+
 dmsBox::~dmsBox(){
 }

--- kdeedu/kstars/kstars/dmsbox.h  #1.11:1.12
@@ -123,4 +123,14 @@ public:
         void clearFields (void) { setDMS(""); }
 
+        /*
+        * Shows in the KLineEdit "Circumpolar"
+        */
+        void showCircumpolar();
+
+        /*
+        * Shows in the KLineEdit "Does not rise"
+        */
+        void showDoesNotRise();
+
 private:
 




More information about the Kstars-devel mailing list