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

Adam Treat treat at kde.org
Thu Jun 7 17:00:44 CEST 2007


SVN commit 672570 by treat:

* Move


 M  +0 -1      boxitem.cpp  
 M  +0 -1      ellipseitem.cpp  
 M  +0 -1      labelitem.cpp  
 M  +0 -1      lineitem.cpp  
 M  +0 -1      pictureitem.cpp  
 M  +0 -1      plotitem.cpp  
 M  +0 -1      svgitem.cpp  
 M  +1 -0      viewitem.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/boxitem.cpp #672569:672570
@@ -20,7 +20,6 @@
 
 BoxItem::BoxItem(View *parent)
     : ViewItem(parent) {
-  setFlags(ItemIsMovable | ItemIsSelectable | ItemIsFocusable);
 }
 
 
--- branches/work/kst/portto4/kst/src/libkstapp/ellipseitem.cpp #672569:672570
@@ -19,7 +19,6 @@
 
 EllipseItem::EllipseItem(View *parent)
   : ViewItem(parent) {
-  setFlags(ItemIsMovable | ItemIsSelectable | ItemIsFocusable);
 }
 
 
--- branches/work/kst/portto4/kst/src/libkstapp/labelitem.cpp #672569:672570
@@ -22,7 +22,6 @@
 
 LabelItem::LabelItem(View *parent, const QString& txt)
   : ViewItem(parent), _parsed(0), _text(txt) {
-  setFlags(ItemIsMovable | ItemIsSelectable | ItemIsFocusable);
 }
 
 
--- branches/work/kst/portto4/kst/src/libkstapp/lineitem.cpp #672569:672570
@@ -20,7 +20,6 @@
 
 LineItem::LineItem(View *parent)
   : ViewItem(parent) {
-  setFlags(ItemIsMovable | ItemIsSelectable | ItemIsFocusable);
 }
 
 
--- branches/work/kst/portto4/kst/src/libkstapp/pictureitem.cpp #672569:672570
@@ -20,7 +20,6 @@
 
 PictureItem::PictureItem(View *parent, const QImage &image)
   : ViewItem(parent), _image(QPixmap::fromImage(image)) {
-  setFlags(ItemIsMovable | ItemIsSelectable | ItemIsFocusable);
 }
 
 
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #672569:672570
@@ -19,7 +19,6 @@
 
 PlotItem::PlotItem(View *parent)
   : ViewItem(parent) {
-  setFlags(ItemIsMovable | ItemIsSelectable | ItemIsFocusable);
   setBrush(Qt::white);
 }
 
--- branches/work/kst/portto4/kst/src/libkstapp/svgitem.cpp #672569:672570
@@ -21,7 +21,6 @@
 SvgItem::SvgItem(View *parent, const QString &file)
   : ViewItem(parent), _svg(new QSvgRenderer(file)) {
   //FIXME need to set the element id??
-  setFlags(ItemIsMovable | ItemIsSelectable | ItemIsFocusable);
 }
 
 
--- branches/work/kst/portto4/kst/src/libkstapp/viewitem.cpp #672569:672570
@@ -20,6 +20,7 @@
 
 ViewItem::ViewItem(View *parent)
   : QObject(parent) {
+  setFlags(ItemIsMovable | ItemIsSelectable | ItemIsFocusable);
 #ifdef DEBUG_GEOMETRY
   QColor semiRed(QColor(255, 0, 0, 50));
   setPen(semiRed);


More information about the Kst mailing list