Results 1 to 2 of 2

Thread: QString(tr("\documentclass"))

  1. #1
    Join Date
    Dec 2007
    Location
    Brazil
    Posts
    61
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QString(tr("\documentclass"))

    I wanted to take this text and put in the QString(tr("\documentclass")) a QLineEdit, but to error because of the "\". But I need it.
    Can anyone help me?

  2. #2
    Join Date
    Sep 2006
    Location
    Belgrade
    Posts
    28
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QString(tr("\documentclass"))

    Put a double backslash QString(tr("\\documentclass"))
    While you were hanging yourself on someone else's words
    Dying to believe in what you heard
    I was staring straight into the shining sun

  3. The following user says thank you to ivan.cukic for this useful post:

    jaca (12th May 2008)

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.