Bug 77746

Summary: Changing name of a class will not be reflected in empty constructor names in generated cpp code
Product: [Applications] umbrello Reporter: Petri Hodju <phodju>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Petri Hodju 2004-03-16 11:12:47 UTC
Version:           1.2.1 (KDE 3.2.1) (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.3 
OS:          Linux

Create a new class in a class diagram. Name it foo. Generate code with empty constructors. Files foo.h and foo.cpp are generated where in the foo.h the constructor for class foo is correctly named as foo(). Double click the foo class in the class diagram and rename it to bar. Generate the code again. Files bar.h and bar.cpp are generated where in the bar.h the constructor for class bar is incorrectly foo().

-> Renaming the class after it's creation is not propagated to code generation of empty constructor's name.
Comment 1 Vincent Ricard 2006-09-09 22:02:38 UTC
I've not the bug with the svn version (revision: 582581) and kde 3.5.4.
Maybe the bug has been killed by a previous commit.
Comment 2 Oliver Kellogg 2006-09-10 08:54:54 UTC
Thanks for checking.