[Kst] kdeextragear-2/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Sat Jun 14 01:20:47 CEST 2003


CVS commit by netterfield: 

minor cleanups:
  -remove commented out code
  -remove unused variable


  M +1 -2      kstlabel.cpp   1.9
  M +0 -1      kstlabel.h   1.6
  M +0 -2      kstplot.cpp   1.11
  M +2 -6      kstplot.h   1.12


--- kdeextragear-2/kst/kst/kstlabel.cpp  #1.8:1.9
@@ -39,5 +39,4 @@ KstLabel::KstLabel(const QString &in_tex
   Y = in_Y;
   Justify = in_j;
-  //ScalarList = *sl;
 
   FontName = "helvetica";
@@ -118,5 +117,5 @@ void KstLabel::draw(QPainter &p, int px,
                     bool doDraw) {
   int w,h;
-  int i,s;
+  int s;
   double x,y;
   double x0;

--- kdeextragear-2/kst/kst/kstlabel.h  #1.5:1.6
@@ -85,5 +85,4 @@ private:
   float Y;
 
-  KstScalarList ScalarList;
   KstScalarList ScalarsUsed;
 

--- kdeextragear-2/kst/kst/kstplot.cpp  #1.10:1.11
@@ -30,5 +30,4 @@
 
 KstPlot::KstPlot(const QString &in_tag,
-//                 KstScalarList *sl,
                  float width_in,
                  float height_in,
@@ -131,5 +130,4 @@ KstPlot::KstPlot(QDomElement &e, KstBase
 
 inline void KstPlot::commonConstructor(const QString &in_tag,
-//                                       KstScalarList *sl,
                                        float width_in,
                                        float height_in,

--- kdeextragear-2/kst/kst/kstplot.h  #1.11:1.12
@@ -45,5 +45,5 @@ class KstPlot {
 public:
 
-  KstPlot(const QString &in_tag, //KstScalarList *sl,
+  KstPlot(const QString &in_tag,
           float width = 1, float height = 1,
           float tlx = 0, float tly = 0,
@@ -53,6 +53,5 @@ public:
           double xmax=1, double ymax=1);
 
-  KstPlot(QDomElement &e, KstBaseCurveList &curveList//, KstScalarList *sl
-    );
+  KstPlot(QDomElement &e, KstBaseCurveList &curveList);
 
   ~KstPlot();
@@ -140,5 +139,4 @@ public:
 private:
   inline void commonConstructor(const QString &in_tag,
-//                                KstScalarList *sl,
                                 float width,
                                 float height,
@@ -196,6 +194,4 @@ private:
                 double max, double min, bool is_log);
   bool IsTied;
-
-//  KstScalarList *scalarList;
 
   QColor BackgroundColor;




More information about the Kst mailing list