kio/kfile/krecentdirs.h

David Faure faure at kde.org
Mon Dec 13 10:00:44 GMT 2010


On Sunday 12 December 2010, Jaroslaw Staniek wrote:
> Hi,
> Any idea why isn't kio/kfile/krecentdirs.h installed?
> I think it's public header?

Indeed, seems like an oversight. Apparently it's the "directory" equivalent to 
kio/kfile/krecentdocument.h, which is installed.
Funny that it's the first time in 10 years that someone needs to use this class 
outside of kdelibs :-)

They both define a class with only static methods, so it should be turned into 
a namespace. No need to export an default constructor and destructor 
(implicitly). Please turn krecentdirs.h into a namespace before installing it.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).




More information about the kde-core-devel mailing list