[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Feb 2 14:30:42 UTC 2005
CVS commit by okellogg:
makeOperation(), insertMethod(): Parent is a UMLClassifier.
M +2 -2 classimport.cpp 1.71
M +3 -2 classimport.h 1.26
--- kdesdk/umbrello/umbrello/classimport.cpp #1.70:1.71
@@ -166,5 +166,5 @@ UMLObject *ClassImport::createUMLObject(
}
-UMLOperation* ClassImport::makeOperation(UMLClass *parent, const QString &name) {
+UMLOperation* ClassImport::makeOperation(UMLClassifier *parent, const QString &name) {
UMLOperation *op = new UMLOperation(parent, name);
return op;
@@ -202,5 +202,5 @@ UMLObject* ClassImport::insertAttribute(
}
-void ClassImport::insertMethod(UMLClass *klass, UMLOperation *op,
+void ClassImport::insertMethod(UMLClassifier *klass, UMLOperation *op,
Uml::Scope scope, QString type,
bool isStatic, bool isAbstract,
--- kdesdk/umbrello/umbrello/classimport.h #1.25:1.26
@@ -19,4 +19,5 @@ class UMLDoc;
class UMLObject;
class UMLClass;
+class UMLClassifier;
class UMLPackage;
class UMLOperation;
@@ -71,5 +72,5 @@ public:
* name.)
*/
- UMLOperation* makeOperation(UMLClass *parent, const QString &name);
+ UMLOperation* makeOperation(UMLClassifier *parent, const QString &name);
/**
@@ -78,5 +79,5 @@ public:
* prefixes in the `type'.
*/
- void insertMethod(UMLClass *klass, UMLOperation *op,
+ void insertMethod(UMLClassifier *klass, UMLOperation *op,
Uml::Scope scope, QString type,
bool isStatic, bool isAbstract,
More information about the umbrello-devel
mailing list