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

Ralf Habacker ralf.habacker at gmail.com
Mon Jan 9 14:43:28 UTC 2012


SVN commit 1272756 by habacker:

added debug operator to class UMLScene; fixed wrapper typedefs

 M  +1 -0      CMakeLists.txt  
 A             umlscene.cpp   [License: GPL (v2+)]
 M  +4 -1      umlscene.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/CMakeLists.txt #1272755:1272756
@@ -466,6 +466,7 @@
     umlobject.cpp
     umlobjectlist.cpp
     umlrole.cpp
+    umlscene.cpp
     umlview.cpp
     umlviewcanvas.cpp
     umlviewimageexporter.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/umlscene.h #1272755:1272756
@@ -24,14 +24,17 @@
 {
 public:
     UMLScene(UMLFolder *parentFolder) : UMLView(parentFolder) {}
+    friend QDebug operator<<(QDebug out, const UMLScene *item);
 };
 
+QDebug operator<<(QDebug debug, UMLScene *item);
+
 /// uml related types - makes it easier to switch to QGraphicsScene types
 // base types
 typedef QPoint UMLScenePoint;
+typedef QRect UMLSceneRect;
 // event types
 typedef QKeyEvent UMLSceneKeyEvent;
-typedef QKeyEvent UMLSceneKeyEvent;
 typedef QHoverEvent UMLSceneHoverEvent;
 typedef QContextMenuEvent UMLSceneContextMenuEvent;
 //typedef QDragDropEvent UMLSceneDragDropEvent;




More information about the umbrello-devel mailing list