I second Bastian's concerns. As a writer of network/database services, this 
would be a problem.

Really though QTexDocument should be in QtCore, since there are no QWidget 
inputis or outputs, allowing for document creation my GUI-less services.







________________________________
From: Bastian Bense <[email protected]>
To: [email protected]
Sent: Mon, October 19, 2009 5:56:10 AM
Subject: [Qt4-preview-feedback] Qt::escape() defined in qtextdocument.h instead 
of "Qt::" namespace

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.


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

-- 
Best regards,
Bastian

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to