aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppResultSet.cpp
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-01-08 08:26:46 +0000
committerLinus Jahn <lnj@kaidan.im>2022-01-15 14:04:15 +0100
commitfd11e024a6079be3e0bc62911b6e3070c7553224 (patch)
tree199a3d658bc1641259faffd588534788fadb05dd /src/base/QXmppResultSet.cpp
parentee1ea9091f128164f91d29d7a3598d792326c1a7 (diff)
downloadqxmpp-fd11e024a6079be3e0bc62911b6e3070c7553224.tar.gz
Run 'clang-format' on all files
Diffstat (limited to 'src/base/QXmppResultSet.cpp')
-rw-r--r--src/base/QXmppResultSet.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/base/QXmppResultSet.cpp b/src/base/QXmppResultSet.cpp
index f3b6f75d..d0e0fa2a 100644
--- a/src/base/QXmppResultSet.cpp
+++ b/src/base/QXmppResultSet.cpp
@@ -65,7 +65,7 @@ QString QXmppResultSetQuery::before() const
///
/// This is used for for paging backwards through results.
-void QXmppResultSetQuery::setBefore(const QString& before)
+void QXmppResultSetQuery::setBefore(const QString &before)
{
m_before = before;
}
@@ -83,7 +83,7 @@ QString QXmppResultSetQuery::after() const
///
/// This is used for for paging forwards through results.
-void QXmppResultSetQuery::setAfter(const QString& after)
+void QXmppResultSetQuery::setAfter(const QString &after)
{
m_after = after;
}
@@ -96,7 +96,7 @@ bool QXmppResultSetQuery::isNull() const
}
/// \cond
-void QXmppResultSetQuery::parse(const QDomElement& element)
+void QXmppResultSetQuery::parse(const QDomElement &element)
{
QDomElement setElement = (element.tagName() == QStringLiteral("set")) ? element : element.firstChildElement(QStringLiteral("set"));
if (setElement.namespaceURI() == ns_rsm) {
@@ -112,7 +112,7 @@ void QXmppResultSetQuery::parse(const QDomElement& element)
}
}
-void QXmppResultSetQuery::toXml(QXmlStreamWriter* writer) const
+void QXmppResultSetQuery::toXml(QXmlStreamWriter *writer) const
{
if (isNull())
return;
@@ -144,7 +144,7 @@ QString QXmppResultSetReply::first() const
/// Sets the UID of the first result in the page.
-void QXmppResultSetReply::setFirst(const QString& first)
+void QXmppResultSetReply::setFirst(const QString &first)
{
m_first = first;
}
@@ -158,7 +158,7 @@ QString QXmppResultSetReply::last() const
/// Sets the UID of the last result in the page.
-void QXmppResultSetReply::setLast(const QString& last)
+void QXmppResultSetReply::setLast(const QString &last)
{
m_last = last;
}
@@ -211,7 +211,7 @@ bool QXmppResultSetReply::isNull() const
}
/// \cond
-void QXmppResultSetReply::parse(const QDomElement& element)
+void QXmppResultSetReply::parse(const QDomElement &element)
{
QDomElement setElement = (element.tagName() == "set") ? element : element.firstChildElement("set");
if (setElement.namespaceURI() == ns_rsm) {
@@ -226,7 +226,7 @@ void QXmppResultSetReply::parse(const QDomElement& element)
}
}
-void QXmppResultSetReply::toXml(QXmlStreamWriter* writer) const
+void QXmppResultSetReply::toXml(QXmlStreamWriter *writer) const
{
if (isNull())
return;