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

Adam Treat treat at kde.org
Wed Aug 1 15:52:36 CEST 2007


SVN commit 695159 by treat:

* Another rename and get ready to change to QGV subclass


 M  +2 -2      libkstapp.pro  
 M  +2 -2      plotitem.cpp  
 M  +2 -0      plotrenderitem.h  
 D             render2dcartesian.cpp  
 D             render2dcartesian.h  
 A             vectorcurverenderitem.cpp   render2dcartesian.cpp#695150 [License: GPL (v2+)]
 A             vectorcurverenderitem.h   render2dcartesian.h#695150 [License: GPL (v2+)]


--- branches/work/kst/portto4/kst/src/libkstapp/libkstapp.pro #695158:695159
@@ -41,7 +41,7 @@
     plotitem.cpp \
     plotrenderitem.cpp \
     qgetoptions.cpp \
-    render2dcartesian.cpp \
+    vectorcurverenderitem.cpp \
     sessionmodel.cpp \
     svgitem.cpp \
     tabwidget.cpp \
@@ -78,7 +78,7 @@
     plotitem.h \
     plotrenderitem.h \
     qgetoptions.h \
-    render2dcartesian.h \
+    vectorcurverenderitem.h \
     sessionmodel.h \
     svgitem.h \
     tabwidget.h \
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #695158:695159
@@ -20,7 +20,7 @@
 #include "kstvcurve.h"
 #include "kstdatacollection.h"
 #include "kstdataobjectcollection.h"
-#include "render2dcartesian.h"
+#include "vectorcurverenderitem.h"
 
 #include <QDebug>
 
@@ -41,7 +41,7 @@
   KstRelationList relationList;
   relationList.append(kst_cast<KstRelation>(renderTest));
 
-  Render2DCartesian *test = new Render2DCartesian("cartesiantest");
+  VectorCurveRenderItem *test = new VectorCurveRenderItem("cartesiantest");
   test->setRelationList(relationList);
 
   _renderers.append(test);
--- branches/work/kst/portto4/kst/src/libkstapp/plotrenderitem.h #695158:695159
@@ -40,6 +40,8 @@
     void setRelationList(const KstRelationList &relationList);
     KstRelationList relationList() const;
 
+    virtual void paint(QPainter *painter) = 0;
+
     virtual QList<QPainterPath> projectedPaths() = 0;
 
   protected:


More information about the Kst mailing list