#include <QFoo>

Frans Englich englich at kde.org
Thu Jul 27 22:55:41 BST 2006


On Thursday 27 July 2006 21:37, Thiago Macieira wrote:
> Allen Winter wrote:
> >Any reason why I shouldn't replace #include <qfoo.h> with #include
> > <QFoo> in kdelibs? (and everywhere in KDE4 source)?
>
> Just remember that headers must include the QtModule/ prefix, whatever
> form you choose for the second part (e.g., QtCore/qcorevent.h or
> QtCore/QEvent, not QEvent or qcorevent.h).

Although it only applies to installed headers. (Right?)

This must be enforced programatically(if we want it deployed consistently and 
relibably) otherwise it will be forgotten.

Perhaps something Krazy can do?


Cheers,

		Frans




More information about the kde-core-devel mailing list