diff options
Diffstat (limited to 'src/base/QXmppIq.h')
| -rw-r--r-- | src/base/QXmppIq.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/base/QXmppIq.h b/src/base/QXmppIq.h index 41e42af3..785bcc6c 100644 --- a/src/base/QXmppIq.h +++ b/src/base/QXmppIq.h @@ -33,6 +33,8 @@ // for an explanation. #include <QXmlStreamWriter> +class QXmppIqPrivate; + /// \brief The QXmppIq class is the base class for all IQs. /// /// \ingroup Stanzas @@ -50,6 +52,10 @@ public: }; QXmppIq(QXmppIq::Type type = QXmppIq::Get); + QXmppIq(const QXmppIq &other); + ~QXmppIq(); + + QXmppIq& operator=(const QXmppIq &other); QXmppIq::Type type() const; void setType(QXmppIq::Type); @@ -64,7 +70,7 @@ protected: /// \endcond private: - Type m_type; + QSharedDataPointer<QXmppIqPrivate> d; }; #endif // QXMPPIQ_H |
