Bug 383445

Summary: c++ methods are not imported if class is defined outside name space
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: importerAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.22.3 (KDE Applications 17.04.3)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 2.23.0 (KDE Applications 17.08.0)

Description Ralf Habacker 2017-08-13 08:26:11 UTC
Daniele E. Domenichelli reported the following bug: 

The problem is that the classes are generated, but the methods are not imported for example see the difference in the classes foo and bar generated by this:

---
namespace test {
class foo;

class bar
{
    bar();
};

} // namespace test

class test::foo
{
    test();
};
---
Comment 1 Ralf Habacker 2017-08-13 08:34:41 UTC
Git commit 3bf9ace74540cc73073674cb54c88976c0eb8705 by Ralf Habacker.
Committed on 13/08/2017 at 08:34.
Pushed by habacker into branch 'Applications/17.08'.

Fix 'c++ methods are not imported if class is defined outside name space'

FIXED-IN:2.23.0 (KDE Applications 17.08.0)

M  +4    -5    umbrello/codeimport/import_utils.cpp
M  +17   -3    umbrello/codeimport/kdevcppparser/cpptree2uml.cpp
M  +4    -5    umbrello/model_utils.cpp

https://commits.kde.org/umbrello/3bf9ace74540cc73073674cb54c88976c0eb8705