[Development] Changing qreal to a float

Marc Mutz marc.mutz at kdab.com
Mon Feb 20 18:41:45 CET 2012


On Monday February 20 2012, you wrote:
> > Why not just use a typedef:
> >
> >   typedef QRectImpl<int> QRect;
> >   typedef QRectImpl<double> QRectD;
> >   typedef QRectImpl<float> QRectF;
>
> To keep it source compatible with code using  forward-declarations of
> QRectF etc. Not exactly a big issue, but no need to break it...

Good point :)

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions



More information about the Development mailing list