[Uml-devel] KDE/kdesdk/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Dec 14 11:42:06 UTC 2005
SVN commit 488517 by okellogg:
apply commit 488516 from branches/KDE/3.5
M +1 -1 ChangeLog
M +1 -0 THANKS
M +1 -1 umbrello/classparser/cpptree2uml.cpp
M +3 -0 umbrello/import_utils.cpp
--- trunk/KDE/kdesdk/umbrello/ChangeLog #488516:488517
@@ -1,7 +1,7 @@
Version 1.5.1
* Bugs fixed / wishes implemented (see http://bugs.kde.org)
-109963 117791
+109963 117875 117791
Version 1.5
--- trunk/KDE/kdesdk/umbrello/THANKS #488516:488517
@@ -52,6 +52,7 @@
Dimitri Ognibene <ognibened @yahoo.it>
Carsten Pfeiffer <pfeiffer @kde.org>
Ivan Porres <iporres @abo.fi>
+Maciej Puzio <maciek @work.swmed.edu>
Ruediger Ranft <kdebugs @rranft1.mail.htwm.de>
John Ratke <jratke @comcast.net>
Daniel Richard G. <skunk @iskunk.org>
--- trunk/KDE/kdesdk/umbrello/umbrello/classparser/cpptree2uml.cpp #488516:488517
@@ -408,7 +408,7 @@
QString text = typeSpec->text();
kdDebug() << "CppTree2Uml::parseElaboratedTypeSpecifier: text is " << text << endl;
text.remove(QRegExp("^class\\s+"));
- UMLObject *o = Import_Utils::createUMLObject( Uml::ot_Class, text );
+ UMLObject *o = Import_Utils::createUMLObject(Uml::ot_Class, text, m_currentNamespace[m_nsCnt]);
flushTemplateParams( static_cast<UMLClassifier*>(o) );
}
--- trunk/KDE/kdesdk/umbrello/umbrello/import_utils.cpp #488516:488517
@@ -200,7 +200,10 @@
o = origType;
}
} else if (parentPkg && !bPutAtGlobalScope) {
+ if (o->getUMLPackage())
+ o->getUMLPackage()->removeObject(o);
o->setUMLPackage(parentPkg);
+ parentPkg->addObject(o);
}
QString strippedComment = formatComment(comment);
if (! strippedComment.isEmpty()) {
More information about the umbrello-devel
mailing list