[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Dec 31 10:16:08 UTC 2004
CVS commit by okellogg:
addAttribute(): type arg needs to be UMLObject for template types.
M +1 -1 class.cpp 1.54
M +1 -1 class.h 1.39
--- kdesdk/umbrello/umbrello/class.cpp #1.53:1.54
@@ -54,5 +54,5 @@ UMLAttribute* UMLClass::addAttribute(con
}
-UMLAttribute* UMLClass::addAttribute(const QString &name, UMLClassifier *type, Uml::Scope scope) {
+UMLAttribute* UMLClass::addAttribute(const QString &name, UMLObject *type, Uml::Scope scope) {
UMLAttribute *a = new UMLAttribute(this, name, Uml::id_None, scope);
if (type)
--- kdesdk/umbrello/umbrello/class.h #1.38:1.39
@@ -78,5 +78,5 @@ public:
UMLAttribute* addAttribute(const QString &name, Uml::IDType id = Uml::id_None);
- UMLAttribute* addAttribute(const QString &name, UMLClassifier *type, Uml::Scope scope);
+ UMLAttribute* addAttribute(const QString &name, UMLObject *type, Uml::Scope scope);
/**
More information about the umbrello-devel
mailing list