[Qt-interest] QString initialization with multiple strings/new line in one definition
Patric
userqt at gmail.com
Sun Aug 30 11:51:19 CEST 2009
Actually I'm asking only the second thing - about the new line.
Regards
----- Original Message -----
From: Patric
To: qt-interest at trolltech.com
Sent: Sunday, August 30, 2009 12:44 PM
Subject: QString initialization with multiple strings/new line in one definition
Hello,
I want to do something like this :
QString myString = "stringA" + "stringB" + "stringC"
just like in java.
Is there a way to do it without QString::append at every row ?
Also how to set a new line for a longer text, for example
QString longerText = "loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong" +
"text";
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090830/52eda547/attachment.html
More information about the Qt-interest-old
mailing list