hi,<br>I've been checking the project modification interface and there are some things that look a bit strange.<br><br>- why do we need the removeFileFromTarget when we have a removeFile? we can check if it is from an item using dynamic_cast<ProjectTargetItem*>(it->parent()).<br>
- why do we have addFileToTarget and addFile(toFolder)? and the target case has a ProjectFileItem as a parameter instead of a KUrl :S<br>- why do we add everything but targets that are created? because they're not in the FS? :S<br>
- why don't we just merge these methods that just pass the same and we pass a ProjectBaseItem as the parent?<br>- create target should change. We should tell the builddir if we want to create a lib target or an executable target. <br>
<br>night guys!<br>merry xmass everyone! bon nadal!<br><br>Aleix<br>