Autoproject part patch

Victor Röder victor_roeder at gmx.de
Thu Jan 9 10:29:02 UTC 2003


Hi,

>The attached patch makes the autoproject a bit smarter about adding files via 
>the addFiles() method (i.e. from outside of the part).
>
>If there's no active target, it looks at the path of the file being added, and 
>if there's only one target in that path, uses that target instead of bringing 
>up the dialog.
>
>I'd like to commit this as it makes my File Create part (just committed) and 
>PyQT framework more usable. Could someone familiar with the autoproject part 
>OK/not-OK this?
>  
>
One question:

1) Do you remember that the files you pass to addFiles() MUST be 
relative to the project directory? (Just for certainty :-)

Bye,
    Victor





More information about the KDevelop-devel mailing list