diff options
Diffstat (limited to 'doc/src/snippets/code/doc_src_unicode.qdoc')
-rw-r--r-- | doc/src/snippets/code/doc_src_unicode.qdoc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/src/snippets/code/doc_src_unicode.qdoc b/doc/src/snippets/code/doc_src_unicode.qdoc new file mode 100644 index 0000000..30a3710 --- /dev/null +++ b/doc/src/snippets/code/doc_src_unicode.qdoc @@ -0,0 +1,18 @@ +//! [0] +label->setText("Password:"); +//! [0] + + +//! [1] +label->setText(tr("Password:")); +//! [1] + + +//! [2] +QFile file(QString::fromLatin1("appicon.png")); +//! [2] + + +//! [3] +QFile file(QLatin1String("appicon.png")); +//! [3] |