Updating techbase wiki page according to KF5 policies

Alex Merry alex.merry at kde.org
Tue Dec 1 22:36:52 UTC 2015


On 2015-12-01 15:34, Martin Walch wrote:
> On Saturday, November 14, 2015 06:08:55 PM Alex Merry wrote:
>> On 2015-11-14 01:21, Martin Walch wrote:
>> > Alright, so I have created a stub at
>> >
>> > https://techbase.kde.org/Policies/Frameworks_Coding_Style
>> >
>> > ...
>> >
>> > Qt includes
>> > * For Qt #includes omit the module name and only use the class name.
>> 
>> These are all still applicable.
> 
> Does the same pattern apply to Frameworks includes?
> For example:
> 
> KFileItem instead of KIOCore/KFileItem
> and
> KIO/HostInfo instead of KIOCore/KIO/HostInfo
> 
> and of course not something like kfileitem.h or kio/hostinfo.h

Yes, although good luck trying to explain that, given the inconsistency 
between <KIO/HostInfo> and <KFileItem>. <KIOCore/KFileItem> is only 
possible by fluke, really, as a side effect of where we install the 
version headers.

Alex


More information about the Kde-frameworks-devel mailing list