Header files (Re: A little review of kdecore & kdeui)

Cornelius Schumacher schumacher at kde.org
Sat Apr 8 23:59:56 BST 2006

On Saturday 08 April 2006 18:14, Guillaume Laurent wrote:
> On Saturday 08 April 2006 14:26, Cornelius Schumacher wrote:
> True, but the current rule with Qt is "the name of the include is the
> lowercased name of the class with a .h appended", which is pretty darn
> simple too, even though it does have a few exceptions (which I agree should
> be fixed). I'm not sure there's a lot to gain with this change.

The forwarding mechanism Qt4 introduced gets rid of all the exceptions without 
limiting the flexibility of developers to put more than one class declaration 
in a header file. That's pretty smart and effective, I would say, and it 
completely solves the problem.

Cornelius Schumacher <schumacher at kde.org>

More information about the kde-core-devel mailing list