Bug 53195

Summary: kpart application framework doesn't compile KFileDialog
Product: [Applications] kdevelop Reporter: Jeffrey McGee <jeffreym>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jeffrey McGee 2003-01-20 19:15:09 UTC
Version:            (using KDE KDE 3.0.99)
Installed from:    Gentoo Packages
OS:          Linux

When you compile a new kpart application with gideon alpha 3, you get the following error message:
myapp.cpp: In member function `void KTilde::fileOpen()': 
* myapp.cpp:172: `KFileDialog' undeclared (first use this function) 
* myapp.cpp:172: (Each undeclared identifier is reported only once for each  
*  function it appears in.) 
* myapp.cpp:172: parse error before `::' token

It works fine if you add the following line to the list of header files in kdevelop/parts/appwizard/kpartapp/app.cpp:
#include <kfiledialog.h>
Comment 1 Jeffrey McGee 2003-01-20 19:18:06 UTC
oops.. The name for this bug was stupid. That was what I searched for. It should
have been "kpart application framework doesn't compile"
Comment 2 Harald Fernengel 2003-01-23 13:59:49 UTC
Fixed in CVS, thanks for reporting! 
Comment 3 Francisco Gimeno 2003-01-29 01:21:12 UTC
I had the same problem :]... with alpha3... Thx!