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

Andi Fischer andi.fischer at hispeed.ch
Wed Jan 11 18:52:22 UTC 2012


SVN commit 1273089 by fischer:

Some sync between branch and trunk.

 M  +14 -5     statewidget.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/statewidget.h #1273088:1273089
@@ -29,8 +29,8 @@
  * When the @ref UMLView instance that this class belongs to is destroyed,
  * it will be automatically deleted.
  *
- * The StateWidget class inherits from the @ref UMLWidget class which adds
- * most of the functionality to this class.
+ * The StateWidget class inherits from the @ref UMLWidget class
+ * which adds most of the functionality to this class.
  *
  * @short  A graphical version of a UML State.
  * @author Paul Hensgen <phensgen at techie.com>
@@ -44,9 +44,18 @@
     /// Enumeration that codes the different types of state.
     enum StateType
     {
-        Initial = 0,
+        Initial = 0,     // Pseudostate
         Normal,
-        End
+        End,
+        Fork,            // Pseudostate
+        Join,            // Pseudostate
+        Junction,        // Pseudostate
+        DeepHistory,     // Pseudostate
+        ShallowHistory,  // Pseudostate
+        Choice           // Pseudostate
+        //Terminate        // Pseudostate
+        //EntryPoint       // Pseudostate
+        //ExitPoint        // Pseudostate
     };
 
     explicit StateWidget(UMLScene * scene, StateType stateType = Normal, Uml::IDType id = Uml::id_None);
@@ -54,8 +63,8 @@
 
     void paint(QPainter & p, int offsetX, int offsetY);
 
+    virtual QString name() const;
     virtual void setName(const QString &strName);
-    virtual QString name() const;
 
     StateType stateType() const;
     void setStateType(StateType stateType);




More information about the umbrello-devel mailing list