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

Oliver Kellogg okellogg at users.sourceforge.net
Thu Feb 2 14:03:08 UTC 2006


SVN commit 505034 by okellogg:

setSecondaryId(): New. Required by Roseimport.

 M  +5 -1      umlobject.cpp  
 M  +8 -1      umlobject.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlobject.cpp #505033:505034
@@ -1,5 +1,5 @@
 /*
- *  copyright (C) 2002-2005
+ *  copyright (C) 2002-2006
  *  Umbrello UML Modeller Authors <uml-devel@ uml.sf.net>
  */
 
@@ -377,6 +377,10 @@
     return m_SecondaryId;
 }
 
+void UMLObject::setSecondaryId(QString id) {
+    m_SecondaryId = id;
+}
+
 void UMLObject::maybeSignalObjectCreated() {
     if (!m_bCreationWasSignalled &&
             m_BaseType != Uml::ot_Stereotype &&
--- trunk/KDE/kdesdk/umbrello/umbrello/umlobject.h #505033:505034
@@ -1,5 +1,5 @@
 /*
- *  copyright (C) 2002-2004
+ *  copyright (C) 2002-2006
  *  Umbrello UML Modeller Authors <uml-devel@ uml.sf.net>
  */
 
@@ -320,6 +320,13 @@
     QString getSecondaryId() const;
 
     /**
+     * Set the secondary ID.
+     * Currently only required by petalTree2Uml(); all other setting of the
+     * m_SecondaryID is internal to the UMLObject class hierarchy.
+     */
+    void setSecondaryId(QString id);
+
+    /**
      * Returns true if this object resides in an externalized folder.
      * CHECK: It is probably cleaner to move this to the UMLListViewItem.
      */




More information about the umbrello-devel mailing list