[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesdk/umbrello/umbrello
From:       Oliver Kellogg <okellogg () users ! sourceforge ! net>
Date:       2004-12-31 18:18:59
Message-ID: 20041231181859.7A95A1B4A5 () office ! kde ! org
[Download RAW message or body]

CVS commit by okellogg: 

addTemplate(): Returning UMLTemplate is more useful.


  M +1 -1      classifier.cpp   1.64
  M +1 -1      classifier.h   1.46


--- kdesdk/umbrello/umbrello/classifier.cpp  #1.63:1.64
@@ -330,5 +330,5 @@ UMLClassifierListItemList UMLClassifier:
 }
 
-UMLObject* UMLClassifier::addTemplate(const QString &name, Uml::IDType id) {
+UMLTemplate* UMLClassifier::addTemplate(const QString &name, Uml::IDType id) {
         UMLTemplate* newTemplate = new UMLTemplate(this, name, id);
         m_List.append(newTemplate);

--- kdesdk/umbrello/umbrello/classifier.h  #1.45:1.46
@@ -159,5 +159,5 @@ public:
          * @return      Pointer to the UMLTemplate object created.
          */
-        UMLObject* addTemplate(const QString &name, Uml::IDType id = Uml::id_None);
+        UMLTemplate* addTemplate(const QString &name, Uml::IDType id = Uml::id_None);
 
         /**


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic