diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-05-14 13:37:02 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-15 10:08:59 +0200 |
commit | 60d0b900d77cd2c13c465314e9af91341f76e854 (patch) | |
tree | 4e8fe8bf351b2904a022586da94caaa96a8e5926 /src/tools | |
parent | 9b121e5579538477a1fc7c8250e5d7e875a58de8 (diff) |
Force qdbusxml2cpp to use QStringLiteral rather than QLatin1String
Change-Id: I6db4c80a14466b51d73c2704e8fc2e2e8a8a6b02
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp index b4f9aedd7a..0df82cb4f5 100644 --- a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp +++ b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp @@ -705,9 +705,9 @@ static void writeProxy(const QString &filename, const QDBusIntrospection::Interf if (isNoReply) hs << " callWithArgumentList(QDBus::NoBlock, " - << "QLatin1String(\"" << method.name << "\"), argumentList);" << endl; + << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl; else - hs << " return asyncCallWithArgumentList(QLatin1String(\"" + hs << " return asyncCallWithArgumentList(QStringLiteral(\"" << method.name << "\"), argumentList);" << endl; // close the function: @@ -737,7 +737,7 @@ static void writeProxy(const QString &filename, const QDBusIntrospection::Interf } hs << " QDBusMessage reply = callWithArgumentList(QDBus::Block, " - << "QLatin1String(\"" << method.name << "\"), argumentList);" << endl; + << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl; argPos++; hs << " if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == " |