kdelibs coding style.

Jeremy Whiting jpwhiting at kde.org
Thu Oct 9 00:53:55 BST 2014


Hey all,

In updating some frameworks I took a look at the kdelibs coding style
(Is there a frameworks coding style, if not maybe it should be
created?) and especially the Qt Includes section seems a bit backwards
from what I see in actual code in frameworks.
https://techbase.kde.org/Policies/Kdelibs_Coding_Style#Qt_Includes it
suggests using QtCore/QString instead of QString for example but I've
not seen QtWidgets/QButton or similar in include statements in the
frameworks I've dealt with so far. Are we suggesting the opposite for
that section at least? Should we put together a Frameworks coding
policy (since kdelibs coding policy is what is documented there, but
frameworks aren't kdelibs) or update that page to what we suggest for
frameworks coding policy? I'm willing to do the wiki changes/make a
new page, just would like some feedback before I get started I guess.
Or if such a policy already exists, maybe we should link to it from
the Policies wiki page.

thanks,
Jeremy




More information about the kde-core-devel mailing list