File indexing completed on 2024-05-05 05:41:39

0001 #include <QtCore/QString>
0002 #include <QtCore/QStringList>
0003 
0004 static QStringList list = { "foo" };
0005 
0006 void test()
0007 {
0008     QString s = "foo";
0009 }
0010 
0011 void testMultiPartStringLiterals()
0012 {
0013 
0014     QString s = "foo""bar";
0015     s += "foo""bár";
0016     s += "foo"
0017          "bar"
0018          "Test";
0019     s = QString::fromLatin1("foo" "bar");
0020     s += QString::fromLatin1("foo" "bar");
0021 }