[Uml-devel] KDE/kdesdk/umbrello/umbrello/widgets

Ralf Habacker ralf.habacker at gmail.com
Sun Feb 5 22:00:13 UTC 2012


SVN commit 1278240 by habacker:

Use uml scene related coordinate type.

 M  +6 -6      umlwidget.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/umlwidget.h #1278239:1278240
@@ -135,22 +135,22 @@
     /**
      * Gets the x-coordinate.
      */
-    int getX() const {
-        return (int)UMLSceneItem::x();
+    UMLSceneValue getX() const {
+        return x();
     }
 
     /**
      * Gets the y-coordinate.
      */
-    int getY() const {
-        return (int)UMLSceneItem::y();
+    UMLSceneValue getY() const {
+        return y();
     }
 
     /**
      * Gets the z-coordinate.
      */
-    int getZ() const {
-        return (int)UMLSceneItem::z();
+    UMLSceneValue getZ() const {
+        return z();
     }
 
     /**




More information about the umbrello-devel mailing list