[Bug 75936] Only show classes of active target/dir in classtree

Jeroen Dierckx JeDi at linux.be
Thu Mar 25 16:56:03 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=75936      




------- Additional Comments From JeDi linux be  2004-03-25 16:57 -------
Hi,

I had a bit of a look at the ClassViewPart code, but I can't find the part where the tree is constructed.
You can easily check if a file is in the active dir (or its children), by checking if project()->activeDirectory() is a part of project->relativeProjectFile(fileName).

Then, you should only connect the signal emitted when the active directory is changed, to the refresh slot of the tree.

For the creator of this part, it should only be 5 minutes of work. It would be a VERY nice feature (at least for me...).

If no one has time to do it, I will figure this out myself (and maybe submit a patch?)

Thanks in advance!

Greetz,
JeDi




More information about the KDevelop-devel mailing list