diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-06-04 16:32:19 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-06-04 16:32:19 +0000 |
| commit | fa78a507c22f9c117f2fdd49cd2207d3ebe25e5d (patch) | |
| tree | 3e26209ed1dc78e963d2161d46c5f333c1ddd617 /source/QXmppStream.h | |
| parent | cfd31d99c1747d7757cdd507b88b2bf7da751aa9 (diff) | |
| download | qxmpp-fa78a507c22f9c117f2fdd49cd2207d3ebe25e5d.tar.gz | |
make QXmppStream independent from QXmppClient
Diffstat (limited to 'source/QXmppStream.h')
| -rw-r--r-- | source/QXmppStream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/QXmppStream.h b/source/QXmppStream.h index 87c7f376..c5c23cdf 100644 --- a/source/QXmppStream.h +++ b/source/QXmppStream.h @@ -61,7 +61,7 @@ class QXmppStream : public QObject Q_OBJECT public: - QXmppStream(QXmppClient* client); + QXmppStream(QObject *parent); ~QXmppStream(); void connect(); void acceptSubscriptionRequest(const QString& from, bool accept = true); @@ -93,6 +93,7 @@ signals: void error(QXmppClient::Error); void subscriptionRequestReceived(const QString& from); + void elementReceived(const QDomElement &element, bool &handled); void presenceReceived(const QXmppPresence&); void messageReceived(const QXmppMessage&); void iqReceived(const QXmppIq&); @@ -130,7 +131,6 @@ private slots: void pingTimeout(); private: - QXmppClient* m_client; // reverse pointer QXmppConfiguration m_config; ///< This object provides the configuration ///< required for connecting to the XMPP server. QXmppLogger* m_logger; |
