On 26/01/2013 01:27 ص, Luis Valdés wrote:

Hi,
try textEdit->toPlainText();

This will erase all HTML format which I need!

On Jan 25, 2013 8:51 PM, "M. Bashir Al-Noimi" <[email protected]> wrote:
Hi guys,

I want to save the content of QTextEdit to the database through QSqlQuery... how can I do that?

Running textEdit->toHtml() won't work because the returned string has many illegal characters to execute into sql.

-- 
Best Regards
Muhammad Bashir Al-Noimi

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest



-- 
Best Regards
Muhammad Bashir Al-Noimi

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to