Bug 57583

Summary: User settable member variable prefixes for code generation
Product: [Applications] umbrello Reporter: Stevan White <stevan_white>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: ralf.habacker, unifort
Priority: NOR    
Version: 1.1.1   
Target Milestone: 2.30 (KDE releases 19.12)   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 2.29.80 (KDE Applications 19.11.80)
Sentry Crash Report:
Bug Depends on: 413991    
Bug Blocks:    

Description Stevan White 2003-04-22 22:39:28 UTC
Version:           1.1.1 (using KDE KDE 3.1)
Installed from:    Mandrake RPMs

Currently, Umbrello translates an association named "Bla" to a member variable named "m_Bla".  This is OK, but I have my own system.

It would be nicer if all these prefixes were user-settable.
Comment 1 Oliver Kellogg 2007-02-17 09:53:33 UTC
*** Bug 140836 has been marked as a duplicate of this bug. ***
Comment 2 Ralf Habacker 2019-11-10 11:45:12 UTC
The 'm_' prefix seemed to be removed at some time on the past but not documented here.

With bug 413991 some options has been added to be more flexible in area.
Comment 3 Ralf Habacker 2019-11-10 16:25:46 UTC
Git commit 16d3306c41fcafa9617872090161a3233bcbdca2 by Ralf Habacker.
Committed on 10/11/2019 at 16:21.
Pushed by habacker into branch 'release/19.12'.

Add customizable class variable prefix for c++ code generation
FIXED-IN:2.29.90 (KDE Applications 19.11.90)

M  +22   -0    umbrello/codegenerators/cpp/cppcodegenerationform.cpp
M  +2    -0    umbrello/codegenerators/cpp/cppcodegenerationform.h
M  +29   -5    umbrello/codegenerators/cpp/cppcodegenerationformbase.ui
M  +15   -0    umbrello/codegenerators/cpp/cppcodegenerationpolicy.cpp
M  +3    -0    umbrello/codegenerators/cpp/cppcodegenerationpolicy.h
M  +3    -0    umbrello/codegenerators/cpp/cppcodegenerationpolicypage.cpp
M  +2    -1    umbrello/codegenerators/cpp/cppheadercodeaccessormethod.cpp
M  +23   -11   umbrello/codegenerators/cpp/cppwriter.cpp
M  +1    -0    umbrello/codegenerators/cpp/cppwriter.h
M  +2    -0    umbrello/optionstate.cpp
M  +1    -0    umbrello/optionstate.h
M  +5    -0    umbrello/umbrello.kcfg

https://commits.kde.org/umbrello/16d3306c41fcafa9617872090161a3233bcbdca2