[Uml-devel] branches/work/soc-umbrello/umbrello

Andi Fischer andi.fischer at hispeed.ch
Wed Sep 26 23:05:15 UTC 2012


SVN commit 1317967 by fischer:

Some dead code removed.

 M  +0 -5      umlscene.cpp  
 M  +0 -3      umlscene.h  
 M  +0 -2      umlview.cpp  
 M  +0 -1      widgets/umlwidget.h  


--- branches/work/soc-umbrello/umbrello/umlscene.cpp #1317966:1317967
@@ -3616,11 +3616,6 @@
     m_isMouseMovingItems = status;
 }
 
-//:TODO:void UMLScene::drawBackground(QPainter *p, const QRectF &rect)
-//:TODO:{
-//:TODO:    QGraphicsScene::drawBackground(p, rect);
-//:TODO:}
-
 /**
  * Slot for signale sceneRectChanged.
  * Optimize the drawing of the layout grid.
--- branches/work/soc-umbrello/umbrello/umlscene.h #1317966:1317967
@@ -68,7 +68,6 @@
 typedef QPolygonF UMLScenePolygon;
 // event types
 #define UMLSceneMouseEvent QGraphicsSceneMouseEvent
-//typedef QGraphicsSceneKeyEvent UMLSceneKeyEvent;
 typedef QGraphicsSceneHoverEvent UMLSceneHoverEvent;
 typedef QGraphicsSceneContextMenuEvent UMLSceneContextMenuEvent;
 typedef QGraphicsSceneDragDropEvent UMLSceneDragDropEvent;
@@ -388,8 +387,6 @@
                                   UMLSceneValue& px, UMLSceneValue& py, UMLSceneValue& qx, UMLSceneValue& qy);
     void forceUpdateWidgetFontMetrics(QPainter *painter);
 
-//:TODO:    void drawBackground(QPainter *p, const UMLSceneRect& rect);
-
     int m_nCollaborationId;  ///< Used for creating unique name of collaboration messages.
     UMLScenePoint m_Pos;
     bool m_bCreateObject;
--- branches/work/soc-umbrello/umbrello/umlview.cpp #1317966:1317967
@@ -115,8 +115,6 @@
     umlScene()->resizeCanvasToItems();
 }
 
-
-
 /**
  * Handles when the mouse button is pressed.
  */
--- branches/work/soc-umbrello/umbrello/widgets/umlwidget.h #1317966:1317967
@@ -27,7 +27,6 @@
 class AssociationSpaceManager;
 class AssociationWidget;
 class WidgetHandle;
-class UMLWidgetController;
 class TextItemGroup;
 
 /**




More information about the umbrello-devel mailing list