aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppPingIq.cpp
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb.prv@gmx.de>2020-03-28 23:48:44 +0100
committerLNJ <lnj@kaidan.im>2020-03-29 00:03:43 +0100
commitecd3d0a1ce24750f725bbfd98330fc1498e327a5 (patch)
tree87ea55c304056837b9cf95c8fac58e3f4a77af62 /src/base/QXmppPingIq.cpp
parentefc82e3307ac28ca0eb9639274301e9cb350e257 (diff)
downloadqxmpp-ecd3d0a1ce24750f725bbfd98330fc1498e327a5.tar.gz
Expand QSL and QBL
So they don't leak into the public API
Diffstat (limited to 'src/base/QXmppPingIq.cpp')
-rw-r--r--src/base/QXmppPingIq.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/QXmppPingIq.cpp b/src/base/QXmppPingIq.cpp
index e788e619..f277aae6 100644
--- a/src/base/QXmppPingIq.cpp
+++ b/src/base/QXmppPingIq.cpp
@@ -34,14 +34,14 @@ QXmppPingIq::QXmppPingIq() : QXmppIq(QXmppIq::Get)
bool QXmppPingIq::isPingIq(const QDomElement &element)
{
- QDomElement pingElement = element.firstChildElement(QSL("ping"));
- return (element.attribute(QSL("type")) == QSL("get") &&
+ QDomElement pingElement = element.firstChildElement(QStringLiteral("ping"));
+ return (element.attribute(QStringLiteral("type")) == QStringLiteral("get") &&
pingElement.namespaceURI() == ns_ping);
}
void QXmppPingIq::toXmlElementFromChild(QXmlStreamWriter *writer) const
{
- writer->writeStartElement(QSL("ping"));
+ writer->writeStartElement(QStringLiteral("ping"));
writer->writeDefaultNamespace(ns_ping);
writer->writeEndElement();
}