Bug 81775

Summary: C++ member initializer list support in the class wizard
Product: [Applications] kdevelop Reporter: Steven T. Hatton <hattons>
Component: Language Support: CPP (old)Assignee: KDevelop Developers <kdevelop-devel>
Status: REOPENED ---    
Severity: wishlist CC: olivier.jg
Priority: VLO    
Version: 3.0.91   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Steven T. Hatton 2004-05-18 03:00:08 UTC
Version:           3.0.90-CVS (using KDE 3.2.2, SuSE)
Compiler:          gcc 3.3.2 home cooked
OS:                Linux (i686) release 2.4.21-215-default

It would be nice if the class wizard/browser supported manipulation of the member initialization list for the class.  For example when an attribute is added, it might be possible to specify a default value, or initializer based on a parameter of the constructor.  It, therefore, makes sense to provide a way to add the member attribute to the parameter lists of the constructor.  There would need to be some method of differentiating the name of the parameter from that of the member.  For example, I tend to use `attrib_' in the constructor's parameter list if the my attribute is called `attrib'.
Comment 1 Olivier.jg 2010-12-19 03:16:38 UTC
KDevelop 3 is unmaintained.
Comment 2 Milian Wolff 2010-12-19 20:16:00 UTC
might still be wanted for someone in kdev 4, reopening with vlo prio.