Em Segunda-feira 19 Outubro 2009, às 15:00:19, você escreveu:
> 2009/10/19 Thiago Macieira
>  <[email protected]<mailto:[email protected]>>
> 
> > 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.
> >
> > We can't move a function across library boundaries. We can introduce a
> >  similar function in QtCore only.
> 
> That's what I meant.
> 
> Maybe move the effective code to QtCore and (correct me if I'm wrong)
>  convert the function in QtGui to a wrapper that calls the code in QtCore,
>  since QtGui depends on QtCore, anyway. That way there won't be any
>  redundancy, at least code-wise and would remove the need to link against
>  QtGui.
> 
> I browsed through the code a little, and it seems that qprimitives_p.h also
>  mentions this issue and they re-implemented escape() (although a little
>  differently).

This is two releases in a row that I thought this function had been moved to 
QtCore now.

I thought we had done  that for 4.5. It's apparently never happened.

Would you care to send a Merge Request for Qt doing exactly what you 
described? Note that you can't use the Qt::escape name, so be creative when 
coming up with a new name.

-- 
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