QXmpp: QXmppPingIq.h Source File

QXmpp Version: 1.14.4

Loading...
Searching...
No Matches
QXmppPingIq.h
1// SPDX-FileCopyrightText: 2010 Jeremy Lainé <jeremy.laine@m4x.org>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPPINGIQ_H
6#define QXMPPPINGIQ_H
7
8#include "QXmppIq.h"
9
10 class QXMPP_EXPORT QXmppPingIq : public QXmppIq
11{
12public:
13 QXmppPingIq();
14
16 static constexpr std::tuple PayloadXmlTag = { u"ping", QXmpp::Private::ns_ping };
17 [[deprecated("Use QXmpp::isIqElement()")]]
18 static bool isPingIq(const QDomElement &element);
19
20 void toXmlElementFromChild(QXmlStreamWriter *writer) const override;
22};
23
24#endif
QXmppIq::QXmppIq
QXmppIq(QXmppIq::Type type=QXmppIq::Get)
Definition QXmppIq.cpp:39