Translations:KDevelop4/Manual/Working with source code/102/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 05:00, 18 April 2018
Note how I have already started with the implementation. However, in many coding styles, the function shouldn't be implemented in the header file but rather in the corresponding .cpp file. To this end, locate the cursor on the name of the function and select Ctrl + Alt + S. This remove the code between curly braces from the header file (and replaces it by a semicolon as necessary to terminate the function declaration) and moves it into the source file:
or hit