Bug 53195 - kpart application framework doesn't compile KFileDialog
Summary: kpart application framework doesn't compile KFileDialog
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 19:15 UTC by Jeffrey McGee
Modified: 2003-01-29 01:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

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