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

Andi Fischer andi.fischer at hispeed.ch
Fri Apr 6 13:40:14 UTC 2012


SVN commit 1288469 by fischer:

Differences to soc-branch reduced.

 M  +0 -1      umlcanvasobject.cpp  
 M  +0 -1      umllistviewitem.cpp  
 M  +0 -18     widgets/statewidget.cpp  
 M  +0 -3      widgets/statewidget.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlcanvasobject.cpp #1288468:1288469
@@ -13,7 +13,6 @@
 
 // local includes
 #include "debug_utils.h"
-#include "model_utils.h"
 #include "uml.h"
 #include "umldoc.h"
 #include "classifier.h"
--- trunk/KDE/kdesdk/umbrello/umbrello/umllistviewitem.cpp #1288468:1288469
@@ -64,7 +64,6 @@
     }
     setIcon(Icon_Utils::it_Home);
     setText(name);
-//    setRenameEnabled(0, false);
 }
 
 /**
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/statewidget.cpp #1288468:1288469
@@ -295,24 +295,6 @@
 }
 
 /**
- * Sets the name of the State.
- */
-void StateWidget::setName(const QString &strName)
-{
-    m_Text = strName;
-    updateComponentSize();
-    adjustAssocs( x(), y() );
-}
-
-/**
- * Returns the name of the State.
- */
-QString StateWidget::name() const
-{
-    return m_Text;
-}
-
-/**
  * Returns the type of state.
  * @return StateType
  */
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/statewidget.h #1288468:1288469
@@ -64,9 +64,6 @@
 
     void paint(QPainter & p, int offsetX, int offsetY);
 
-    virtual QString name() const;
-    virtual void setName(const QString &strName);
-
     StateType stateType() const;
     QString stateTypeStr() const;
     void setStateType(StateType stateType);




More information about the umbrello-devel mailing list