Patch for a Project>New Class

Benoit Cerrina Benoit.cerrina at writeme.com
Sun Dec 5 20:03:52 GMT 1999


Hi,
I solved a series of bugs associated to the Project>New Class

The bug is the way the Project/New Class behaves when one tries to have the
files for the header in a subdirectory.
e.g.
choose new class
class name = toto
class header = Includes/toto.h
class implementation = Implementation/toto.cpp

in this configuration several bad things happened
    1st case          Includes and Implementation existed already:
                            the files are created in the right place but
they are badly registered in the project, the class
                            view is screwed,
                            the makefiles are screwed, the include statement
at the top of the cpp is screwed
   2nd case        Includes and/or Implementation does not exist:
                            one or both files will not be created but both
files will be badly registered.

you'll find a gzipped patch of the correction attached to this mail.

Bye
Benoit Cerrina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop-1.0beta4.1-newClass-patch.gz
Type: application/x-gzip
Size: 15226 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/19991205/40a28ba0/attachment.bin>


More information about the KDevelop mailing list