Bug 57583 - User settable member variable prefixes for code generation
Summary: User settable member variable prefixes for code generation
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.1.1
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: 2.30 (KDE releases 19.12)
Assignee: Umbrello Development Group
URL:
Keywords:
: 140836 (view as bug list)
Depends on: 413991
Blocks:
  Show dependency treegraph
 
Reported: 2003-04-22 22:39 UTC by Stevan White
Modified: 2019-11-23 13:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.29.80 (KDE Applications 19.11.80)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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