removing module specifiers from includes

Boudewijn Rempt boud at valdyas.org
Tue Feb 7 08:13:16 GMT 2012


On Monday 06 February 2012 Feb, Jaroslaw Staniek wrote:
> On 6 February 2012 21:22, Cyrille Berger Skott <cberger at cberger.net> wrote:
> > No objections from me.
> >
> > On Monday 06 Feb 2012, Boudewijn Rempt wrote:
> >> Of course, this is only the first step, those files where do just #include
> >> <QtGui> will give us trouble when porting to Qt5, but there are only about
> >> a hundred cases of that...
> > Those includes are bad anyway... I wish Qt5 would do without them.
> 
> +1
> 
> /me dreams of global #include sanitizer, maybe even running as git hook...
> 
> 

Oh yes, and to be perfect, it should remove unneeded #includes and so on... In any case, 
I've also run a script to change all #include <qdialog.h> to #include <QDialog>...

-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl



More information about the calligra-devel mailing list