Results 1 to 3 of 3

Thread: inverse of Qt::escape

  1. #1
    Join Date
    Nov 2008
    Posts
    21
    Thanked 1 Time in 1 Post

    Default inverse of Qt::escape

    Qt::escape(...) :

    Converts the plain text string plain to a HTML string with HTML metacharacters <, >, and & replaced by HTML entities.
    I need to convert a String containing HTM entities like &amp; / &gt; ... to a plain unicode text string.

    I could not find any information about that...

  2. #2
    Join Date
    Nov 2008
    Posts
    21
    Thanked 1 Time in 1 Post

    Default Re: inverse of Qt::escape

    maybe someone has an idea?

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: inverse of Qt::escape

    I don't know such a function in Qt, but it isn't that hard to write your function which do the conversion. (use QString::replace())

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.