[umbrello] [Bug 413519] New: C++ interface class is not generated with pure virtual methods

Carsten Behling bugzilla_noreply at kde.org
Sun Oct 27 14:17:28 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=413519

            Bug ID: 413519
           Summary: C++ interface class is not generated with pure virtual
                    methods
           Product: umbrello
           Version: 2.29.0 (KDE Applications 19.08.0)
          Platform: unspecified
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: exporter
          Assignee: umbrello-devel at kde.org
          Reporter: carsten.behling at gmail.com
  Target Milestone: ---

SUMMARY

Though <<interface>> stereotype is given

1. '= 0' declaration is not is not used
2. an implementation file *.cpp is created
3. 'virtual' and 'abstract' are optional though the class is an interface
istead of always 'abstract' and 'virtual'
4.  choice between 'private', 'protected' and 'public' is possible instead of
always 'public'

STEPS TO REPRODUCE
1. create an interface
2. add a method 'void test()'
3. generate code from the interface

OBSERVED RESULT

1. *.cpp file is generated
2. 'void test()' is not pure virtual and has an implementation
3. method options 'abstract' and 'virtual' are optional in the dialog
4. 'public', 'protected' and 'private' are selectable

EXPECTED RESULT

1. Only a header  is generated.
2. Only public pure virtual functions are available and no more options are
available.


SOFTWARE/OS VERSIONS
Windows: 2.29.0
macOS: -
Linux/KDE Plasma: -
(available in About System)
KDE Plasma Version: -
KDE Frameworks Version: - 
Qt Version: -

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list