Updating techbase wiki page according to KF5 policies

Alex Merry alex.merry at kde.org
Wed Dec 2 19:14:15 UTC 2015


On 2015-12-02 08:09, David Faure wrote:
> On Tuesday 01 December 2015 22:36:52 Alex Merry wrote:
>> 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>
> 
> This is not inconsistent at all. The first one is about the class 
> KIO::HostInfo,
> the second one is about the class KFileItem.
> The header file is consistent with the class that it defines.

True, that's a reasonable way to explain it. I hadn't though of that 
(that's what happens when I write emails after I should be in bed).

Alex


More information about the Kde-frameworks-devel mailing list