From e563ca1a7512a48e4d3e205ac8807d61c070d3f7 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 2 May 2012 16:32:26 +0200 Subject: Change remaining uses of {to,from}Ascii to {to,from}Latin1 [platformsupport] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: Ie1a4e5ceca21c31e7357f28b90abc9129b122104 Reviewed-by: Eskil Abrahamsen Blomfeldt Reviewed-by: Samuel Rødal --- examples/dialogs/classwizard/classwizard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/dialogs/classwizard/classwizard.cpp') diff --git a/examples/dialogs/classwizard/classwizard.cpp b/examples/dialogs/classwizard/classwizard.cpp index 211a76488dc..eeb1fab55b6 100644 --- a/examples/dialogs/classwizard/classwizard.cpp +++ b/examples/dialogs/classwizard/classwizard.cpp @@ -79,7 +79,7 @@ void ClassWizard::accept() if (field("comment").toBool()) { block += "/*\n"; - block += " " + header.toAscii() + "\n"; + block += " " + header.toLatin1() + "\n"; block += "*/\n"; block += "\n"; } @@ -141,11 +141,11 @@ void ClassWizard::accept() if (field("comment").toBool()) { block += "/*\n"; - block += " " + implementation.toAscii() + "\n"; + block += " " + implementation.toLatin1() + "\n"; block += "*/\n"; block += "\n"; } - block += "#include \"" + header.toAscii() + "\"\n"; + block += "#include \"" + header.toLatin1() + "\"\n"; block += "\n"; if (field("qobjectCtor").toBool()) { -- cgit v1.2.3