Updating name for an IDocumentation

Milian Wolff mail at milianw.de
Tue Dec 1 19:44:43 UTC 2009


Hey all, esp. Apol:

Since I  use a KHTML-Part to embed the remote PHP documentation, the user can 
freely click on links and the requested document gets loaded. Right now, as 
soon as a link gets clicked, I don't know what to use as name. I just leave it 
empty, which also means the lineedit on top stays empty.

I'd greatly prefer if I could set the name later on (i.e. once I know the 
<title> of the loaded document). Can I add some signal to the IDocumentation 
and make the controller listen to it. Didn't look into the code but imo it 
should kinda work out I think. Alternatively some method I can could call via 
ICore::self()->documentationController()->... would be OK for me as well, 
whatever you prefer.

-- 
Milian Wolff
mail at milianw.de
http://milianw.de




More information about the KDevelop-devel mailing list