[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Aug 6 19:57:01 CEST 2004


CVS commit by staikos: 

fitlabel is unused now


  M +0 -13     kstfitcurve.cpp   1.11
  M +0 -4      kstfitcurve.h   1.7
  R            kstfitlabel.cpp   1.5
  R            kstfitlabel.h   1.4


--- kdeextragear-2/kst/kst/kstfitcurve.cpp  #1.10:1.11
@@ -29,5 +29,4 @@
 #include "kstdoc.h"
 #include "kstplugin.h"
-#include "kstfitlabel.h"
 #include "kstfitcurve.h"
 #include "kstfitdialog_i.h"
@@ -44,6 +43,4 @@ KstFitCurve::KstFitCurve(const QString &
   setLineStyle(0);
 
-  _pFitLabel = new KstFitLabel();
-
   commonConstructor(in_tag, in_color);
   VX = in_X;
@@ -59,6 +56,4 @@ KstFitCurve::KstFitCurve(QDomElement &e)
   QColor in_color(KstColorSequence::next());
 
-  _pFitLabel = new KstFitLabel();
-
   setHasPoints(false);
   setHasLines(true);
@@ -96,6 +91,4 @@ KstFitCurve::KstFitCurve(QDomElement &e)
         }
         KST::dataObjectList.lock().readUnlock();
-      } else if (e.tagName() == "fitlabel") {
-        _pFitLabel->read(e);
       }
     }
@@ -118,6 +111,4 @@ void KstFitCurve::commonConstructor(cons
 
 KstFitCurve::~KstFitCurve() {
-  delete _pFitLabel;
-  _pFitLabel = 0L;
 }
 
@@ -267,8 +258,4 @@ void KstFitCurve::save(QTextStream &ts) 
   }
 
-  ts << "  <fitlabel>" << endl;
-  _pFitLabel->save(ts);
-  ts << "  </fitlabel>" << endl;
-
   ts << " </fit>" << endl;
 }

--- kdeextragear-2/kst/kst/kstfitcurve.h  #1.6:1.7
@@ -23,5 +23,4 @@
 
 #include "kstbasecurve.h"
-#include "kstfitlabel.h"
 #include "kstplugin.h"
 #include "kstpoint.h"
@@ -49,6 +48,4 @@ public:
   KstPluginPtr plugin() const;
 
-  KstFitLabel* fitLabel() { return _pFitLabel; }
-  
   void setXVector(KstVectorPtr new_vx);
   void setYVector(KstVectorPtr new_vy);
@@ -84,5 +81,4 @@ private:
   KstVectorPtr VY;
   KstVectorPtr VW;
-  KstFitLabel* _pFitLabel;
   
   double _ns_maxx;





More information about the Kst mailing list