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

Andi Fischer andi.fischer at hispeed.ch
Tue Apr 10 21:02:26 UTC 2012


SVN commit 1288883 by fischer:

Differences to gsoc-branch reduced.

 M  +4 -5      activitywidget.cpp  
 M  +2 -3      activitywidget.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/activitywidget.cpp #1288882:1288883
@@ -108,9 +108,9 @@
 }
 
 /**
- * This method get the name of the preText attribute
+ * This method get the name of the preText attribute.
  */
-QString ActivityWidget::preconditionText()
+QString ActivityWidget::preconditionText() const
 {
     return m_preconditionText;
 }
@@ -126,9 +126,9 @@
 }
 
 /**
- * This method get the name of the postText attribute
+ * This method get the name of the postText attribute.
  */
-QString ActivityWidget::postconditionText()
+QString ActivityWidget::postconditionText() const
 {
     return m_postconditionText ;
 }
@@ -199,7 +199,6 @@
         break;
 
     case Final :
-
         UMLWidget::setPenFromSettings(p);
         p.setBrush( Qt::white );
         pen.setWidth( 2 );
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/activitywidget.h #1288882:1288883
@@ -58,14 +58,13 @@
     static bool isActivity( WorkToolBar::ToolBar_Buttons tbb,
                             ActivityType& resultType );
 
-    QString preconditionText();
+    QString preconditionText() const;
     void setPreconditionText(const QString&);
 
-    QString postconditionText();
+    QString postconditionText() const;
     void setPostconditionText(const QString&);
 
     virtual void showPropertiesDialog();
-
     virtual void paint(QPainter & p, int offsetX, int offsetY);
 
     virtual bool loadFromXMI( QDomElement & qElement );




More information about the umbrello-devel mailing list