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

Ralf Habacker ralf.habacker at gmail.com
Tue Dec 13 12:09:13 UTC 2011


SVN commit 1268451 by habacker:

reduced differences between trunk and soc-umbrello branch

A related patch will be applied to trunk.

 MM +0 -16     boxwidget.cpp  


--- branches/work/soc-umbrello/umbrello/widgets/boxwidget.cpp #1268450:1268451
@@ -11,12 +11,6 @@
 // own header
 #include "boxwidget.h"
 
-#include <QtGui/QPainter>
-
-/**
- * Constructs a BoxWidget.
- * @param id The ID to assign (-1 will prompt a new ID.)
- */
 BoxWidget::BoxWidget(Uml::IDType id)
     : UMLWidget(0)
 {
@@ -26,16 +20,10 @@
     setZValue(-10);
 }
 
-/**
- * Destructor.
- */
 BoxWidget::~BoxWidget()
 {
 }
 
-/**
- * Draws a rectangle.
- */
 void BoxWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *o, QWidget *)
 {
     Q_UNUSED(o);
@@ -44,10 +32,6 @@
     painter->drawRect(rect());
 }
 
-/**
- * Saves the widget to the "boxwidget" XMI element.
- * @note For loading from XMI, the inherited parent method is used.
- */
 void BoxWidget::saveToXMI(QDomDocument& qDoc, QDomElement& qElement)
 {
     QDomElement boxElement = qDoc.createElement("boxwidget");




More information about the umbrello-devel mailing list