add findUserDir

Andreas Pakulat apaku at gmx.de
Thu Jul 12 09:18:43 BST 2007


On 12.07.07 00:38:01, Nhuh Put wrote:
> Hello
> 
> I would also like to add a new function like this to kdecore:
> QString findUserDir(const char *wich);
> With arguments like "desktop", "documents", "appdata" (user specific
> application data, ~/.kde), "temp" and such things, probably to
> KStandardDirs.
> Such a function would be importatant for windows, where the names of those
> directories are localized. This would have also some advantages for unix
> systems.
> Is there a change of getting such a thing into KDE?

I think you need to explain more. KStandardDirs already has plenty of
functions to find user-specific directories for application data,
configuration files, temp files and so on. What exactly should this new
function return? Why is that needed? 

Andreas

-- 
Domestic happiness and faithful friends.




More information about the kde-core-devel mailing list