[Kstars-devel] kdeedu/kstars

Jason Harris kstars at 30doradus.org
Fri Oct 17 03:42:52 CEST 2003


CVS commit by harris: 

Homer says: "D'oh!"

+ Forgot to add the new DCOP function zoom(double factor) to kstarsinterface.h
+ the zoom(double) function needed a map()->forceUpdate() call.

Both fixed. :)

CCMAIL: kstars-devel at kde.org


  M +24 -5     kstars.kdevelop   1.8
  M +1 -0      kstars/kstarsdcop.cpp   1.19
  M +1 -0      kstars/kstarsinterface.h   1.8


--- kdeedu/kstars/kstars.kdevelop  #1.7:1.8
@@ -36,4 +36,7 @@
       <envvar value="1" name="WANT_AUTOMAKE_1_6" />
     </makeenvvars>
+    <run>
+      <directoryradio>executable</directoryradio>
+    </run>
   </kdevautoproject>
   <kdevfileview>
@@ -48,5 +51,6 @@
     <tree>
       <hidenonprojectfiles>false</hidenonprojectfiles>
-      <hidepatterns>*.o,*.lo,CVS</hidepatterns>
+      <hidepatterns></hidepatterns>
+      <showvcsfields>false</showvcsfields>
     </tree>
   </kdevfileview>
@@ -67,12 +71,27 @@
   <kdevcvs>
     <cvsoptions>-f</cvsoptions>
-    <commitoptions/>
-    <addoptions/>
-    <logoptions/>
+    <commitoptions></commitoptions>
+    <addoptions></addoptions>
+    <logoptions></logoptions>
     <updateoptions>-dP</updateoptions>
     <removeoptions>-f</removeoptions>
     <revertoptions>-C -d -P</revertoptions>
     <diffoptions>-u3 -p</diffoptions>
-    <rshoptions/>
+    <rshoptions></rshoptions>
   </kdevcvs>
+  <kdevcppsupport>
+    <codecompletion>
+      <includeGlobalFunctions>true</includeGlobalFunctions>
+      <includeTypes>true</includeTypes>
+      <includeEnums>true</includeEnums>
+      <includeTypedefs>false</includeTypedefs>
+      <automaticCodeCompletion>true</automaticCodeCompletion>
+      <automaticArgumentsHint>true</automaticArgumentsHint>
+      <automaticHeaderCompletion>true</automaticHeaderCompletion>
+      <codeCompletionDelay>250</codeCompletionDelay>
+      <argumentsHintDelay>400</argumentsHintDelay>
+      <headerCompletionDelay>250</headerCompletionDelay>
+    </codecompletion>
+    <references/>
+  </kdevcppsupport>
 </kdevelop>

--- kdeedu/kstars/kstars/kstarsdcop.cpp  #1.18:1.19
@@ -74,4 +74,5 @@ void KStars::zoom( double z ) {
         if ( z < MINZOOM ) z = MINZOOM;
         options()->ZoomFactor = z;
+        map()->forceUpdate();
 }
 

--- kdeedu/kstars/kstars/kstarsinterface.h  #1.7:1.8
@@ -35,4 +35,5 @@ class KStarsInterface : virtual public D
         k_dcop:
                 virtual ASYNC lookTowards( const QString direction ) = 0;
+                virtual ASYNC zoom( double f ) = 0;
                 virtual ASYNC zoomIn() = 0;
                 virtual ASYNC zoomOut() = 0;




More information about the Kstars-devel mailing list