Bug 140848 - #include macro when subclassing .ui files does not keep the case of the chosen file name if different from the suggestion
Summary: #include macro when subclassing .ui files does not keep the case of the chose...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Unclassified
Component: general (show other bugs)
Version: 3.4.0
Platform: unspecified Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-29 19:43 UTC by Nico Kruber
Modified: 2007-01-29 19:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)