ProjectModel: should ProjectBaseItem::text() be equal to ::baseName() ?

Milian Wolff mail at milianw.de
Tue Dec 14 22:54:07 UTC 2010


Hey all,

I wonder whether the ProjectBaseItem api is good the way it is. I esp. wonder 
whether it should be allowed to setText().

Personally I think that this is nowhere used and that only setUrl() is used 
(or the CTor arguments for the name).

Furthermore there is already code (esp. in CMakeManager) that expects text() 
== baseName().

I've just added a caching baseName() for speedup 
(http://rpi.edu/~doriad/callgrind.tar.bz2) but wonder whether that is not 
maybe overkill. I'd like to remove it again and just reuse text() instead.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101214/15806d03/attachment.sig>


More information about the KDevelop-devel mailing list