[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Dec 31 10:20:04 UTC 2004
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);
/**
More information about the umbrello-devel
mailing list