Bug 40509

Summary: Class wizard calculates wrong include directive for base classes with scope (e.g. KParts::MainWindow)
Product: [Applications] kdevelop Reporter: Bjoern Wolf <bjoern.wolf>
Component: Language Support: CPP (old)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bjoern Wolf 2002-04-08 19:35:45 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.1 (using KDE 3.0.0 )
Severity:          wishlist
Installed from:    Compiled From Sources
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

When using the KDevelop class wizard to create a class based in a different namespace like KParts::MainWindow it would be nice if it generated the includes like this: 

#include <kparts/mainwindow.h> 

instead of: 

#include <kparts::mainwindow.h> 

Thank you.
 


(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application KDE Version OS Compiler manually changed)
Comment 1 Alexander Dymo 2003-07-08 23:02:53 UTC
In KDevelop 3.0 there is a possibility to alter base class include string directly in "New class" 
wizard. Please upgrade.