[Qt-interest] Newline character in QLineEdit

Surya Kiran Gullapalli suryakiran.gullapalli at gmail.com
Wed Apr 6 08:08:22 CEST 2011


Hello all,
I'm trying to get user input in QLineEdit, User may type in newline
character as \n, but QLineEdit is returning the \n as a QString of 2
characters instead of one.

How to force QLineEdit to correctly return characters like \n, \t etc.

Thanks,
Surya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110406/15b1ffb8/attachment.html 


More information about the Qt-interest-old mailing list