Translations:KDevelop5/Manual/Code generation with templates/33/en

From KDE UserBase Wiki
Revision as of 13:30, 21 March 2020 by FuzzyBot (talk | contribs) (Importing a new version from external source)

Clicking Next brings up a page where you can add members to a class. Depending on the selected template, these may appear in the new class as member variables, or the template may create properties with setters and getters for them. In a language where variable types have to be declared, such as C++, you have to specify both the type and the name of the member, such as int number or QString name. In other languages, you may leave out the type, but it is good practice to enter it anyway, because the selected template could still make some use of it.