On Monday 20 February 2012 17:38:42 Thiago Macieira wrote:
> On segunda-feira, 20 de fevereiro de 2012 16.12.24, andre.poen...@nokia.com
> 
> wrote:
> > To keep it source compatible with code using  forward-declarations of
> > QRectF etc. Not exactly a big issue, but no need to break it...
> 
> To keep source compatibility with forward declarations, you need:
> 
> class QRect$SUFFIX: public QBasicRect<$TYPE>
> {
> #ifdef Q_COMPILER_INHERITING_CONSTRUCTORS
>     using QBasicRect<$TYPE>::QBasicRect;
> #else
>     /* insert here the constructors */
> #endif
> };

And add some constructor and functions such as
QRect QRectF::toRect()
QRectF::QRectF(const QRect)
explicit QRectF::QRectF(const QRectD)


_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to