[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Mon Sep 12 20:35:14 CEST 2005


SVN commit 460029 by staikos:

TRUE->true (C++ standard) and DoFoo->doFoo notation


 M  +1 -1      datawizard.ui.h  
 M  +1 -1      kst2dplot.cpp  
 M  +1 -1      kst2dplot.h  
 M  +1 -1      kstcsddialog_i.cpp  
 M  +1 -1      kstcurvedialog_i.cpp  
 M  +1 -1      ksteqdialog_i.cpp  
 M  +1 -1      ksthsdialog_i.cpp  
 M  +1 -1      kstimagedialog_i.cpp  
 M  +1 -1      kstplotdialog_i.cpp  
 M  +1 -1      kstpsddialog_i.cpp  
 M  +1 -1      main.cpp  


--- trunk/extragear/graphics/kst/kst/datawizard.ui.h #460028:460029
@@ -852,7 +852,7 @@
 	    ++pit;
 	    continue;
 	}
-	pp->GenerateDefaultLabels(xl, yl, tl);
+	pp->generateDefaultLabels(xl, yl, tl);
 	if (_legendsOn->isChecked()) {
 	    pp->Legend->setShowing(true);
 	    pp->Legend->setFront(true);
--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #460028:460029
@@ -2877,7 +2877,7 @@
 }
 
 
-void Kst2DPlot::GenerateDefaultLabels(bool xl, bool yl, bool tl) {
+void Kst2DPlot::generateDefaultLabels(bool xl, bool yl, bool tl) {
   QStringList xlabels, ylabels, toplabels;
   QString label, xlabel, ylabel, toplabel;
   int n_curves, i_curve, i_count;
--- trunk/extragear/graphics/kst/kst/kst2dplot.h #460028:460029
@@ -197,7 +197,7 @@
 
   KstBaseCurveList Curves;
 
-  void GenerateDefaultLabels(bool xl = TRUE, bool yl = TRUE, bool zl = TRUE);
+  void generateDefaultLabels(bool xl = true, bool yl = true, bool zl = true);
 
   /* kstview tells kstplot where to offset the plot to */
   void setPixRect(const QRect& RelPlotRegion, const QRect& RelWinRegion, const QRect& RelPlotAndAxisRegion);
--- trunk/extragear/graphics/kst/kst/kstcsddialog_i.cpp #460028:460029
@@ -241,7 +241,7 @@
         _curvePlacement->update();
         _curvePlacement->setCurrentPlot(plot->tagName());
         plot->addCurve(KstBaseCurvePtr(image));
-        plot->GenerateDefaultLabels();
+        plot->generateDefaultLabels();
       }
     }
   }
--- trunk/extragear/graphics/kst/kst/kstcurvedialog_i.cpp #460028:460029
@@ -334,7 +334,7 @@
           _curvePlacement->update();
           _curvePlacement->setCurrentPlot(plot->tagName());
           plot->addCurve(curve.data());
-          plot->GenerateDefaultLabels();
+          plot->generateDefaultLabels();
         }
       }
     }
--- trunk/extragear/graphics/kst/kst/ksteqdialog_i.cpp #460028:460029
@@ -229,7 +229,7 @@
         _curvePlacement->update();
         _curvePlacement->setCurrentPlot(plot->tagName());
         plot->addCurve(vc.data());
-        plot->GenerateDefaultLabels();
+        plot->generateDefaultLabels();
       }
     }
   }
--- trunk/extragear/graphics/kst/kst/ksthsdialog_i.cpp #460028:460029
@@ -268,7 +268,7 @@
         _curvePlacement->update();
         _curvePlacement->setCurrentPlot(plot->tagName());
         plot->addCurve(vc.data());
-        plot->GenerateDefaultLabels();
+        plot->generateDefaultLabels();
       }
     }
   }
--- trunk/extragear/graphics/kst/kst/kstimagedialog_i.cpp #460028:460029
@@ -534,7 +534,7 @@
         _curvePlacement->update();
         _curvePlacement->setCurrentPlot(plot->tagName());
         plot->addCurve(KstBaseCurvePtr(image));
-        plot->GenerateDefaultLabels();
+        plot->generateDefaultLabels();
       }
     }
   }
--- trunk/extragear/graphics/kst/kst/kstplotdialog_i.cpp #460028:460029
@@ -1097,7 +1097,7 @@
   KstViewObjectPtr obj = static_cast<KstViewWindow*>(c)->view()->findChild(Select->currentText());
   Kst2DPlotPtr plot = kst_cast<Kst2DPlot>(obj);
   if (plot) {
-    plot->GenerateDefaultLabels();
+    plot->generateDefaultLabels();
     update();
   }
 }
--- trunk/extragear/graphics/kst/kst/kstpsddialog_i.cpp #460028:460029
@@ -219,7 +219,7 @@
           _curvePlacement->update();
           _curvePlacement->setCurrentPlot(plot->tagName());
           plot->addCurve(vc.data());
-          plot->GenerateDefaultLabels();
+          plot->generateDefaultLabels();
         }
       }
     }
--- trunk/extragear/graphics/kst/kst/main.cpp #460028:460029
@@ -722,7 +722,7 @@
       kst->slotUpdateProgress( count, handled, creatingPlots );
       for (i_plot = 0; i_plot < in.n_plots; i_plot++) {
         plot = *plist.at(i_plot);
-        plot->GenerateDefaultLabels();
+        plot->generateDefaultLabels();
         if (plot->Curves.count() > 3 || in.dolegend) {
           plot->Legend->setShowing(true);
           plot->Legend->setFront(true);


More information about the Kst mailing list