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

Ralf Habacker ralf.habacker at gmail.com
Tue Dec 13 15:28:02 UTC 2011


SVN commit 1268565 by habacker:

reduced differences to trunk

 M  +9 -5      actorwidget.cpp  
 M  +1 -3      actorwidget.h  


--- branches/work/soc-umbrello/umbrello/widgets/actorwidget.cpp #1268564:1268565
@@ -1,4 +1,5 @@
 /***************************************************************************
+ *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *   the Free Software Foundation; either version 2 of the License, or     *
@@ -16,9 +17,6 @@
 #include "textitemgroup.h"
 #include "textitem.h"
 
-// qt includes
-#include <QtGui/QPainter>
-
 const QSizeF ActorWidget::MinimumSize = QSizeF(20, 40);
 
 /**
@@ -34,7 +32,9 @@
     setMargin(0);
 }
 
-/// Destructor
+/**
+ * Destructor.
+ */
 ActorWidget::~ActorWidget()
 {
 }
@@ -50,7 +50,11 @@
     painter->drawPath(m_actorPath);
 }
 
-/// Saves the widget to the "actorwidget" XMI element.
+/**
+ * Saves the widget to the "actorwidget" XMI element.
+ * Note: For loading from XMI, the inherited parent method is used.
+ */
+
 void ActorWidget::saveToXMI( QDomDocument & qDoc, QDomElement & qElement )
 {
     QDomElement actorElement = qDoc.createElement( "actorwidget" );
--- branches/work/soc-umbrello/umbrello/widgets/actorwidget.h #1268564:1268565
@@ -5,7 +5,7 @@
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  *                                                                         *
- *   copyright (C) 2002-2006                                               *
+ *   copyright (C) 2002-2011                                               *
  *   Umbrello UML Modeller Authors <uml-devel at uml.sf.net>                  *
  ***************************************************************************/
 
@@ -32,13 +32,11 @@
 class ActorWidget : public UMLWidget
 {
 public:
-
     ActorWidget(UMLActor *o);
     virtual ~ActorWidget();
 
     virtual void paint(QPainter *p, const QStyleOptionGraphicsItem *item, QWidget *w);
 
-    //Note: For loading from XMI, the inherited parent method is used.
     virtual void saveToXMI( QDomDocument & qDoc, QDomElement & qElement );
 
 protected:




More information about the umbrello-devel mailing list