KNewStuff3 vs. KNS3 vs. KNewStuff (was: Re: What are the plans with CamelCase includes?)

David Faure faure at kde.org
Mon Jan 13 08:40:57 UTC 2014


On Saturday 11 January 2014 02:42:20 Friedrich W. H. Kossebau wrote:
> There the used namespace does not match the module name:
> namespace is "KNS3", the module name "KNewStuff3".

That's not a problem, the KIOCore module uses namespace (and therefore prefix) 
KIO.

I just saw this mail, after my reply to reviewboard. It seems that I missed 
one thing: that the actual C++ namespace is KNS3.

Then there is indeed the option of making it KNS3/File and kns3/file.h, for 
more consistency (this time "with the C++ namespace"), at the cost of a 
greater SIC. But you could install knewstuff3/file.h forwarding headers for 
compatibility.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list