[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Oct 19 18:40:59 CEST 2004


CVS commit by staikos: 

pick up equation users in dependency check


  M +7 -0      kstequation.cpp   1.8
  M +2 -0      kstequation.h   1.4


--- kdeextragear-2/kst/kst/kstequation.cpp  #1.7:1.8
@@ -418,3 +420,8 @@ void KstEquation::_showDialog() {
 }
 
+
+bool KstEquation::uses(KstObjectPtr p) const {
+  return KstDataObject::uses(p) || VectorsUsed.contains(kst_cast<KstVector>(p));
+}
+
 // vim: ts=2 sw=2 et

--- kdeextragear-2/kst/kst/kstequation.h  #1.3:1.4
@@ -67,4 +67,6 @@ class KstEquation : public KstDataObject
     virtual QString yVTag() const { return (*_yVector)->tagName(); }
 
+    virtual bool uses(KstObjectPtr p) const;
+
   private:
     QString _equation;





More information about the Kst mailing list