[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Fri Jun 4 19:16:40 CEST 2004


CVS commit by arwalker: 

Reload a saved fit curve.


  M +5 -0      kstdoc.cpp   1.79


--- kdeextragear-2/kst/kst/kstdoc.cpp  #1.78:1.79
@@ -66,4 +66,5 @@
 #include "kstpsdcurve.h"
 #include "kstvcurve.h"
+#include "kstfitcurve.h"
 #include "kstvectordefaults.h"
 #include "kstviewwindow.h"
@@ -243,4 +244,8 @@ bool KstDoc::openDocument(const KURL &ur
         KstWriteLocker dowl(&KST::dataObjectList.lock());
         KST::dataObjectList.append(p);
+      } else if (e.tagName() == "fit") {
+        KstDataObjectPtr p = new KstFitCurve(e);
+        KstWriteLocker dowl(&KST::dataObjectList.lock());
+        KST::dataObjectList.append(p);
       } else if (e.tagName() == "equation") {
         KstDataObjectPtr p = new KstEquationCurve(e);





More information about the Kst mailing list