Bug 140848

Summary: #include macro when subclassing .ui files does not keep the case of the chosen file name if different from the suggestion
Product: [Applications] kdevelop Reporter: Nico Kruber <nico.kruber>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nico Kruber 2007-01-29 19:43:38 UTC
Version:           3.4.0 (using KDE 3.5.6 "release 19.1" , openSUSE )
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.18.2-34-default

when using the subclassing wizard and changing the suggested filename in the case of the letters then the #include in the generated .cpp file still names the suggested name instead of the chosen name
Comment 1 Andreas Pakulat 2007-01-29 19:59:27 UTC
SVN commit 628322 by apaku:

Don't force the lower-case filename for the #include line
BUG:140848


 M  +1 -1      subclass_qt4_template.cpp  
 M  +1 -1      subclass_template.cpp  


--- branches/kdevelop/3.4/languages/cpp/subclassing_template/subclass_qt4_template.cpp #628321:628322
@@ -1,6 +1,6 @@
 
 
-#include "$NEWFILENAMELC$.h"
+#include "$NEWFILENAME$.h"
 
 $NEWCLASS$::$NEWCLASS$(QWidget* parent, Qt::WFlags fl)
 : $QTBASECLASS$( parent, fl ), Ui::$BASECLASS$()
--- branches/kdevelop/3.4/languages/cpp/subclassing_template/subclass_template.cpp #628321:628322
@@ -1,6 +1,6 @@
 
 
-#include "$NEWFILENAMELC$.h"
+#include "$NEWFILENAME$.h"
 
 $NEWCLASS$::$NEWCLASS$(QWidget* parent, const char* name$CAN_BE_MODAL_CPP1$, WFlags fl)
 : $BASECLASS$(parent,name$CAN_BE_MODAL_CPP2$,fl)