[Kst] branches/work/kst/portto4/kst/src/libkstapp

Adam Treat treat at kde.org
Wed Aug 1 15:38:26 CEST 2007


SVN commit 695150 by treat:

* rename


 M  +2 -2      libkstapp.pro  
 M  +3 -1      plotitem.cpp  
 M  +3 -2      plotitem.h  
 D             plotrenderer2d.cpp  
 D             plotrenderer2d.h  
 A             plotrendereritem.cpp   plotrenderer2d.cpp#694450 [License: GPL (v2+)]
 A             plotrendereritem.h   plotrenderer2d.h#694450 [License: GPL (v2+)]
 M  +1 -1      render2dcartesian.cpp  
 M  +2 -2      render2dcartesian.h  


--- branches/work/kst/portto4/kst/src/libkstapp/libkstapp.pro #695149:695150
@@ -39,7 +39,7 @@
     memorywidget.cpp \
     pictureitem.cpp \
     plotitem.cpp \
-    plotrenderer2d.cpp \
+    plotrenderitem.cpp \
     qgetoptions.cpp \
     render2dcartesian.cpp \
     sessionmodel.cpp \
@@ -76,7 +76,7 @@
     memorywidget.h \
     pictureitem.h \
     plotitem.h \
-    plotrenderer2d.h \
+    plotrenderitem.h \
     qgetoptions.h \
     render2dcartesian.h \
     sessionmodel.h \
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #695149:695150
@@ -14,6 +14,8 @@
 
 #include "plotitem.h"
 
+#include "plotrenderitem.h"
+
 #include "kstsvector.h"
 #include "kstvcurve.h"
 #include "kstdatacollection.h"
@@ -63,7 +65,7 @@
 
   painter->translate(rect().x(), rect().y());
 
-  foreach (PlotRenderer2D *renderer, _renderers) {
+  foreach (PlotRenderItem *renderer, _renderers) {
 
     renderer->setRange(painter->window()); //FIXME no idea if this is the idea...
 
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.h #695149:695150
@@ -19,10 +19,11 @@
 
 #include "viewitem.h"
 #include "kstrelation.h"
-#include "plotrenderer2d.h"
 
 namespace Kst {
 
+class PlotRenderItem;
+
 class PlotItem : public ViewItem
 {
   Q_OBJECT
@@ -32,7 +33,7 @@
     void paint(QPainter *painter);
 
   private:
-    QList<PlotRenderer2D*> _renderers;
+    QList<PlotRenderItem*> _renderers;
 };
 
 class KST_EXPORT CreatePlotCommand : public CreateCommand
--- branches/work/kst/portto4/kst/src/libkstapp/render2dcartesian.cpp #695149:695150
@@ -16,7 +16,7 @@
 namespace Kst {
 
 Render2DCartesian::Render2DCartesian(const QString &name)
-  : PlotRenderer2D(name) {
+  : PlotRenderItem(name) {
   setType(Cartesian);
 }
 
--- branches/work/kst/portto4/kst/src/libkstapp/render2dcartesian.h #695149:695150
@@ -12,11 +12,11 @@
 #ifndef RENDER2DCARTESIAN_H
 #define RENDER2DCARTESIAN_H
 
-#include "plotrenderer2d.h"
+#include "plotrenderitem.h"
 
 namespace Kst {
 
-class Render2DCartesian : public PlotRenderer2D {
+class Render2DCartesian : public PlotRenderItem {
   public:
     Render2DCartesian(const QString &name);
     virtual ~Render2DCartesian();


More information about the Kst mailing list