diff options
Diffstat (limited to 'doc/src/snippets/code')
-rw-r--r-- | doc/src/snippets/code/src_corelib_tools_qbytearray.cpp | 8 | ||||
-rw-r--r-- | doc/src/snippets/code/src_gui_painting_qpainter.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/snippets/code/src_corelib_tools_qbytearray.cpp b/doc/src/snippets/code/src_corelib_tools_qbytearray.cpp index 566633f..08ca2f5 100644 --- a/doc/src/snippets/code/src_corelib_tools_qbytearray.cpp +++ b/doc/src/snippets/code/src_corelib_tools_qbytearray.cpp @@ -246,16 +246,16 @@ QByteArray z = x.mid(5); // z == "pineapples" //! [30] -QByteArray x("TROlltECH"); +QByteArray x("Qt by NOKIA"); QByteArray y = x.toLower(); -// y == "trolltech" +// y == "qt by nokia" //! [30] //! [31] -QByteArray x("TROlltECH"); +QByteArray x("Qt by NOKIA"); QByteArray y = x.toUpper(); -// y == "TROLLTECH" +// y == "QT BY NOKIA" //! [31] diff --git a/doc/src/snippets/code/src_gui_painting_qpainter.cpp b/doc/src/snippets/code/src_gui_painting_qpainter.cpp index 611daae..536473c 100644 --- a/doc/src/snippets/code/src_gui_painting_qpainter.cpp +++ b/doc/src/snippets/code/src_gui_painting_qpainter.cpp @@ -173,7 +173,7 @@ painter.drawPixmap(target, image, source); //! [17] QPainter painter(this); -painter.drawText(rect, Qt::AlignCenter, tr("Qt by\nTrolltech")); +painter.drawText(rect, Qt::AlignCenter, tr("Qt by\nNokia")); //! [17] |