Bug 56340

Summary: header templates are not taken into account
Product: [Applications] kdevelop Reporter: Holger Schröder <holger-kde>
Component: file createAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0.0a3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Holger Schröder 2003-03-24 20:10:05 UTC
Version:           cvs from 20030324 (using KDE KDE 3.1)
Installed from:    Gentoo Packages

Hi,

when i create a new kde project with the actual gideon from cvs from today, i can change the templates for the .cpp and .h files,
but when i create the source files, my template changes are not taken into account, but standard headers are used.

thanks, Holger
Comment 1 Alexander Dymo 2003-07-26 19:49:20 UTC
Subject: kdevelop/parts

CVS commit by dymo: 

Removed custom templates support from cppsupport configuration dialog. "New File Wizard" options dialog should be used instead. Modified new class and subclassing dialog to use only filecreate (aka "New File Wizard") templates.
A lot of usability enhancements to "New File Wizard" configuration. Global types can be now copied to project types, also types and templates can be opened in gideon by one click. 
Fixed template creation bug in "New File Wizard" that prevented to create a template in projectdir/templates.
I hope this fixes every problem related to code templates.
The order of preferences for template locations is
PROJECTDIR/templates
$HOME/.kde/share/apps/kdevfilecreate/file-templates/
$KDEDIR/share/apps/kdevfilecreate/file-templates/

CCMAIL: 56340-done@bugs.kde.org


  M +2 -70     cppsupport/ccconfigwidget.cpp   1.25
  M +0 -4      cppsupport/ccconfigwidget.h   1.9
  M +55 -789   cppsupport/ccconfigwidgetbase.ui   1.23
  M +16 -12    cppsupport/cppnewclassdlg.cpp   1.45
  M +5 -0      cppsupport/subclassingdlg.cpp   1.14
  M +312 -4    filecreate/fcconfigwidget.cpp   1.10
  M +18 -1     filecreate/fcconfigwidget.h   1.3
  M +146 -45   filecreate/fcconfigwidgetbase.ui   1.6
  M +53 -54    filecreate/fctemplateeditbase.ui   1.4
  M +63 -96    filecreate/fctypeeditbase.ui   1.7
  M +2 -2      filecreate/filecreate_newfile.cpp   1.10
  M +28 -2     filecreate/filecreate_part.cpp   1.35
  M +6 -0      filecreate/filecreate_part.h   1.12
  R            filecreate/fcconfigwidgetbase.ui.h   1.1