Em Segunda-feira 19 Outubro 2009, às 11:56:10, você escreveu:
> I'm not sure if this was introduced with 4.6, but it seems that
>  Qt::escape() is defined in qtextdocument.h instead of qtnamespace.h.

It's always been there, since Qt 4.0 at least.

> This brings in a dependency on QtGui even for QtCore-only applications,
>  which can be really annoying since HTML escaping is, IMHO, something that
>  should not depend on GUI classes.
> 
> Is there a chance that it will be moved to the qtnamespace.h, or at least
>  copied to there (thus making qtextdocument.h rely on that instead).

We can't move a function across library boundaries. We can introduce a similar 
function in QtCore only.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Development Frameworks
     Sandakerveien 116, NO-0402 Oslo, Norway

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to